-
Notifications
You must be signed in to change notification settings - Fork 7
Building
If you don't want to use a precompiled executable from /g/data/ik11/inputs/access-om3/bin/
, you can build it yourself.
Building access-om3 requires membership of the ik11
project - apply at https://my.nci.org.au/mancini/project/ik11 if needed.
Then cd
to your clone of access-om3 (see the README for how to clone), and type
./build.sh
After a little while you'll get a shiny new executable bin/access-om3-<hash>
, which is labelled by the git hash of the access-om3 repository so you can identify the sources that it was built with. If the executable name also has a -modified
suffix, this indicates that there were untracked files or uncommitted changes. If this happens it's a good idea to commit the changes and re-build so the executable sources are identifiable from the name of the executable.
By default the executable will have WW3, MOM6 and CICE enabled. If you'd like to change this, add the following to the first invocation of CMake in build.sh
:
-DENABLE_WW3=ON -DENABLE_MOM6=ON -DENABLE_CICE=ON
and replace ON
with OFF
where required (note that the default is ON
for all components).
We also want to coordinate with these plans https://github.com/ACCESS-NRI/model_builder