[CPMD-list] compilation troubles

Laura Orian laura.orian at unipd.it
Wed Jan 7 18:23:03 CET 2004


Hello
I am trying to compile the CPMD-3.7.2 code in my RH 9.0 Linux machine 
with Intel Fortran Compliler and Intel Math libraries, but at the end I 
get this message:

dp.o mm_detsp.o mm_init.o mm_dim.o mm_qmmm_forcedr.o mm_mdmain.o 
mm_coninp.o mm_cpmd_add_MM_forces_f77.o mm_cpmd_esp_charges_f77.o 
mm_cpmd_ext_pot_f77.o vdwin.o vdw.o  sysdepend.o shmemory.o 
-L/opt/intel/mkl61/lib/32/ -lmkl_lapack -lmkl_p4 -lguide -lpthread -Vaxlib
ifc: warning: The Intel Fortran driver is now named ifort.  You can 
suppress this message with '-quiet'
envir.o(.text+0x3f): In function `envir_':
: undefined reference to `hostnm__'
envir.o(.text+0x4e): In function `envir_':
: undefined reference to `getcwd__'
envir.o(.text+0x56): In function `envir_':
: undefined reference to `getpid__'
envir.o(.text+0x60): In function `envir_':
: undefined reference to `getuid__'
make: *** [cpmd.x] Error 1

What's wrong?

Thank you
Laura

The  Makefile is
SHELL = /bin/sh
#
#--------------- Default Configuration for PC-IFC ---------------
SRC  = .
DEST = .
BIN  = .
#QMMM_FLAGS = -D__QMECHCOUPL
#QMMM_LIBS  = -L. -lmm
FFLAGS = -c -w -r8 -w90 -w95 -O3 -pc64 -axM -ip -tpp7
LFLAGS = -L/opt/intel/mkl61/lib/32/ -lmkl_lapack -lmkl_p4 \
                -lguide -lpthread -Vaxlib
CFLAGS = -c -O2 -Wall
CPP = /lib/cpp -P -C -traditional
CPPFLAGS = -D__Linux -D__PGI -DLAPACK -DFFT_DEFAULT -DLINUX_IFC
NOOPT_FLAG =
CC = gcc
FC = /opt/intel_fc_80/bin/ifc -i_dynamic
LD = /opt/intel_fc_80/bin/ifc -i_dynamic
AR =



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cpmd.org/pipermail/cpmd-list/attachments/20040107/7caf4052/attachment.html 


More information about the CPMD-list mailing list