[CPMD-list] compiling problem on AMD opteron64 under Linux when using MPI and PGI 5.2

Axel Kohlmeyer axel.kohlmeyer at theochem.ruhr-uni-bochum.de
Tue Oct 12 08:55:54 CEST 2004


On Tue, 12 Oct 2004, Adrain Zhou wrote:

adrain,

AZ> Dear all,
AZ>  
AZ> I tried to load CPMD on on AMD opteron64 under Linux when using MPI and PGI 5.2. I met the following problem,
AZ>  
AZ> cc -D__Linux64 -D__PGI -DLAPACK -DFFT_DEFAULT -DPOINTER8 -D__pgf90 -DPARALLEL -DMP_LIBRARY=__MPI -DMYRINET    -c ./sysdepend.c
       ^^^^^^^^^^^^
   where does the -D__Linux64 come from??
   the AMD64-PGI-MPI config has -D__Linux and that works. 

   that is how it is supposed to be: the gettimeofday interface is 
   operating system specific, but not cpu specific.

axel.

AZ> sysdepend.c: In function `timef_':
AZ> sysdepend.c:521: error: too few arguments to function `gettimeofday'
AZ> make: *** [sysdepend.o] Error 1
AZ> 
AZ> It seems the problem of cc compiler. Any comments?


AZ>  
AZ> Many thanks!
AZ> Regards,
AZ> Adrain
AZ>  
AZ>  
AZ> 
AZ> 
AZ> 
AZ> ---------------------------------
AZ> Do You Yahoo!?
AZ> 150ÍòÇúMP3·è¿ñËÑ£¬´øÄú´³ÈëÒôÀÖµîÌÃ
AZ> ÃÀÅ®Ã÷ÐÇÓ¦Óо¡ÓУ¬ËѱéÃÀͼ¡¢ÑÞͼºÍ¿áͼ
AZ> 1G¾ÍÊÇ1000Õ×£¬ÑÅ»¢µçÓÊ×ÔÖúÀ©ÈÝ£¡

-- 


=======================================================================
Dr. Axel Kohlmeyer                        e-mail: axel.kohlmeyer at rub.de
Lehrstuhl fuer Theoretische Chemie          Phone: ++49 (0)234/32-26673
Ruhr-Universitaet Bochum - NC 03/53         Fax:   ++49 (0)234/32-14045
D-44780 Bochum  http://www.theochem.ruhr-uni-bochum.de/~axel.kohlmeyer/
=======================================================================





More information about the CPMD-list mailing list