diff options
author | Logan Hunt <loganhunt@simponic.xyz> | 2021-12-08 18:52:57 -0700 |
---|---|---|
committer | Logan Hunt <loganhunt@simponic.xyz> | 2021-12-08 18:52:57 -0700 |
commit | 598b23f1045f1dcb3a62882ce93149dfef5cf3e9 (patch) | |
tree | 0d24f37d7805eb8bca84950b0caf39a4a402c983 | |
parent | 6e56533c3d49f632e92fe9551b777919dc7d5cc3 (diff) | |
download | gol-598b23f1045f1dcb3a62882ce93149dfef5cf3e9.tar.gz gol-598b23f1045f1dcb3a62882ce93149dfef5cf3e9.zip |
Reset timing study script
-rw-r--r-- | mpi/timing-study/timing_study.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mpi/timing-study/timing_study.sh b/mpi/timing-study/timing_study.sh index 4076257..91f3c90 100644 --- a/mpi/timing-study/timing_study.sh +++ b/mpi/timing-study/timing_study.sh @@ -1,9 +1,9 @@ #!/bin/bash #SBATCH --time=0:20:00 # walltime, abbreviated by -t -#SBATCH --nodes=1 # number of cluster nodes, abbreviated by -N +#SBATCH --nodes=24 # number of cluster nodes, abbreviated by -N #SBATCH -o slurm-%j.out-%N # name of the stdout, using the job number (%j) and the first node (%N) #SBATCH -e slurm-%j.err-%N # name of the stderr, using job and first node values -#SBATCH --ntasks=1 # number of MPI tasks, abbreviated by -n +#SBATCH --ntasks=2 # number of MPI tasks, abbreviated by -n # additional information for allocated clusters #SBATCH --account=usucs5030 # account - abbreviated by -A #SBATCH --partition=kingspeak # partition, abbreviated by -p @@ -15,9 +15,9 @@ module load intel mpich iterations=1000 -for cores in 1 #12 16 20 24 +for cores in 1 4 8 12 16 20 24 do - for size in 1000 1250 1500 1750 2000 #250 500 750 1000 1250 1500 1750 2000 + for size in 250 500 750 1000 1250 1500 1750 2000 do mpirun -np $cores ./gol simulate random $size $size $iterations 1 > timing-study/output-$cores-$iterations-$size.txt done |