Last active
December 14, 2015 05:38
-
-
Save aarmea/5036315 to your computer and use it in GitHub Desktop.
An attempt at deriving the script used to invoke Assignment 3 for Carothers' course in Parallel Programming and Computing at RPI on the provided Blue Gene/Q system
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 | |
# you should define your own $name_of_executable | |
$coresPerNode = 16 | |
for nodes in 4 8 16 32 64 | |
do | |
for ranksPerCore in 1 2 4 | |
do | |
srun -o output-$nodes-$ranksPerCore.txt --nodes=$nodes --ntasks=$((cores*ranksPerCore*coresPerNode)) --overcommit --runjob-opts="--mapping TEDCBA" ./$name_of_executable | |
done | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment