Skip to content

Instantly share code, notes, and snippets.

@aarmea
Last active December 14, 2015 05:38
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
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