[MITgcm-devel] build on sunos_sun4u_g77

Patrick Heimbach heimbach at MIT.EDU
Thu Dec 9 13:27:23 EST 2004


Hi Ed,

I am trying to build a fresh copy of the code on
> uname -a
SunOS ifmsun24 5.8 Generic_117350-12 sun4u sparc SUNW,Sun-Blade-1500

and am getting the following error
===  Searching for possible settings for OPTFILE  ===
  The platform appears to be:  sunos_sun4u
  The possible C compilers found in your path are:
    gcc c89
  Setting C compiler to: gcc
  The possible FORTRAN compilers found in your path are:
    g77 f77 f90
  Setting FORTRAN compiler to: g77
    using OPTFILE="../../../tools/build_options/sunos_sun4u_g77"
  getting AD_OPTFILE information:
    using AD_OPTFILE="../../../tools/adjoint_options/adjoint_default"
ERROR: Your file system cannot distinguish between *.F and *.f files
  (fails the "make/ln" test) and this program cannot find a suitable
  replacement extension.  Please try a different build environment or
  contact the <MITgcm-support at mitgcm.org> list for help.
 
I do not believe this message, since when I
> ls genmake_hello.F
genmake_hello.F

but 
> ls genmake_hello.f
genmake_hello.f: No such file or directory

My understanding is Martin has it work on the SUN,
so what could be wrong.

(I also tried to prepend /usr/bin/sh .... but
that was disastrous).

Any idea what could be wrong?
Thanks
-Patrick

-- 
----------------------------------------------------------
Patrick Heimbach     Massachusetts Institute of Technology
FON: +1/617/253-5259                    EAPS, Room 54-1518
FAX: +1/617/253-4464               77 Massachusetts Avenue
mailto:heimbach at mit.edu                 Cambridge MA 02139
http://www.mit.edu/~heimbach/                          USA




More information about the MITgcm-devel mailing list