Difference between revisions of "Compiling MOM6"

(Updated MOM6 build instructions to use Angus' ninja build scripts)
(Change to https git url)
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
 
To build ocean-only MOM6 on NCI:
 
To build ocean-only MOM6 on NCI:
 
<pre>cd /scratch/$PROJECT/$USER
 
<pre>cd /scratch/$PROJECT/$USER
git clone git@github.com:coecms/mom6-ninja-nci.git
+
git clone https://github.com/coecms/mom6-ninja-nci.git
 
cd mom6-ninja-nci
 
cd mom6-ninja-nci
 
./cms_build.sh
 
./cms_build.sh
 
</pre>
 
</pre>
 +
 +
When this completes (it takes a few minutes) there should be a MOM6 executable at&nbsp;<code>ocean_only_symmetric/MOM6</code>.
  
 
See the [https://github.com/angus-g/mom6-ninja-nci original repository] for information on customising the build.
 
See the [https://github.com/angus-g/mom6-ninja-nci original repository] for information on customising the build.
  
 
[[Category:MOM]] [[Category:MOM6]] [[Category:Compile]] [[Category:Ocean Models]]
 
[[Category:MOM]] [[Category:MOM6]] [[Category:Compile]] [[Category:Ocean Models]]

Latest revision as of 21:07, 9 February 2023

These are gadi specific instructions to compile the ocean-only version of MOM6 using scripts developed by Angus Gibson

To build ocean-only MOM6 on NCI:

cd /scratch/$PROJECT/$USER
git clone https://github.com/coecms/mom6-ninja-nci.git
cd mom6-ninja-nci
./cms_build.sh

When this completes (it takes a few minutes) there should be a MOM6 executable at ocean_only_symmetric/MOM6.

See the original repository for information on customising the build.