From aea5adba11a620e8cbcdbe9e5104fa4d6e9ba175 Mon Sep 17 00:00:00 2001 From: DJ Passey Date: Thu, 29 Feb 2024 10:29:15 -0500 Subject: [PATCH] small tweaks to submit scripts --- experiments/exp1/single_slurm_job.sh | 2 +- experiments/exp1/slurm_submit.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/experiments/exp1/single_slurm_job.sh b/experiments/exp1/single_slurm_job.sh index f97227d..31e4cf8 100755 --- a/experiments/exp1/single_slurm_job.sh +++ b/experiments/exp1/single_slurm_job.sh @@ -9,6 +9,6 @@ source exp1_venv/bin/activate pip install --upgrade pip pip install -r /nas/longleaf/home/djpassey/interfere/experiments/exp1/requirements.txt -pip install /nas/longleaf/home/djpassey/interfere/ +pip install git+https://www.github.com/djpasseyjr/interfere.git python /nas/longleaf/home/djpassey/interfere/experiments/exp1/generate_data.py $1 diff --git a/experiments/exp1/slurm_submit.sh b/experiments/exp1/slurm_submit.sh index 75a87f5..ca0a173 100755 --- a/experiments/exp1/slurm_submit.sh +++ b/experiments/exp1/slurm_submit.sh @@ -4,10 +4,10 @@ HOURS_PER_SIM=24 # Directory to store the output data DATADIR="/work/users/d/j/djpassey/interfere_exp1" +GIGS=32 # Arguments for sbatch. Sets the appropriate time limit and directory -FLAGS="--ntasks=1 --cpus-per-task=1 --time=$HOURS_PER_SIM:00:00 --chdir=$DATADIR" - +FLAGS="--ntasks=1 --mem=${GIGS}G --cpus-per-task=1 --time=$HOURS_PER_SIM:00:00 --chdir=$DATADIR" # Total number of jobs NJOBS=294 for((n=0; n<$NJOBS; n+=1)); do