[CPMD-list] Compling CPMD with IFC on Linux

Kozin, I (Igor) i.kozin at dl.ac.uk
Mon Sep 11 19:29:58 CEST 2006


In order to cure your problem I'd guess you have to use either gcc -m64 or 
icc instead of gcc.
 

-----Original Message-----
From: cpmd-list-bounces at cpmd.org [mailto:cpmd-list-bounces at cpmd.org]On Behalf Of james zhang
Sent: 09 September 2006 09:37
To: cpmd-list at cpmd.org
Subject: [CPMD-list] Compling CPMD with IFC on Linux


Hi, everyone.
 
I compiled CPMD, and got a warning, but CPMD exe still doesn't work.
ld: warning: i386:x86-64 architecture of input file `sysdepend.o' is incompatible with i386 output

I using this configure:

#INFO#
#INFO# Configuration to build a serial cpmd executable for
#INFO# a Pentium 4 machine with the latest intel fortran compiler 'ifort'.
#INFO#
#INFO#  $Id: BOCHUM-P4,v 1.2 2005/01/03 11:02:20 akohlmey Exp $ 
#INFO#

     IRAT=2
     CFLAGS='-c -O2 -Wall'
     CPP='/lib/cpp -P -C -traditional'
     CPPFLAGS='-D__Linux -D__PGI -DLAPACK -DFFT_DEFAULT -DLINUX_IFC'
     FFLAGS='-c -r8 -w95 -O2 -pc64 -tpp7 -unroll -cm -tune pn4 -arch pn4' 
     LFLAGS='-L. -latlas -Vaxlib'
     FFLAGS_GROMOS=' ' 
     if [ $debug ]; then
       FC='ifort -g'
       CC='gcc -g'
       LD='ifort -g'
     else
       FC='ifort '
       CC='gcc'
       LD='ifort -i-static' 
     fi

Thanks.


-- 
Sincerely yours,
James jianzhang
Department of Mechanical and Chemical Engineering 
North Carolina Agricultural and Technical State University 
1601 East Market Street 
Greensboro, NC 27411 
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cpmd.org/pipermail/cpmd-list/attachments/20060911/c9d4fe97/attachment.html 


More information about the CPMD-list mailing list