Last active
October 23, 2019 15:01
-
-
Save prehensilecode/f1130de2c1a38ff499402756e7bf6798 to your computer and use it in GitHub Desktop.
Convert Grid Engine PE_HOSTFILE to Open MPI hostfile
This file contains hidden or 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 | |
| awk '{print $1, "slots=" $2, "maxslots=" $2}' ${PE_HOSTFILE} > myhostfile.${JOB_ID} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
According to the doc it should be "max_slots" and not "maxslots"