Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
3
-
9223372036854775807
Description
When mpich and openmpi are both installed [on CentOS]
[shaun@cent8 lustre-wc-rel]$ yum list installed | grep mpi compiler-rt.x86_64 12.0.1-1.module_el8.5.0+2598+6a7729ff @appstream mpi-selector.x86_64 1.0.3-1.54103 @System mpich.x86_64 3.4.1-1.el8 @appstream mpich-devel.x86_64 3.4.1-1.el8 @appstream openmpi.x86_64 4.1.1-2.el8 @appstream openmpi-devel.x86_64 4.1.1-2.el8 @appstream rpm-mpi-hooks.noarch 8-2.el8 @appstream
rpmbuild --rebuild --without mpi
fails with a error like the following:
+++ /usr/bin/tclsh /usr/share/Modules/libexec/modulecmd.tcl sh load mpi/mpich-x86_64
Loading mpi/mpich-x86_64
ERROR: mpi/mpich-x86_64 cannot be loaded due to a conflict.
HINT: Might try "module unload mpi" first.
+ eval test 0 = '1;'
++ test 0 = 1
error: Bad exit status from /var/tmp/rpm-tmp.GG6c1Y (%build)