#!/bin/bash

#SBATCH --time=03:00:00
#SBATCH --nodes=1
#SBATCH --exclusive
#SBATCH --ntasks=56
#SBATCH --partition=dev-g
#SBATCH --account=project_465000454
#SBATCH --gpus-per-node=8
#SBATCH --output=rebuild.out
#SBATCH --error=rebuild.err

NEMO_REBUILD_EXE=${NEMO_REBUILD_EXE:-"/pfs/lustrep3/scratch/project_465000454/kkeller/lab/rebuild_nemo/nemo/tools/REBUILD_NEMO/BLD/bin/mpp_rebuild_nemo.exe"}

srun --ntasks=8 $NEMO_REBUILD_EXE nam_grid_U
srun --ntasks=8 $NEMO_REBUILD_EXE nam_grid_V
srun --ntasks=8 $NEMO_REBUILD_EXE nam_grid_T
srun --ntasks=8 $NEMO_REBUILD_EXE nam_icemod
