New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
build-nemo-debug.sh in NEMO/branches/UKMO/AMM15_v3_6_STABLE_new_ersem/NEMOGCM/CONFIG/AMM7_FABM_ERSEM/EXP02 – NEMO

source: NEMO/branches/UKMO/AMM15_v3_6_STABLE_new_ersem/NEMOGCM/CONFIG/AMM7_FABM_ERSEM/EXP02/build-nemo-debug.sh @ 15480

Last change on this file since 15480 was 15480, checked in by jcastill, 3 years ago

Changes as in the git branch NEMO-FABMv1-ERSEM

  • Property svn:executable set to *
File size: 755 bytes
Line 
1#!/bin/bash
2
3module unload PrgEnv-cray PrgEnv-gnu
4module load PrgEnv-intel
5module unload cray-netcdf
6module load cray-netcdf-hdf5parallel
7
8NEMO_BUILD_DIR=$HOME/git/NEMO-shelf/NEMOGCM/CONFIG
9RUNDIR=/work/n01/n01/yuti/AMM7-v1
10export XIOS_HOME=$HOME/local/xios-intel-debug
11export FABM_HOME=$HOME/local/fabm/nemo-debug
12
13ARCH=XC_ARCHER_INTEL_NOSIGNEDZERO_DEBUG
14
15cd $NEMO_BUILD_DIR
16echo "Cleaning old build ..."
17rm -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
20echo "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.