Skip to content

Commit

Permalink
Move env setting in to ECMWF batch settings
Browse files Browse the repository at this point in the history
  • Loading branch information
ewhelan committed Feb 13, 2024
1 parent 802af7b commit ef6287b
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions scripts/runfestat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ EOFUSAGE

}

set -e

NPROCX=-1
NPROCY=-1
THREADS=1
Expand Down Expand Up @@ -130,6 +132,10 @@ if [ ${HOST} == "ECMWF" ] ; then
#SBATCH --time=02:00:00
#
EXP=SURF_CARRA2_CY46
ENV=${HOME}/hm_home/$EXP
source ${ENV}/Env_system
export MPPEXEC="srun"
export NPROC=999
export NPROCX=1
Expand Down Expand Up @@ -179,14 +185,6 @@ else

fi

set -e
##
EXP=SURF_CARRA2_CY46
ENV=${HOME}/hm_home/$EXP

#source ${ENV}/Env_system


# Build the namelist
cat > fort.4 << EOF
&NAMFESTAT
Expand Down

0 comments on commit ef6287b

Please sign in to comment.