[molpro-user] Compiling on Opteron/Linux 2.4/pgf90 6.0-4/64-bit

Mikael Johansson mikael.johansson at csc.fi
Thu Dec 29 13:20:26 GMT 2005


Hello All!

Just a small note in case someone finds it useful. The default settings 
which "./configure -i8 -pgf" creates made the binaries complain:

Symbol `__mth_sincos' causes overflow in R_X86_64_PC32 relocation
Symbol `__mth_dsincos' causes overflow in R_X86_64_PC32 relocation

By changing some flags from:
> FC="/opt/pgi/linux86-64/6.0/bin/pgf90 -pc 64 -i8 "
> F90="/opt/pgi/linux86-64/6.0/bin/pgf90 -pc 64 -i8 "
> LINKFC="/opt/pgi/linux86-64/6.0/bin/pgf90 -pc 64 -i8 "
> FOPT2="-O2"
> FOPT3="-O3"

to:
< FC="/opt/pgi/linux86-64/6.0/bin/pgf90 -pc 64 -i8 -mcmodel=medium -tp k8-64 "
< F90="/opt/pgi/linux86-64/6.0/bin/pgf90 -pc 64 -i8 -mcmodel=medium -tp k8-64 "
< LINKFC="/opt/pgi/linux86-64/6.0/bin/pgf90 -pc 64 -i8 -mcmodel=medium -tp k8-64 "
< FOPT2="-O2 -fast"
< FOPT3="-O3 -fast"

The error disappeared. 'make quicktest' doesn't complain either.

Have a nice day,
     Mikael J.

--
Mikael Johansson, application specialist, chemistry support
CSC - IT Center for Science, P.O. Box 405, FI-02101 Espoo, Finland
Tel.: +358-9-457 2934, www.csc.fi, e-mail: mikael.johansson at csc.fi



More information about the Molpro-user mailing list