Hi,

In case Open MPI is moved to a different location than it was installed into 
initially, one has to export OPAL_PREFIX. While checking for the availability 
of the GridEngine integration, I exported OPAL_PREFIX but obviously with a typo 
and came to the conclusion that it's not available, as I did a:

$ export PATH=…
$ export LD_LIBRARY_PATH=…
$ export OPAL_PREFIX=anything_with_a_typo_or_nothing_at_all
$ ompi_info | grep grid

There was no indication, that `ompi_info` listed only part of the usual output 
because of the faulty OPAL_PREFIX. When I recheck now, even the exit code of 
`ompi_info` is still 0 in this case.

I suggest to include some tests in `ompi_info` whether the set OPAL_PREFIX 
makes sense. For now it lists just the set value in the "Prefix:" line and 
that's all.

Expected behavior: If `ompi_info` can't find any modules in the specified 
place, an appropriate output should go to stderr and the exit code set to 1.

-- Reuti

_______________________________________________
users mailing list
users@lists.open-mpi.org
https://rfd.newmexicoconsortium.org/mailman/listinfo/users

Reply via email to