...
module load CCEnv
module load nixpkgs/16.09
module load intel/2019.3
module load openmpi
module load cmake/3.16.3
module load fftw-mpi
cmake -DCOMPILER=intel -DCMAKE_VERBOSE_MAKEFILE=ON -DWORK_PREFIX=${MY_WORK_DIR} ../project
Create executable
make -j8 work # When using the key '-jn', the make command will run 'n' makes in parallel. So in this case 8.
Note: Sometimes, when running make in parallel it does not compile the routines in the right order (especially after massive updates of the source code). In that case run the command without the key '-j8'.
Run GOAS
To run GOAS you need to change into the model work directory:
cd
...
${MY_WORK_DIR}
...
cd
...
work-...
...
# change into work directory, i.e.
...
work-linux26-x86-64-intel-19.0.3.199
...
Here you will find several example config files under 'configurations'. If you want to run, for example, a global YinYang simulation execute:
./runprep
...
-dircfg
...
configurations/GY_cfgs
...
./runmod
...
-dircfg
...
configurations/GY_cfgs
...
-ptopo
...
2x2x1
...