[MITgcm-devel] netcdf on Sun

Martin Losch mlosch at awi-bremerhaven.de
Thu Dec 9 11:04:18 EST 2004


Ed,

the optfile sunfile+mpi that is in the repository seems to work unless 
you want netcdf support, in which case you can point it there. But I 
can check in another one for my platform that has the path included (or 
modify the existing one).

But two problems remain on my particular platform:
model>uname -a
SunOS model 5.9 Generic_112233-11 sun4u sparc SUNW,Sun-Fire-15000

1. AWK=awk in genmake2 does not work. I had to change that line in 
genmake2 to
AWK=gawk. That should probably be possible on the command line (similar 
to -make=gmake)
2. After successful compilation with mnc enabled, the link step failed, 
because it couldn't find
routine mnccdir in mnc_readparms.F . I set HAVE_MNCCDIR in 
mnc_readparms.F to undefined and now I have an executable. (I am 
waiting in the queue, probably because I requested 30 CPUs).

Martin

On Dec 9, 2004, at 3:44 PM, Ed Hill wrote:

> On Thu, 2004-12-09 at 15:14 +0100, Martin Losch wrote:
>> Sorry about this, I take everthing back about the netcdf problem, that
>> was fixed by using gmake.
>> But the awk problem remains. I had to change AWK=awk into AWK=gawk in
>> the tools/genmake2 to make it work.
>
>
> Hi Martin,
>
> Yes, those good Gnu tools should always be preferred!  ;-)
>
> So I assume you have it working now?  If not, please let me know what
> errors are reported and I'll do whatever I can to help fix it.
>
> And *please* check in any custom optfiles you make to
> tools/build_options.  There is even a tool at
> tools/suggest_optfile_names to help people figure out optfile names for
> their system.
>
> thanks,
> 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