[MITgcm-support] genmake2 problem on alpha
Ed Hill
ed at eh3.com
Thu Sep 23 15:56:49 EDT 2004
On Thu, 2004-09-23 at 15:46, jeff polton wrote:
> Hi. I'm trying to compile the gcm code on an Alpha but it wont run
> genmake2 successfully.
> When I run the genmake2 command it doesn't get very far in the genmake2
> process:
>
> --------------
> >../../../tools/genmake2
>
> 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
> ../../../tools/genmake2: Command usage error at line 787: `;'
> unexpected.
>
> --------------
>
> This same code works fine on a linux machine so I was quite surprised
> when it failed so early on the alpha. I guess there is something wrong
> with the setup on the alpha. Has anyone had any experience of this sort
> of problem before?
>
> The machine details are:
> >uname -svrp
> OSF1 V5.0 1094 alpha
>
> Thanks in advance for any advice,
Hi Jeff,
Please try the following:
1) If bash is available on the alpha, then explicitly use it
with the syntax:
$ bash ../../../tools/genmake2 -mods=../code
2) Please upgrade to a newer version of the code. I've put a
lot of effort into making the latest genmake2 compatible
with all sorts of Bourne and Bourne-like shells. And I
suspect you're using an older version of genmake2 since the
latest version doesn't have a ";" on line number 787.
If the latest version of genmake2 still produces errors then please send
them to this list and I'll try to help you track down the problem.
Ed
--
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