[MITgcm-support] problem with compilation

jeff polton jpolton at ucsd.edu
Tue Nov 8 15:50:58 EST 2005


Hi I'm trying to compile on an IBM SP

%uname -a
gives:
  AIX s00513 2 5 006006564C00

I have tried the sp3 and sp4 option files from the build_options but to 
no avail. So I sent sp3 to one of the machine consultant and he tweaked 
to it ensure that the CPP and FORTRAN paths were good but still no joy.

I'm using a GNU version of make

Here's what happens:

%module load GNU
% ../../tools/genmake2 -make=gmake -mods=../code -of=../code/mstewart

And here is the output to screen:
~~~~~~~~~BEGIN OUTPUT TO SCREEN~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

GENMAKE :

A program for GENerating MAKEfiles for the MITgcm project.  For a
quick list of options, use "genmake -h" or for more detail see:

   http://mitgcm.org/devel_HOWTO/

===  Processing options files and arguments  ===
   getting local config information:  none found
Warning:  ROOTDIR was not specified but there appears to be a copy of 
MITgcm at "../.." so we'll try it.
   getting OPTFILE information:
     using OPTFILE="../code/mstewart"
   getting AD_OPTFILE information:
     using AD_OPTFILE="../../tools/adjoint_options/adjoint_default"

===  Checking system libraries  ===
   Do we have the system() command using mpxlf95_r...  no
   Do we have the fdate() command using mpxlf95_r...  no
   Do we have the etime() command using mpxlf95_r...  no
   Can we call simple C routines (here, "cloc()") using mpxlf95_r...  no
   Can we use stat() through C calls...  no
   Can we create NetCDF-enabled binaries...  no

===  Setting defaults  ===
   Adding MODS directories:   ../code
   Making source files in eesupp from templates
   Making source files in exch2 from  templates

===  Determining package settings  ===
   getting package dependency info from  ../../pkg/pkg_depend
   checking default package list:
     using PDEFAULT="../../pkg/pkg_default"
     before group expansion packages are:  gfd
     replacing "gfd" with:   mom_common mom_fluxform mom_vecinv 
generic_advdiff debug mdsio rw monitor
     after group expansion packages are:   mom_common mom_fluxform 
mom_vecinv generic_advdiff debug mdsio rw monitor
   applying DISABLE settings
   applying ENABLE settings
     packages are:   debug generic_advdiff mdsio mom_common mom_fluxform 
mom_vecinv monitor rw
   applying package dependency rules
     packages are:   debug generic_advdiff mdsio mom_common mom_fluxform 
mom_vecinv monitor rw
   Adding STANDARDDIRS
   Searching for *OPTIONS.h files in order to warn about the presence
     of "#define "-type statements that are no longer allowed:
     found CPP_EEOPTIONS="../../eesupp/inc/CPP_EEOPTIONS.h"
     found CPP_OPTIONS="../../model/inc/CPP_OPTIONS.h"
   Creating the list of files for the adjoint compiler.

===  Creating the Makefile  ===
   setting INCLUDES
   Determining the list of source and include files
pwd
   Writing makefile: Makefile
   Add the source list for AD code generation
   Making list of "exceptions" that need ".p" files
   Making list of NOOPTFILES
   Add rules for links
   Adding makedepend marker

===  Done  ===

~~~~~~~~~~~END OUTPUT~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


I'm not worried about the NetCdf failing but I think I should be 
worried about the "Checking system Libraries" failing
I attach copies of:
"genmake_ad_optfile"  "genmake_optfile"  "genmake_state"  
"genmake_warnings" and the option_file "mstewart"
There is no genmake_errors file (I think I should be expecting one...)

Perhaps I'm missing something daft. If anyone could give me any 
pointers that would be great thanks.

Jeff Polton

~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
Scripps Institution of Oceanography, UCSD,
9500 Gilman Dr., Dept. 0213, La Jolla, CA 92093-0213
Tel: (858) 534-4560. Fax: (858) 534-8045
www-pord.ucsd.edu/~jeff

-------------- next part --------------
A non-text attachment was scrubbed...
Name: genmake_ad_optfile
Type: application/octet-stream
Size: 2127 bytes
Desc: not available
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20051108/34f4f30f/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: genmake_optfile
Type: application/octet-stream
Size: 811 bytes
Desc: not available
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20051108/34f4f30f/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: genmake_state
Type: application/octet-stream
Size: 7740 bytes
Desc: not available
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20051108/34f4f30f/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: genmake_warnings
Type: application/octet-stream
Size: 752 bytes
Desc: not available
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20051108/34f4f30f/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mstewart
Type: application/octet-stream
Size: 811 bytes
Desc: not available
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20051108/34f4f30f/attachment-0004.obj>
-------------- next part --------------



More information about the MITgcm-support mailing list