Skip to content

Instantly share code, notes, and snippets.

@xulman
Created February 3, 2021 09:27
Show Gist options
  • Save xulman/f4b80081a461e39a961654ce63dec23b to your computer and use it in GitHub Desktop.
Save xulman/f4b80081a461e39a961654ce63dec23b to your computer and use it in GitHub Desktop.
start 20 MitoGens
# create 20 runX folders
for i in `seq 1 20`; do mkdir -p run${i}; done
# submit 20 jobs, each in its own folder
for i in `seq 1 20`; do
cd run${i}
. /some/path/to/qsub/script mitogen params.....
cd ..
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment