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