-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1a3cbc6
commit fbf74fb
Showing
3 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/sh | ||
|
||
# Expected number of hours to run one simulation (always overestimate so that slurm doesnt kill the sim) | ||
HOURS_PER_SIM=24 | ||
# Directory to store the output data | ||
DATADIR="/work/users/d/j/djpassey/interfere_exp1" | ||
|
||
# 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" | ||
|
||
# Total number of jobs | ||
NJOBS=300 | ||
for((n=0; n<$NJOBS; n+=1)); do | ||
# Submit the multiple parameter job script to the clusters | ||
sbatch $FLAGS /nas/longleaf/home/djpassey/interfere/experiments/exp1/single_slurm_job.sh $n | ||
done |