search for self-build mpirun in generic.run

Create issue
Issue #2460 open
Roland Haas created an issue

If no MPI stack is found ExternalLibraries/MPI will build its own MPI library and runtime tools and install eg the tools into `exe/sim/mpirun` which is the expected location for utilities build by thorns.

However generic.run does not use this mpirun meaning that in situations where MPI is not present (ie someone’s laptop) one has to manually edit RunScript

Pull request:

https://bitbucket.org/simfactory/simfactory2/pull-requests/46/generic-search-for-self-build-mpirun

adds exe/sim to PATH in generic.run so that, if present, mpirun from there is used.

Comments (5)

  1. Roland Haas reporter
    • changed status to open

    This breaks on the Jenkins serer since mpirun assumes that it can find other MPI tools (hydra_pmi_proxy specifically) in the same directory it itself resides.

    Reverting until a better solution is available.

  2. Log in to comment