[CPMD-list] Compiling cpmd.x for CPMD-3.11.1
Ari P Seitsonen
ari.p.seitsonen at iki.fi
Tue Apr 29 00:42:05 CET 2008
Dear Amos,
I fully agree with Axel's comment on the formatted file. I try to
decrypt some lines:
On Mon, 28 Apr 2008, Amos Leffler wrote:
> #FFLAGS = -c -r8 -w95 -O2 -pc64 -tpp7 -unroll -cm -tune pn4 -arch pn4
> FFLAGS = -O2 -unroll -pc64 -march=pentium4 -mtune=core2
>
> /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
It is not very wise to leave out the '-c' flag from the options for the
fortran compiler - CPMD requires many more files to link the
executable than just the 'timetag.f'. ;)
No idea about the subsequent problems; did you try to use the 'icc'
compiler instead of 'gcc', in case that should cause a problem?
Greetings from home,
apsi
--
-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-
Ari P Seitsonen / Ari.P.Seitsonen at iki.fi / http://www.iki.fi/~apsi/
IMPMC, CNRS & Université Pierre et Marie Curie
Tel: +33-1-4427 7542, Fax: +33-1-4427 3785, GSM: +33-6-6736 3820
More information about the CPMD-list
mailing list