[MITgcm-devel] Genmake2 on SGI

Alistair Adcroft adcroft at MIT.EDU
Wed Jun 30 15:22:56 EDT 2004


Ed,

I'll try this out when I'm next at WHOI and check it in if it works...

Reading the .SUFFIXES lines from genmake2 I think the problem arises from
the order; my experience is that the order should be reverse of the
dependence so ".o .f .F" works on all platforms but ".o .F .f" fails to
properly invoke .F.f on some machines.

A.
--
Dr Alistair Adcroft            http://www.mit.edu/~adcroft
MIT Climate Modeling Initiative        tel: (617) 253-5938
EAPS 54-1624,  77 Massachusetts Ave,  Cambridge,  MA,  USA

-----Original Message-----
From: mitgcm-devel-bounces at mitgcm.org
[mailto:mitgcm-devel-bounces at mitgcm.org] On Behalf Of Ed Hill
Sent: Tuesday, June 29, 2004 3:16 PM
To: MITgcm-devel
Subject: RE: [MITgcm-devel] Genmake2 on SGI


On Tue, 2004-06-29 at 14:20, Alistair Adcroft wrote:
> The cmd Patrick says does work but it defeats the objective of having
> a common interface.

> Gmake is not available everywhere which is why I'm running up against
> this problem.


Hi Alistair,

OK, so we have two issues:

  1) "../../../genmake2 ..." versus "sh ../../../genmake2"

  2) gmake versus "other" make implementations


I just checked in a change for the first that does:

  #! /usr/bin/env sh

instead of 

  #! /usr/bin/env bash

and perhaps that will be more portable.

The second issue is more complicated.  I don't know why or how your
particular "make" implementation is failing.  And, apparently, you're more
interested in complaining than doing something useful like
cutting-and-pasting the actual error message.

So if you want me to "fix" the makefile, then you're going to have to
provide me with access to the machines.  I don't run SSH over a mental
telepathy link.

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

_______________________________________________
MITgcm-devel mailing list
MITgcm-devel at mitgcm.org http://dev.mitgcm.org/mailman/listinfo/mitgcm-devel




More information about the MITgcm-devel mailing list