[MITgcm-support] problem with PGI compilers

Abbas Dorostkar dorostkara at gmail.com
Thu Feb 19 20:13:46 EST 2009


Dear all,

I compiled the MITgcm code on a Linux Opteron cluster that uses PGI
compilers. According to the following message, it can't call simple C
routine. It would be nice if I could have your ideas. I have attached the
Opt file I used.

===  Checking system libraries  ===
  Do we have the system() command using /opt/hpmpi/bin/mpif77...  yes
  Do we have the fdate() command using /opt/hpmpi/bin/mpif77...  yes
  Do we have the etime() command using /opt/hpmpi/bin/mpif77...  yes
 * Can we call simple C routines (here, "cloc()") using
/opt/hpmpi/bin/mpif77...  no
*  Can we unlimit the stack size using /opt/hpmpi/bin/mpif77...  yes
  Can we register a signal handler using /opt/hpmpi/bin/mpif77...  yes
  Can we use stat() through C calls...  yes
  Can we create NetCDF-enabled binaries...  yes

---------------Opt file----------------
FC='/opt/hpmpi/bin/mpif77'
CC='/opt/hpmpi/bin/mpicc'
LINK=mpif77
DEFINES='-DWORDLENGTH=4 -DALLOW_USE_MPI -DALWAYS_USE_MPI'
CPP='/usr/bin/cpp  -traditional -P'
NOOPTFLAGS='-O0'
MAKEDEPEND=/usr/X11R6/bin/makedepend
INCLUDES='-I/opt/hpmpi/include/64 -I/usr/apps/include'
LIBS='-L/usr/apps/lib'
if test "x$IEEE" = x ; then
    #  No need for IEEE-754
    FFLAGS='-byteswapio -r8 -Mnodclchk -Mextend -Ktrap=fp'
    FOPTIM='-tp k8-64 -pc=64 -fastsse -O3 -Msmart
-Mvect=cachesize:1048576,transform'
else
    #  Try to follow IEEE-754
    FFLAGS='-byteswapio -r8 -Mnodclchk -Mextend -Ktrap=fp'
    FOPTIM='-tp k8-64 -pc=64 -fastsse -O3 -Msmart -Kieee
-Mvect=cachesize:1048576,transform'
fi

Thanks,
Abbas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20090219/244e979f/attachment.htm>


More information about the MITgcm-support mailing list