access_ACCESS1.4 - ACCESS-NRI/accessdev-Trac-archive GitHub Wiki
Building and running the ACCESS 1.4 coupled model on raijin
Build
Create a top level directory ACCESS-CM somewhere
mkdir ACCESS-CM
cd ACCESS-CM/
svn co https://access-svn.nci.org.au/svn/cmip5/trunk/bin
Download source code from repositories
Create “submodels” directory to hold source code of components UM, CICE, MOM and Oasis-MCT:
cd ACCESS-CM/
mkdir submodels
svn co https://access-svn.nci.org.au/svn/oasis/branches/dev/hxy599/oasis3-mct_local
Create a symbolic link of oasis3-mct_local by the way, which is required by compile scripts.
ln -s oasis3-mct_local oasis3-mct
svn co https://access-svn.nci.org.au/svn/cice/branches/auscom/cice4.1_cmip5@217
svn co https://access-svn.nci.org.au/svn/mom4/branches/mom4p1_cmip5@418
mkdir UM
cd UM
svn co https://access-svn.nci.org.au/svn/cmip5/trunk/submodels/UM/compile
svn co https://access-svn.nci.org.au/svn/cmip5/trunk/submodels/UM/ummodel_hg3-CABLE
svn co https://access-svn.nci.org.au/svn/um/branches/pkg/Rel/ACCESS1.4
ln -s ACCESS1.4 ACCESS-1.4_CABLE2
Check out the prebuilt CABLE library
cd ACCESS-CM/submodels
svn co https://trac.nci.org.au/svn/cable/tags/libraries CABLE2_prebuild
cd CABLE2_prebuild
ln -s raijin/libcable_r1449.a libcable.a
Build OASIS
cd ACCESS-CM/submodels/oasis3-mct_local/compile
./comp_oasis3mct.RJ
Build CICE
cd ACCESS-CM/submodels/cice4.1_cmip5/compile/
./comp_access-cm_cice.RJ.nP-mct 6
Here 6 is the number of CPUs to run CICE component.
Compile MOM
cd ACCESS-CM/submodels/mom4p1_cmip5/compile/
./comp_access_mom4p1_bgc.RJ-mct
Compile UM
cd ACCESS-CM/submodels/UM/compile
qsub compile_ACCESS1.4
Note that the build scripts all load modules
module load intel-fc/12.1.9.293
module load intel-cc/12.1.9.293
module load openmpi/1.6.5
module load netcdf/4.2.1.1
After the build all executables are in ACCESS-CM/bin: