Skip to content
Snippets Groups Projects
Verified Commit 8737b99a authored by Jayesh Badwaik's avatar Jayesh Badwaik
Browse files

+ move things into submit script

parent 41a42bfc
No related branches found
No related tags found
No related merge requests found
Pipeline #203042 failed
......@@ -21,5 +21,5 @@ jedi:
- cmake --build build
- cmake --install build --prefix opt
- jutil env activate --project cjsc --budget zam
- srun --partition all "ulimit -l unlimited && opt/bin/scaler --size 65536"
- sbatch submit.job
#!/bin/bash -x
#SBATCH --job-name="scaler_execute_4"
#SBATCH --mail-user=
#SBATCH --mail-type=NONE
#SBATCH --nodes=1
#SBATCH --ntasks=4
#SBATCH --cpus-per-task=1
#SBATCH --time=00:05:00
#SBATCH --output=job.out
#SBATCH --error=job.err
#SBATCH --partition=all
#SBATCH --gres=NONE
ulimit -l unlimited
export OMP_NUM_THREADS="1"
module purge && module load Stages/2024 && module load GCC OpenMPI
JUBE_ERR_CODE=$?
if [ $JUBE_ERR_CODE -ne 0 ]; then
touch error
exit $JUBE_ERR_CODE
fi
srun --cpus-per-task=1 opt/bin/scaler --size 1024
JUBE_ERR_CODE=$?
if [ $JUBE_ERR_CODE -ne 0 ]; then
touch error
exit $JUBE_ERR_CODE
fi
JUBE_ERR_CODE=$?
if [ $JUBE_ERR_CODE -ne 0 ]; then
touch error
exit $JUBE_ERR_CODE
fi
touch ready
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment