1. Setting up - NOC-MSM/SEAsia GitHub Wiki
To build the NEMO, XIOS and TOOLS executables the following scripts should be followed in order (Edit make_paths.sh as necessary). The scripts are in SCRIPTS directory. E.g. bash$. ./make_paths.sh
cd SCRIPTS
. ./make_paths.sh
. ./make_directories.sh
. ./make_xios.sh
. ./make_nemo.sh
These are executed before the domain file is made so some of the tooling and directory structures can be reused.
Install miniconda for python preprocessing
cd /work/n01/n01/<user>
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
chmod u+x Miniconda3-latest-Linux-x86_64.sh
./Miniconda3-latest-Linux-x86_64.sh
Install in /work/n01/n01/$USER/miniconda3 when prompted.
Allow it to modify PYTHONPATH in .bashrc
Close and open shell
conda create --name nemo-reloc python=3.7 numpy netCDF4
This can subsequently be activated/deactivate with conda activate nemo-reloc and conda deactivate. The path might also have to be manually loaded when used: export PYTHONPATH=/work/n01/n01/$USER/miniconda3/envs/pynemo3/lib/python3.7/site-packages:$PYTHONPATH