OFP: mpimcexec: use MPI_LOCALNRANKS for ppn if available

This commit is contained in:
Balazs Gerofi
2018-06-07 08:49:03 +09:00
parent 3f26e44f85
commit ca9894108b

View File

@ -21,6 +21,10 @@ COMMAND=""
NUMA="" NUMA=""
HOSTFILE="" HOSTFILE=""
if [ ! -z "${MPI_LOCALNRANKS}" ]; then
PPN=${MPI_LOCALNRANKS}
fi
help_exit() { help_exit() {
echo "" echo ""
echo "Spawn an McKernel MPI job on Oakforest-PACS." echo "Spawn an McKernel MPI job on Oakforest-PACS."