ofi-cray / fab-utils

Random useful stuff for using and developing the libfabric GNI provider
1 stars 7 forks source link

Select the correct CCM nodelist file #33

Closed sungeunchoi closed 7 years ago

sungeunchoi commented 7 years ago

The nodelist filename is determined via the PBS or SLURM jobid, and there can be more than one in the .crayccm directory if you're running more than one CCM job at a time. This commit tries to select the correct CCM nodelist file via PBS and SLURM environment variables, and if that fails, falls back to the old method.

Note that I made the nodlist file an argument to the ccmlogin script because once in ccmlogin under PBS the jobid changes.

@tonyzinger