[MITgcm-support] Re: MITgcm beginner's questions

Ed Hill ed at eh3.com
Thu Jun 2 10:10:16 EDT 2005


Hi Rene,

Welcome to the MITgcm-support list!  I've subscribed your email address
and included your message below.

In regards to the build system, we have successfully setup cross-
compilation.  In fact, I think it was a Linux-on-Itanium system acting
as the head-node and cross-compiler for a NEC SX-6.  And you should only
have to create one custom options file (or "optfile") in order to
specify the set of compilers and other options that you want.

We currently have three example optfiles for SX-6 machines and they are
located in:

  MITgcm/tools/build_options/SUPER-UX_SX-6_*

so please take a look at them and then copy one and make modifications
to it to suit your particular machine, your libraries, etc.  Some of the
other optfiles also provide examples on how to incorporate netCDF (you
just need to include the headers and libs).

If you encounter problems and want help then please copy and paste them
into an email to this list (along with the commands you used to create
them!) and we'll try to help you figure it out.

good luck!
Ed

ps - The build process is documented at:

  http://mitgcm.org/pelican/online_documents/node137.html


=====  original email  =====

Date: Thu, 02 Jun 2005 13:13:35 +0200
From: Rene Redler <redler at ccrl-nece.de>
User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050317)
To: MITgcm-support at mitgcm.org
Subject: MITgcm beginner's questions

hi,

    I have downloaded your latest available version from the CVS
server yesterday. Based on the documentation I was able to practically
examine the first steps to get a make file plus dependencies on
my Linux PC. This would work fine if my Linux PC were the target
platform on which I ran the executable. Instead I'd like to
create a binary for a NEC SX6 using the SX cross compiler and
relevant libraries (e.g. NetCDF) on my Linux PC.

I guess I have to manually edit some file(s) to teach your building
process the correct settings. For doing this I need to avoid
the generation and execution of small binaries used for testing
some local settings.

I am more than willing to read the manual. Any hint to where related
info is located is welcome.

Furthermore I'd like to add some lines of code (included with CPP keys)
to the original sources. What's the best practice to do this,
is it ok to edit the sources in MITgcm/model/src, or is it better
to to do this in some experiment specific dir, like
MITgcm/verification/... - and where to put those private CPP keys.

Thanks for nay brief hint.

Rene

_______________________________________________________________

   Ren=E9 Redler
   C&C Research Laboratories
   NEC Europe Ltd.                 Tel: +49 (0)2241 925240
   Rathausallee 10                 Fax: +49 (0)2241 925299
   53757 Sankt Augustin            URL: www.ccrl-nece.de/~redler
_______________________________________________________________

-- 
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