Skip to content

Instantly share code, notes, and snippets.

@aarmea
Last active December 14, 2015 05:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aarmea/5036315 to your computer and use it in GitHub Desktop.
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
#!/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