Skip to content

Change default show-load-errors to "none"#3638

Merged
rhc54 merged 1 commit intoopenpmix:masterfrom
rhc54:topic/ld
Jun 27, 2025
Merged

Change default show-load-errors to "none"#3638
rhc54 merged 1 commit intoopenpmix:masterfrom
rhc54:topic/ld

Conversation

@rhc54
Copy link
Contributor

@rhc54 rhc54 commented Jun 27, 2025

We treat a NULL string as boolean "true", which means that the show-load-errors param was defaulting to "all". Change the default configuration option --with-show-load-errors to be "none" so we avoid that behavior.

Refs open-mpi/ompi#13314

We treat a NULL string as boolean "true", which means that
the show-load-errors param was defaulting to "all". Change
the default configuration option --with-show-load-errors
to be "none" so we avoid that behavior.

Signed-off-by: Ralph Castain <rhc@pmix.org>
@rhc54
Copy link
Contributor Author

rhc54 commented Jun 27, 2025

@hppritcha @jsquyres I haven't seen this before - is this something new? Don't believe the change here could impact finding the MPI library.

======================================================================
ERROR: testGetLib (test_package.TestMPIABI.testGetLib)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/work/openpmix/openpmix/test/test_package.py", line 119, in testGetLib
    result = mpiabi._get_mpiabi()
  File "/home/runner/work/openpmix/openpmix/build/lib.linux-x86_64-cpython-313/mpi4py/_mpiabi.py", line 258, in _get_mpiabi
    mpiabi = _get_mpiabi_from_libmpi(libmpi)
  File "/home/runner/work/openpmix/openpmix/build/lib.linux-x86_64-cpython-313/mpi4py/_mpiabi.py", line 217, in _get_mpiabi_from_libmpi
    lib = _dlopen_libmpi(libmpi)
  File "/home/runner/work/openpmix/openpmix/build/lib.linux-x86_64-cpython-313/mpi4py/_mpiabi.py", line 210, in _dlopen_libmpi
    raise RuntimeError("\n".join(errors))
RuntimeError: cannot load MPI library
/home/runner/.local/lib: cannot open shared object file: No such file or directory
/opt/hostedtoolcache/Python/3.13.5/x64/lib/libmpi.so: cannot open shared object file: No such file or directory
/opt/hostedtoolcache/Python/3.13.5/x64/lib/libmpi.so.12: cannot open shared object file: No such file or directory
/opt/hostedtoolcache/Python/3.13.5/x64/lib/libmpi.so.40: cannot open shared object file: No such file or directory
libmpi.so: cannot open shared object file: No such file or directory
libmpi.so.12: cannot open shared object file: No such file or directory
libmpi.so.40: cannot open shared object file: No such file or directory

@rhc54
Copy link
Contributor Author

rhc54 commented Jun 27, 2025

Appears to be a new test that was added to mpi4py, but it has a bug in it.

@rhc54 rhc54 merged commit 3657e41 into openpmix:master Jun 27, 2025
24 of 26 checks passed
@rhc54 rhc54 deleted the topic/ld branch June 27, 2025 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant