Compilation error on CRAY-XT3

Jörg Saßmannshausen jorg.sassm... at
Fri Dec 19 11:51:43 UTC 2008

Dear all,

just for the records, I got the same problem on the Opteron Cluster here:
cpp -traditional -C -D__PGI -D__FFTSG -D__FFTW3 -P 
-D__COMPILE_ARCH="\"Linux-x86-64-pgi\"" -D__COMPILE_DATE="\"Wed Dec 17 
18:32:34 GMT 2008\"" -D__COMPILE_HOST="\"op22tut\"" 
/users/sassy/build/src/cp2k/cp2k/makefiles/../src/particle_types.F > 
pgf90 -Mfree  -c -I/users/sassy/build/fftw3/pgf90/include -O2 -fastsse 
-tp amd64  particle_types.f90
PGF90-S-0084-Illegal use of symbol gamma  (particle_types.f90: 610)
PGF90-S-0084-Illegal use of symbol gamma  (particle_types.f90: 611)
   0 inform,   0 warnings,   2 severes, 0 fatal for 
make[1]: *** [particle_types.o] Error 2

$> pgf90 -V

pgf90 7.2-5 64-bit target on x86-64 Linux -tp k8-64e

So it seems, as Axel suggested, a more 'generic' PGI problem.

If I could get the patch I might be able to try the build as well, or 
has it been already included in the CVS?

FYI: I am not exceedinly keen on the PGF, but I don't have a licence for 
the Intel Fortran Compiler, so I have to stick with what I have.

Just my 2 pennies :-)

Best wishes from a rainy Glasgow


> == 2 of 4 ==
> Date: Thurs, Dec 18 2008 2:21 am
> From: "carlo antonio pignedoli"
> Dear Teo,
> sorry for being so late..
> your patch solved the "gamma" problem however now I get:
> PGF90-S-0188-Argument number 2 to check_subsys_element: type mismatch
> (cp_subsys_methods.f90: 235)
> should I really "Boycott PGI" ?
> Ciao
> Carlo

More information about the CP2K-user mailing list