[CPMD-list] Compilation error
Axel Kohlmeyer
akohlmey at vitae.cmm.upenn.edu
Mon Dec 19 17:13:00 CET 2005
On Mon, 19 Dec 2005, A Sen wrote:
AS> Dear all,
dear arijit,
AS> While compiling CPMD-3.9.2 on our 64-bit Linux Ifort-9.0 Itanium
AS> machine, I encounter with the following error:
AS> ---------------------------------------
AS> gcc -c -O -D__LINUX64 -D__INTEL -D__FFTW -I../include -I./ -O0
AS> -fomit-frame-pointer -D__LINUX64 -D__INTEL -D__FFTW -I../include -I./ -c
sorry, but these compiler flags _cannot_ work. they look as if they
were taken from the quantum espresso code. this is a quite different
code and thus uses totally different flags.
you have to build a makefile as instructed in the manual
using a configuration provided by the mkconfig.sh script
(e.g. LINUX_IA64_INTEL) and then adapt the makefile.
don't get scared about the flags (e.g. using -DALPHALINUX),
since as far as CPMD is concerned, an itanium machine running
linux is almost the same as an itanium.
axel.
AS> ./sysdepend.c
AS> sysdepend.c: In function `timef_':
AS> sysdepend.c:554: too few arguments to function `gettimeofday'
AS> make: *** [sysdepend.o] Error 1
AS> ---------------------------------------
AS> I would greatly appreciate receiving your suggestions in resolving this so
AS> as to compile the CPMD code successfully.
as usual: don't forget to RTFM!
AS> With regards,
AS> Arijit
AS>
AS>
AS>
AS>
AS> _______________________________________________
AS> CPMD-list mailing list
AS> CPMD-list at cpmd.org
AS> http://cpmd.org/mailman/listinfo/cpmd-list
AS>
--
=======================================================================
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