Bug #1319
g_tune_pme assumes an MPI environment is available
Description
g_tune_pme -np 512 -nobench fails on machines (like BlueGene/Q) where you can only get an MPI environment via the queueing system. The routine that checks that mdrun works assumes it can do that check by running a quick MPI program, and does so regardless of -nobench.
Associated revisions
History
#1 Updated by Mark Abraham over 5 years ago
- Status changed from In Progress to Fix uploaded
#2 Updated by Mark Abraham over 5 years ago
- Status changed from Fix uploaded to Resolved
- % Done changed from 0 to 100
Applied in changeset b8c79db25cc22892257b917ce1f0b10d57e68ac6.
#3 Updated by Mark Abraham over 5 years ago
- Status changed from Resolved to Closed
Fixed g_tune_pme assumption that MPI is available
Refactored function with two distinct parts into two functions. This
makes it easy to call the part that checks that mdrun works only when
that check is necessary. Now g_tune_pme -np 512 -nobench works on
machines like BlueGene/Q where you might only be able to get the MPI
environment via the queuing system. g_tune_pme -nobench should work as
a stand-alone.
Fixes #1319
Change-Id: I7237800a1c67664c9253e5422a7b3f12f4ebd62f