#!/usr/bin/env bash #SBATCH -J sette #SBATCH -o sette.%j.out #SBATCH -e sette.%j.err #SBATCH --export=ALL #SBATCH --parsable #SBATCH --exclusive #SBATCH -N 1 ##SBATCH --time=00:30:00 #SBATCH --time=00:15:00 ##SBATCH -p debug64 ##SBATCH -A smer ##SBATCH --qos=debug #SBATCH -p normal256 ##SBATCH -A cmems ##SBATCH --qos=coper # Test specific settings. Do not hand edit these lines; the fcm_job.sh script will set these # (via sed operating on this template job file). # echo " "; export XIO_HOME="/home/ext/mr/smer/samsong/SRC/XIOS/xios-2.5/BEL_INTEL18_r1900" O_PER_NODE=32 X_PER_NODE=8 OCORES=NPROCS XCORES=NXIOPROCS if [ $OCORES -le 32 ] ; then O_PER_NODE=$OCORES; fi export SETTE_DIR=DEF_SETTE_DIR ############################################################### # # # load sette functions (only post_test_tidyup needed) # . ${SETTE_DIR}/all_functions.sh ############################################################### # # modules to load module purge module load intel/2018.5.274 module load intelmpi/2018.5.274 module load phdf5/1.10.5 module load netcdf_par/4.7.1 # Don't remove neither change the following line # BODY # # Test specific settings. Do not hand edit these lines; the fcm_job.sh script will set these # (via sed operating on this template job file). Note that the number of compute nodes required # is also set by the fcm_job.sh on the PBS select header line above. # # These variables are needed by post_test_tidyup function in all_functions.sh # export INPUT_DIR=DEF_INPUT_DIR export CONFIG_DIR=DEF_CONFIG_DIR export TOOLS_DIR=DEF_TOOLS_DIR export NEMO_VALIDATION_DIR=DEF_NEMO_VALIDATION export NEW_CONF=DEF_NEW_CONF export CMP_NAM=DEF_CMP_NAM export TEST_NAME=DEF_TEST_NAME export EXE_DIR=DEF_EXE_DIR ulimit -a ulimit -s unlimited # # end of set up ############################################################### # # change to the working directory # cd $EXE_DIR echo Running on host `hostname` echo Time is `date` echo Directory is `pwd` # # Run the parallel MPI executable # if [ $XCORES -gt 0 ]; then # # Run MPMD case # #XIOS will run on a separate node so will run in parallel queue if [ ! -f ./xios_server.exe ] && [ -f ${XIO_HOME}/bin/xios_server.exe ]; then cp ${XIO_HOME}/bin/xios_server.exe . fi if [ ! -f ./xios_server.exe ]; then echo "./xios_server.exe not found" echo "run aborted" exit fi # cat > mpmd.conf < mpmd.conf <