[CPMD-list] Compilation on HP
Sergey Lisenkov
proffess2 at yahoo.com
Thu Nov 4 15:29:09 CET 2004
Dear CPMD authors and users,
I tried to compile CPMD code on HP machine in 32-bit
mode. I succesfully
compiled the code in 64-bit mode, in 32-bit mode I got
an error:
....
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object
file (timetag.o) was
detected. The linked output may not run on a PA 1.
x system.
/usr/ccs/bin/ld: Unsatisfied symbols:
derf (code)
azzero (code)
timec (code)
timef (code)
derfc (code)
memme (code)
zazzero (code)
*** Error exit code 1
My Makefile is:
#----------------------------------------------------------------------------
# Makefile for cpmd.x (plane wave electronic
calculation)
# Configuration: HPUX_PA20-MPI
# Creation of Makefile: Nov 2 2004
# on HP-UX dark B.11.11 U 9000/800 1458144849
unlimited-user license
# Author: proffess
#----------------------------------------------------------------------------
#
SHELL = /bin/sh
#
#--------------- Default Configuration for
HPUX_PA20-MPI ---------------
SRC = .
DEST = .
BIN = .
#QMMM_FLAGS = -D__QMECHCOUPL
#QMMM_LIBS = -L. -lmm
FFLAGS = +O3 +Odataprefetch +Onolimit +DA2.0 +DS2.0
+U77 +Onoopenmp \
+externals=equiv_file -I/opt/mpi/include
LFLAGS = +O3 +U77 +DA2.0 +DS2.0 +Onoopenmp \
-L/opt/mpi/lib/pa2.0/ -lmpi \
-L/opt/mlib/lib/pa2.0/ -llapack -lveclib
-llapack -lm
$(QMMM_LIBS)
CFLAGS = -D__HP +DA2.0 +DS2.0 +O2 +Odataprefetch
+Onolimit
CPP = /usr/ccs/lbin/cpp
CPPFLAGS = -D__HP -DFFT_DEFAULT -DLAPACK
-DPARALLEL=parallel \
-DMP_LIBRARY=__MPI
NOOPT_FLAG =
CC = cc +DA2.0 +DD32
FC = f90 -c +DA2.0
LD = f90 +DA2.0
AR = /usr/bin/ar -r
#----------------------------------------------------------------------------
Any hints?
Thank you very much,
Best wishes,
Sergey
__________________________________
Do you Yahoo!?
Check out the new Yahoo! Front Page.
www.yahoo.com
More information about the CPMD-list
mailing list