[CPMD-list] Problems with linking CPMD3.7.2 using IFC7.1
Sun Yuming
symsun at hotmail.com
Thu Aug 28 04:48:44 CEST 2003
Dear all,
I am trying to install the cpmd3.7.2 using ifc7.1 on a Dell PE2650 server
running RH9.0. To solve the "undefined reference to ctype_b" error, the
libc-2.2.93 was used. Below are errors reported during linking:
/lib/libpthread.so.0(*IND*+0x0): multiple definition of
`pthread_cond_signal'
/lib/libpthread.so.0(*IND*+0x0): multiple definition of
`pthread_cond_broadcast'
/lib/libpthread.so.0(.text+0xdd0): In function
`pthread_cond_wait at GLIBC_2.0':
: multiple definition of `pthread_cond_wait at GLIBC_2.0'
/lib/libpthread.so.0(.text+0xd90): In function
`pthread_cond_init at GLIBC_2.0':
: multiple definition of `pthread_cond_init at GLIBC_2.0'
/lib/libpthread.so.0(*IND*+0x0): multiple definition of
`pthread_cond_destroy'
/lib/libpthread.so.0: undefined reference to
`__libc_pthread_init at GLIBC_PRIVATE'
/lib/libpthread.so.0: undefined reference to
`__libc_allocate_rtsig_private at GLIBC_PRIVATE'
/lib/libpthread.so.0: undefined reference to
`__libc_thread_freeres at GLIBC_PRIVATE'
/lib/libpthread.so.0: undefined reference to
`__register_atfork at GLIBC_2.3.2'
/lib/libpthread.so.0: undefined reference to
`__libc_current_sigrtmin_private at GLIBC_PRIVATE'
/lib/libpthread.so.0: undefined reference to
`__libc_current_sigrtmax_private at GLIBC_PRIVATE'
Part of my makefile is
SHELL = /bin/sh
#
#--------------- Default Configuration for PC-IFC-MPI ---------------
SRC = .
DEST = .
BIN = .
#QMMM_FLAGS = -D__QMECHCOUPL
#QMMM_LIBS = -L. -lmm
FFLAGS = -c -w90 -w95 -O3 -axM -ip -tpp7
LFLAGS = -L/opt/intel/mkl60/lib/32 -lmkl_lapack -lmkl_ia32 -lguide
-lpthread \
-L/usr/local/mpi-ifc/ch_p4/lib -lmpich -Vaxlib $(QMMM_LIBS)
CFLAGS = -c -O2 -Wall
CPP = /lib/cpp -P -C -traditional
CPPFLAGS = -D_MKL60 -D__Linux -D__PGI -DLAPACK -DFFT_DEFAULT \
-DPARALLEL -DMP_LIBRARY=__MPI -DMYRINET -DLINUX_IFC
NOOPT_FLAG =
CC = icc
FC = ifc
LD = ifc
AR =
Any suggestion would be appreciated.
Thanks in advance
Sun Yuming
_________________________________________________________________
ÓëÁª»úµÄÅóÓѽøÐн»Á÷£¬ÇëʹÓà MSN Messenger: http://messenger.msn.com/cn
More information about the CPMD-list
mailing list