[MITgcm-support] gcc compilation error

Amitabh Mitra amitabhmitra1 at rediffmail.com
Tue Jul 11 07:18:55 EDT 2006


  Dear Sir,

 I was trying to run the sea ice experiment s12t_16x32.
 on SGI Origin.
 But there is some problem in creating the Makefile.
 As per previous instructions of Mr. Ed Hill I downloaded
 the genmake file posted by him on May 11 2006 and made
 appropriate changes in the optfile which is attached
 with this mail. But the server gets hanged when I run
 the command shown below. SGI_2100 27% is the system prompt.



SGI_2100 27% ls
CPP_OPTIONS.h        SEAICE_OPTIONS.h     rotate_en_to_uv.F
DIAGNOSTICS_SIZE.h   SIZE.h               w2_e2setup.F
ECCO_CPPOPTIONS.h    W2_EXCH2_TOPOLOGY.h
README               packages.conf
SGI_2100 28% sh ../../../tools/new-genmake2 -of 
             ../../../tools/build_options/prabhat1

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="../../../tools/build_options/prabhat1"
  getting AD_OPTFILE information:
    using AD_OPTFILE="../../../tools/adjoint_options/adjoint_default"

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


-------------------------------------------------------------------

 So what changes can be done in the optfile so as to run the experiment?

 Thanking You,
 
 With regards,

 Amitabh Mitra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20060711/2f5b3f33/attachment.htm>
-------------- next part --------------
#!/bin/bash
#
#  $Header: /u/gcmpack/MITgcm/tools/build_options/irix64_ip27_f77+mpi,v 1.1 2004/02/21 14:41:09 dimitri Exp $
#

S64='$(TOOLSDIR)/set64bitConst.sh'
MAKEDEPEND=makedepend
CPP='/usr/freeware/bin/gcc -E -traditional -P -'

DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DTARGET_SGI -DWORDLENGTH=4'
FC='f90'
FFLAGS='-n32 -extend_source -bytereclen'
FOPTIM='-O3 -OPT:Olimit=0:roundoff=3:div_split=ON:alias=typed'
LIBS='-lmpi'
INCLUDEDIRS='/usr/include'



More information about the MITgcm-support mailing list