[CPMD-list] problem on compiling

Axel Kohlmeyer akohlmey at cmm.chem.upenn.edu
Thu Mar 22 02:16:00 CET 2007


On Wed, 21 Mar 2007, qfzhang wrote:

QZ> Hi,dear all!
   I want to compile CPMD on a new machine. I use PC-PGI platform, and when comp
iling, it give the information that 
   '/usr/bin/ld: warning: i386:x86-64 architecture of input file sysdepend.o' is
 incompatible with i386 output'
    What's wrong with it?The Makefile was adhered here. The information of hardw
are is as below.

you obviously compiled with a 32-bit version of pgi compiler,
but you are on a 64-bit installation. for that to work you need 
to add -m32 to CFLAGS and 'rm sysdepend.o' and 'make' (and know on 
wood).
cheers,
   axel.


   4 Xeon 3 GHz cores (dual dual core) 
   4GB RAM 
   ~100GB free local storage 
   MPI over gigbit etehernt 
    
   Best wishes
                                           Zhang Qianfan
                                            2007-03-21



-- 
=======================================================================
Axel Kohlmeyer   akohlmey at cmm.chem.upenn.edu   http://www.cmm.upenn.edu
   Center for Molecular Modeling   --   University of Pennsylvania
Department of Chemistry, 231 S.34th Street, Philadelphia, PA 19104-6323
tel: 1-215-898-1582,  fax: 1-215-573-6233,  office-tel: 1-215-898-5425
=======================================================================
If you make something idiot-proof, the universe creates a better idiot.



More information about the CPMD-list mailing list