[MITgcm-support] Pb with compilation: make:
Ed Hill
ed at eh3.com
Mon Jun 6 14:49:08 EDT 2005
On Mon, 2005-06-06 at 14:00 -0400, Nicolas Wienders wrote:
> Dear Ed,
> >
> > And if I can't have an account, please try the following:
> >
>
> I wish i could set up an account for you, but you won't be able
> to access from outside (IP address).
>
> > 1) Are you using Gnu make or "gmake"? We strongly recommend Gnu
> > make or gmake since its syntax is well-understood.
> >
>
> Gnu make. I use the same one for the old version of the model
> and it works fine.
>
> > 2) Please verify that the optfile has the right settings for
> > your Fortran compiler, libs, etc.
> >
> I use the ibmcpm/xlf/8.1/xlf compiler.
>
> > 3) Please email us a copy of your Makefile.
> >
>
> It is attached. Problems are coming from those " <built-in> "
> i think.
>
> Thanks a lot again, have a great afternoon.
Hi Nicolas,
OK, thats it! Your problem is that old, lousy xmakedepend script that
we use only as a last-ditch resort when nothing else works. Its failing
on your machine. So, please create a new optfile by copying the one you
are currently using to a new name:
MITgcm/tools/build_options/darwin_ppc_xlf_panther
and then commenting out the two lines:
# MAKEDEPEND='${TOOLSDIR}/xmakedepend'
# MAKEDEPEND=makedepend
that specify the MAKEDEPEND program to use. That should accomplish the
same thing as setting:
MAKEDEPEND='$(TOOLSDIR)/cyrus-imapd-makedepend/makedepend'
which you could also try.
And if both of those changes do not work, then please send us another
email and we'll try to locate a "make depend" program that will work on
your machine. But I think its likely that the "cyrus-imapd" version
will work.
Ed
ps - And when you do create a custom optfile that works for you,
*PLEASE* email it back to this list and I'll save it in our
CVS repository for future reference. Thanks!!!
--
Edward H. Hill III, PhD
office: MIT Dept. of EAPS; Rm 54-1424; 77 Massachusetts Ave.
Cambridge, MA 02139-4307
emails: eh3 at mit.edu ed at eh3.com
URLs: http://web.mit.edu/eh3/ http://eh3.com/
phone: 617-253-0098
fax: 617-253-4464
More information about the MITgcm-support
mailing list