source:
NEMO/branches/UKMO/AMM15_v3_6_STABLE_new_ersem/NEMOGCM/CONFIG/ORCA2_LIM_FABM_ERSEM/EXP01/build-nemo.sh
@
15814
Last change on this file since 15814 was 15480, checked in by jcastill, 3 years ago | |
---|---|
|
|
File size: 663 bytes |
Line | |
---|---|
1 | #!/bin/bash |
2 | |
3 | module load intel intel-mpi netcdf-intelmpi hdf5-intelmpi |
4 | |
5 | NEMO_BUILD_DIR=$HOME/git/NEMO-shelf/NEMOGCM/CONFIG |
6 | RUNDIR=~/build/ORCA2 |
7 | export XIOS_HOME=$HOME/local/xios-intel |
8 | export FABM_HOME=$HOME/local/fabm/nemo |
9 | |
10 | ARCH=CETO_INTEL_NOSIGNEDZERO |
11 | |
12 | cd $NEMO_BUILD_DIR |
13 | echo "Cleaning old build ..." |
14 | rm -f $RUNDIR/nemo.exe $NEMO_BUILD_DIR/ORCA2_LIM_FABM_BLD_SCRATCH/BLD/bin/nemo.exe |
15 | ./makenemo -m $ARCH -n ORCA2_LIM_FABM_BLD_SCRATCH clean_config |
16 | |
17 | echo "Building NEMO-FABM..." |
18 | ./makenemo -m $ARCH -r ORCA2_LIM_FABM_ERSEM -n ORCA2_LIM_FABM_BLD_SCRATCH | tee compile.log && mv $NEMO_BUILD_DIR/ORCA2_LIM_FABM_BLD_SCRATCH/BLD/bin/nemo.exe $RUNDIR/ && echo "Done." |
Note: See TracBrowser
for help on using the repository browser.