openpmix / prrte

PMIx Reference RunTime Environment (PRRTE)
https://pmix.org
Other
35 stars 66 forks source link

mpiexec: --path broken #708

Closed abouteiller closed 3 years ago

abouteiller commented 3 years ago

Background information

Looking at all mpiexec options to see what works as intended. Found that the --path mpiexec option does not work.

What version of the PMIx Reference Server are you using? (e.g., v1.0, v2.1, git master @ hash, etc.)

Open MPI master

$ git show
d36977c9 (HEAD -> master, origin/master, origin/HEAD) Merge pull request #8296 from rhc54/topic/pmixv4 

$ git submodule
 2e3df8ee02bd21e20a3675f580eccc38cbe014a4 3rd-party/openpmix (v4.0.0rc1)
 f2b3d3495b72540a97c85311c289c4126657e738 3rd-party/prrte (dev-30794-gf2b3d349)

Please describe the system on which you are running


Details of the problem

$ salloc -N 4 -Ccauchy bin/mpiexec --path   /home/bouteill/ompi/benchmarks/imb/mpi-benchmarks  IMB-MPI1.u5 -npmin 32
Barrier
salloc: Granted job allocation 391591
salloc: Waiting for resource configuration
salloc: Nodes c[04-07] are ready for job
--------------------------------------------------------------------------
mpiexec was unable to find the specified executable file, and therefore
did not launch the job.  This error was first reported for process
rank 8; it may have occurred for other processes as well.

NOTE: A common cause for this error is misspelling a mpiexec command
      line parameter option (remember that mpiexec interprets the first
      unrecognized command line token as the executable).

Node:       c05
Executable: IMB-MPI1.u5
--------------------------------------------------------------------------

$ salloc -N 4 -Ccauchy bin/mpiexec    /home/bouteill/ompi/benchmarks/imb/mpi-benchmarks/IMB-MPI1.u5 -npmin 32 Barrier

salloc: Granted job allocation 391592
salloc: Waiting for resource configuration
salloc: Nodes c[04-07] are ready for job
#------------------------------------------------------------
#    Intel(R) MPI Benchmarks 2019 Update 1, MPI-1 part
#------------------------------------------------------------
jjhursey commented 3 years ago

Per teleconf Jan. 14, 2021

jjhursey commented 3 years ago

Per section 10.3.4 of the MPI 3.1 standard -path is:

Value is a directory or set of directories where the implementation should look for the executable. The format of path is determined by the implementation.

Per section 8.8 of the MPI 3.1 standard, this is a per-app-context option.