[CPMD-list] Compiling cpmd.x for CPMD-3.11.1
Amos Leffler
amosleffler at sbcglobal.net
Tue Apr 29 00:23:35 CET 2008
Dear Users,
I have run into a problem compiling 3.11.1 as detailed in the file below. This is likely a syntax problem but if it isn't correct nothing happens.
Help would be appreciated. Thanks.
Amos Leffler
Below is given the input portion of the Makefile INTEL-XEON64 that was adapted from the correspondingAMD file and the changes that Alex suggested in his messages to Vladimir Stegailov and Oksana Ismailova.I am using openSuSE 10.2 and XEON Quadcore 5335 2.0 GHz. SHELL = /bin/sh##--------------- Default Configuration for INTEL-XEON64 ---------------SRC = .DEST = .BIN = .#FFLAGS = -c -r8 -w95 -O2 -pc64 -tpp7 -unroll -cm -tune pn4 -arch pn4FFLAGS = -O2 -unroll -pc64 -march=pentium4 -mtune=core2 LFLAGS = -L/opt/intel/mkl/10.0.1.014/lib/em64t -lmkl_intel_lp64 -lmkl_sequential -lmkl_core CFLAGS = -c -O2 -Wall -m64CPP = /lib/cpp -P -C -traditionalCPPFLAGS = -D__Linux -D__PGI -DLAPACK -DFFT_DEFAULT -DLINUX_IFC NOOPT_FLAG = CC = gccFC = /opt/intel/fce/10.1.012/bin/ifort LD = /opt/intel/fce/10.1.012/bin/ifort -i-staticAR = ar--------------------output---------------------------------------------------------------------------------]2;amos at leffler2:...CPMD-3.11.1/SOURCE]1;leffler2amos at leffler2:~/Desktop/CPMD-3.11.1/SOURCE> make cpmd.xMakefile:3497: warning: overriding commands for target `znum_mat.o'Makefile:324: warning: ignoring old commands for target `znum_mat.o'rm -f timetag.f/lib/cpp -P -C -traditional -D__Linux -D__PGI -DLAPACK -DFFT_DEFAULT -DLINUX_IFC ./timetag.F ./timetag.f/opt/intel/fce/10.1.012/bin/ifort -O2 -unroll -pc64 -march=pentium4 -mtune=core2 ./timetag.f/opt/intel/fce/10.1.012/lib/for_main.o: In function `main':/export/users/nbtester/efi2linuxx86_nightly/branch-10_1/20080112_010000/libdev/frtl/src/libfor/for_main.c:(.text+0x26): undefined reference to `MAIN__'make: *** [cpmd.x] Error 1]2;amos at leffler2:...CPMD-3.11.1/SOURCE]1;leffler2amos at leffler2:~/Desktop/CPMD-3.11.1/SOURCE> exitHopefully the problem is minor and yoour assistance would be much appreciated. Amos Leffler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cpmd.org/pipermail/cpmd-list/attachments/20080428/33999dea/attachment.html
More information about the CPMD-list
mailing list