MITgcm configs: Difference between revisions

From Fluids Wiki
Jump to navigation Jump to search
(Linking compile scripts for MITgcm)
(Rewrite to stop referring to config files that are stored in this wiki. The latest ones are in the UW git repo. Explain a bit better what they're for and how they get used.)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
== MITgcm Configuration Files ==
== MITgcm Configuration Files ==


The [https://wiki.math.uwaterloo.ca/sheets/FluidsWiki/MITgcm/Compiling/makempi.sh makempi] script is designed to set the appropriate flags and load modules in order to compile MITgcm on: orca, graham, hood, and the mountain lakes (bow, minnewanka, waterton).
The MITgcm source code needs to be compiled with settings appropriate for whichever platform it will be run on.
Calling it should run through the steps to compile MITgcm.
Each platform has a corresponding configuration file.  These configuration files are included in the MITgcm bundle you pull
These should be placed in <code>/path/to/MITgcm/tools/build_options</code>.
from the UW git repository. You'll see them under <code>/path/to/MITgcm/tools/build_options/</code>. The file names reflect
the hostnames of the servers.


=== Configuration Files ===
The <code>makempi.sh</code> script uses these configuration files and sets appropriate flags and load modules in order to compile MITgcm on the Fluids Group's servers and on Compute Canada (a.k.a. The Alliance) servers.
* [https://wiki.math.uwaterloo.ca/sheets/FluidsWiki/MITgcm/Compiling/bow_mpt bow, minnewanka, waterton]
** this configuration file expects the SGI MPT module and GNU compilers
** be sure to specify '''-mpi''' on your '''genmake2''' command line
* [https://wiki.math.uwaterloo.ca/sheets/FluidsWiki/MITgcm/Compiling/orca_mpi orca]
* [https://wiki.math.uwaterloo.ca/sheets/FluidsWiki/MITgcm/Compiling/graham_mpi graham]
** May timeout during final <code>make</code> command. If this happens, simply re-run the last <code>make</code>.
* [https://wiki.math.uwaterloo.ca/sheets/FluidsWiki/MITgcm/Compiling/hood_mpi_intel hood]
 
=== Notes ===
 
Special thanks to Dunphy for these!
 
Orca is slated to be changed to appear Graham-like. When that happens, the orca compile flags given here will not work.

Latest revision as of 15:08, 13 May 2024

MITgcm Configuration Files

The MITgcm source code needs to be compiled with settings appropriate for whichever platform it will be run on. Each platform has a corresponding configuration file. These configuration files are included in the MITgcm bundle you pull from the UW git repository. You'll see them under /path/to/MITgcm/tools/build_options/. The file names reflect the hostnames of the servers.

The makempi.sh script uses these configuration files and sets appropriate flags and load modules in order to compile MITgcm on the Fluids Group's servers and on Compute Canada (a.k.a. The Alliance) servers.