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.sh in NEMO/branches/UKMO/AMM15_v3_6_STABLE_new_ersem/NEMOGCM/CONFIG/AMM7_FABM_ERSEM/EXP06 – NEMO

source: NEMO/branches/UKMO/AMM15_v3_6_STABLE_new_ersem/NEMOGCM/CONFIG/AMM7_FABM_ERSEM/EXP06/build-nemo.sh

Last change on this file 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: 698 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=~/build/NEMO-shelf
10export XIOS_HOME=$HOME/local/xios-intel
11export FABM_HOME=$HOME/local/fabm/nemo
12
13ARCH=XC_ARCHER_INTEL_NOSIGNEDZERO
14
15cd $NEMO_BUILD_DIR
16echo "Cleaning old build..."
17rm -f $RUNDIR/nemo.exe $NEMO_BUILD_DIR/AMM7_BLD_SCRATCH/BLD/bin/nemo.exe
18./makenemo -m $ARCH -n AMM7_BLD_SCRATCH clean_config
19
20echo "Building NEMO-FABM..."
21./makenemo -m $ARCH -r AMM7_FABM_ERSEM -n AMM7_BLD_SCRATCH > $RUNDIR/compile.log && mv $NEMO_BUILD_DIR/AMM7_BLD_SCRATCH/BLD/bin/nemo.exe $RUNDIR/ && echo "Done."
Note: See TracBrowser for help on using the repository browser.