MIT Model

--- Compilation ---

The following procedure assumes that the tarfile is unpacked and the current working directory is the main directory of the tarfile.

The following example shows compilation and run of a testcase - here the 4x4 degree world ocean (exp2) - on a T3E. On other machines the "mpp" command has to be replaced.
 

command description
cd bin directory to compile the model
../tools/genmake -makefile create a machine specific Makefile (for further options type "../tools/genmake -help").Sometimes the -platform option has to be spcecified (e.g. -platform=Linux)
cp ../verification/exp2/code/* . copy model specific code to compile directory, 
you may want to adopt the number of processors (nPx, nPy) in SIZE.h to fit your machine and needs
make depend make dependencies
make compile
cd ../exe goto run directory
cp ../verification/exp2/input/* . copy model specific input files (forcing, bathymetry, parameter) to run directory
./mitgcmuv or
mpprun -n 2 ./mitgcmuv
run the model on a single or more processors (please note, that the number of processors - here 2 - has to fit the specifications in SIZE.h)
Notes:


Arne Biastoch, 11/16,1999