[CPMD-list] Compiling using IFC and MKL

yinghui lei leiyinghui1977 at yahoo.com.cn
Thu Aug 25 08:02:04 CEST 2005


Dear all , i have tried CPMD code on pentium4 using
IFC compiler(8.2) and MKL library. i have some errors

......
reference to `_MKL_SERV_lsame'
/net/mkl/users/sv/721/052/lapack/kernel/source/zunm2l.f:(.text+0x6f):
undefined reference to `_MKL_SERV_lsame'
/net/mkl/users/sv/721/052/lapack/kernel/source/zunm2l.f:(.text+0xab):
undefined reference to `_MKL_SERV_lsame'
/opt/intel/mkl721/lib/32/libmkl_lapack.a(zunm2r.o): In
function `_MKL_LAPACK_zunm2r':
/net/mkl/users/sv/721/052/lapack/kernel/source/zunm2r.f:(.text+0x3c):
undefined reference to `_MKL_SERV_lsame'
/opt/intel/mkl721/lib/32/libmkl_lapack.a(zunm2r.o):/net/mkl/users/sv/721/052/lapack/kernel/source/zunm2r.f:(.text+0x53):
more undefined references to `_MKL_SERV_lsame' follow
/usr/lib/libpthread.a(ptw-write.o): In function
`write':
<stdin>:(.text+0x25): undefined reference to
`__syscall_error'
<stdin>:(.text+0x55): undefined reference to
`__syscall_error'
/usr/lib/libpthread.a(ptw-read.o): In function `read':
<stdin>:(.text+0x25): undefined reference to
`__syscall_error'
<stdin>:(.text+0x55): undefined reference to
`__syscall_error'
/usr/lib/libpthread.a(ptw-close.o): In function
`close':
<stdin>:(.text+0x1f): undefined reference to
`__syscall_error'
/usr/lib/libpthread.a(ptw-close.o):<stdin>:(.text+0x4a):
more undefined references to `__syscall_error' follow
make: *** [cpmd.x] ´íÎó 1


My Makefile is:
#----------------------------------------------------------------------------
# Makefile for cpmd.x (plane wave electronic
calculation)
# Configuration: PC-IFC
# Creation of Makefile:  8ÔÂ 23 2005
# on Linux tiger 2.6.8-1-386 #1 Thu Nov 11 12:18:43
EST 2004 i686 GNU/Linux
# Author:
#----------------------------------------------------------------------------
#
SHELL = /bin/sh
#
#--------------- Default Configuration for PC-IFC
---------------
SRC  = .
DEST = .
BIN  = .
#QMMM_FLAGS = -D__QMECHCOUPL
#QMMM_LIBS  = -L. -lmm
FFLAGS = -pc64 -unroll -w90 -w95 -c -r8 -tpp7 -cm
-tune pn4 -arch pn4
LFLAGS = /opt/intel/mkl721/lib/32/libmkl_lapack.a \
         /opt/intel/mkl721/lib/32/libatlas_x86_64.a \
         /opt/intel/mkl721/lib/32/libatlas_p4.a \
         -i-static -static-libcxa -Bstatic -lsvml \
         -Vaxlib -lguide -Xlinker  -lpthread
#        $(QMMM_LIBS)
FFLAGS_GROMOS=
IRAT=2
CFLAGS = -c -O2 -Wall
CPP = /lib/cpp -P -C -traditional
CPPFLAGS = -D__Linux -D__PGI -DLAPACK -DFFT_DEFAULT
-DLINUX_IFC \
              -DADD_BLAS_ONE_UNDERSCORE

CC = gcc -O2 -Wall
FC = ifc -c -O3 -tp p6 -aixM
LD = ifc -O3 -tp p6 -axiM
AR =
#----------------------------------------------------------------------------
CFGDEST = .
CFGMACH = PC-IFC
#
#  LIST OF FILES
#
OBJECTS = $(OBJ_AL) $(OBJ_WF) $(OBJ_GM) $(OBJ_MD)
$(OBJ_KS) \
......

may be anybody know where is wrong
any info is acknowledged

best regards
Yongping ZENG





	

	
		
___________________________________________________________ 
ÑÅ»¢Ãâ·ÑGÓÊÏ䣭ÖйúµÚÒ»¾øÎÞÀ¬»øÓʼþɧÈų¬´óÓÊÏä 
http://cn.mail.yahoo.com




More information about the CPMD-list mailing list