Created
October 23, 2019 17:23
-
-
Save vamatya/af4760e86d8e3a41354bfc51d990ada8 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
### Begin BSUB Options | |
#BSUB -P GEN135 | |
#BSUB -J sgd_out | |
#BSUB -W 1:59 | |
#BSUB -nnodes 1 | |
#BSUB -alloc_flags "smt1" | |
### End BSUB Options and begin shell commands | |
export folder_name="/gen135" | |
export output_dir="$MEMBERWORK$folder_name" | |
export executable="/autofs/nccsopen-svm1_home/vamatya/vector-function/src/bm_apps/build/StandaloneProto" | |
for bus in 10 | |
#100 1000 10000 10000 100000 | |
do | |
for threads in 16 | |
#2 4 8 16 32 | |
do | |
outputfile=${output_dir}/standalone_Nbus_${bus}_threads_${threads} | |
#touch ${outputfile} | |
export OMP_NUM_THREADS=$threads | |
jsrun --nrs 1 --tasks_per_rs 1 --cpu_per_rs $threads --gpu_per_rs 1 --rs_per_host 1 --latency_priority CPU-CPU --launch_distribution packed --bind rs js_task_info $executable $bus > ${outputfile} | |
done | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment