charmplusplus / charm

The Charm++ parallel programming system. Visit https://charmplusplus.org/ for more information.
Apache License 2.0
203 stars 49 forks source link

option to call mpiexec without passing -n procs #915

Closed jcphill closed 8 years ago

jcphill commented 8 years ago

Original issue: https://charm.cs.illinois.edu/redmine/issues/915


Add charmrun command line option to not pass -n to mpiexec, since most sites seem to use an mpiexec substitute that gets the process count directly from the environment. With these changes NAMD could be launched as (e.g.):

charmrun +pXXX ++mpiexec-no-n ++remote-shell poe namd2 ...

or (on Stampede):

charmrun +pXXX ++mpiexec-no-n ++remote-shell ibrun namd2

jcphill commented 5 years ago

Original date: 2015-12-05 05:55:25


Implemented in https://charm.cs.illinois.edu/gerrit/#/c/942/ https://github.com/UIUC-PPL/charm/commit/3b59f9fa8306dd103b75a0403cbd20d5ff741f9d