open-mpi / mtt

MPI Testing Tool
https://open-mpi.github.io/mtt
Other
61 stars 47 forks source link

Using hostlist/hostfile should automatically set resource_manager to "none" #314

Closed ompiteam closed 10 years ago

ompiteam commented 10 years ago

Jelena reported on the mailing list:

{{{

Test run [netpipe] Running with [ompi-nightly-v1.2] / [1.2.4b1r16141] / [ompi/gnu-standard] Using MPI Details [ompi] with MPI Install [ompi/gnu-standard] Total of 1 tests to run in this section Test: NPmpi, np=2, variant=1: Passed * WARNING: Unrecognized resource manager name (hostfile); the only permitted names are: "slurm tm loadleveler n1ge none unknown"; skipped Test: NPmpi, np=2, variant=2: Passed * WARNING: Unrecognized resource manager name (hostfile); the only permitted names are: "slurm tm loadleveler n1ge none unknown"; skipped Test: NPmpi, np=2, variant=3: Passed }}}

Jelena is using a hostlist and apparently not setting resource_manager explicitly. In this case, MTT should be smart enough to set resource_manager to "none".

ompiteam commented 10 years ago

Imported from trac issue 313. Created by jsquyres on 2007-09-18T18:42:26, last modified: 2007-09-19T13:59:48

ompiteam commented 10 years ago

Trac comment by jsquyres on 2007-09-19 13:59:48:

(In [1038]) Fixes #313 (still need to commit to coll bakeoff branch). Add a new funclet &rm_name() that will return the name of the ''resource manager'' -- it will never return "hostfile" or "hostlist" (because these are not resource managers). In the case of hostfile/hostlist, &rm_name() will return "none". Otherwise, it will return exactly the same thing as &env_name().

I then changed the default value of the resource_manager field in the MPI Defaults section to be &rm_name() (instead of &env_name(), which is was before).