Skip to content

Commit

Permalink
small tweaks to submit scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
djpasseyjr committed Feb 29, 2024
1 parent 272cc52 commit aea5adb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion experiments/exp1/single_slurm_job.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions experiments/exp1/slurm_submit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aea5adb

Please sign in to comment.