Joined: 30 Jun 2004
Location: The Portland Group Inc.
|Posted: Mon Feb 27, 2006 11:51 am Post subject:
The problem is that they use gcc to link, but the PGI runtimes are not being included on the link line. I tried changing the "CtoFLibraries" in the LINUX file to include these libraries, but for some reason, Configure just ignores them.
Instead, either edit the Makefile's "CTOFLIBS" variable to include the following libraries, or simply pass them via the command line:
|make Everything CTOFLIBS=" -L/usr/pgi/linux86/6.0/lib -lpgf90 -lpgf90_rpm1 -lpgf902 -lpgf90rtl -lpgftnrtl -lpgc -lg2c -lgcc -lm" >& make-output & |
Please change the PGI library path if different. I was able to successfully compile all objects using pgf90 and gcc when I added the correct runtime libraries.
Hope this helps,