[Developers] problem compiling with pgi 5.1

Thomas Radke tradke at aei.mpg.de
Tue May 10 06:16:24 CDT 2005


Bela Szilagyi wrote:
> I am trying to compile a tiny configuration, containing no other thorn than 
> PUGH.  I am using the options "CC=pgcc CXX=pgCC" at config time. The linker 
> gives an error message:
> 
> 
> Creating cactus_pgi in /home/bela/Cactus/exe from CactusPUGH/PUGH
> /home/bela/Cactus/configs/pgi/lib/libthorn_Cactus.a(WarnLevel.c.o)
> (.text+0x44a): In function `CCTK_VWarn':
> : undefined reference to `va_copy'
> gmake[1]: *** [/home/bela/Cactus/exe/cactus_pgi] Error 2
> gmake: *** [pgi] Error 2
> 
> 
> the PGI compiler is a standard 5.1 install under suse 9.2
> 
> peniel 67% pgcc -V
> 
> pgcc 5.1-6
> Copyright 1989-2000, The Portland Group, Inc.  All Rights Reserved.
> Copyright 2000-2003, STMicroelectronics, Inc.  All Rights Reserved.
> 
> 
> I am assuming this is a problem of the configuration script not figuring the 
> right set of libraries to be passed at link time. 
> 
> Can anyone help?

Hi Bela,

PGI 5.1 seems to be pretty old, I don't have access to a system where 
this is installed. I tried recently PGI 6.0 (trial license), and this 
worked fine. Can you upgrade to this version ?


-- 
Cheers, Thomas.



More information about the Developers mailing list