[MITgcm-support] one more genmake2 problem
Ed Hill
ed at eh3.com
Thu Nov 13 21:34:00 EST 2003
On Thu, 2003-11-13 at 21:01, Dimitris Menemenlis wrote:
> Ed, do you know what message below is about?
> Didn't use to complain with genmake?
>
> D.
>
>
> pollux ~/tmp/MITgcm/verification/global_ocean.cs32x15/build 117: ../../../tools/genmake2 -mods=../code -optfile=../../../tools/build_options/o2k_noopt+mpi -fc=f77
>
> === 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/o2k_noopt+mpi"
> getting AD_OPTFILE information:
> using AD_OPTFILE="../../../tools/adjoint_options/adjoint_default"
>
> === Checking system libraries ===
> Do we have the system() command using f77... yes
> Do we have the fdate() command using f77... no
> The name mangling convention for f77 is...
> '#define FC_NAMEMANGLE(X) X'
>
> === Setting defaults ===
> Adding MODS directories: ../code
> Making source files in eesupp from templates
> Error: problem encountered while building source files in eesupp:
> Usage: make [-f makefile] [-p] [-i] [-k] [-s] [-r] [-n] [-u]
> [-d] [-D] [-S] [-g] [-w] [-P] [-B] [-b] [-O] [-e] [-t] [-q] [-M] [-N] [names]
Hi Dimitris,
Yes, for the short term you need to use GNU make instead of the SGI
make. You can do that by either:
1) adding "-make=gmake" or "-make=/path/to/gmake" to the command
line, or
2) adding "MAKE=gmake" or "MAKE=/path/to/gmake" to the optfile
In the long term, I'll try to edit our build tools so that they are
better handled by older and less capable UNIX make implementations.
Ed
--
Edward H. Hill III, PhD
office: MIT Dept. of EAPS; Room 54-1424; 77 Massachusetts Ave.
Cambridge, MA 02139-4307
email: eh3 at mit.edu, ed at eh3.com
URL: http://web.mit.edu/eh3/
phone: 617-253-0098
fax: 617-253-4464
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20031114/95b0c939/attachment.sig>
More information about the MITgcm-support
mailing list