Description of problem: The OpenMPI package installs the module-related file /etc/modulefiles/openmpi-%{_arch}, which contains the non-replaced RPM macro %{_cc_name_suffix} in the definition of the MPI_COMPILER environment variable. Then, when the OpenMPI is loaded (e.g., 'module load openmpi-x86_64'), the MPI_COMPILER environment variable is not correctly set. It is set to 'openmpi-x86_64%{_cc_name_suffix}', where it should be set to 'openmpi-x86_64'. Version-Release number of selected component (if applicable): openmpi-1.3.3-6.fc12 How reproducible: Always Steps to Reproduce: 1. Install the OpenMPI package. 2. Load the OpenMPI module (e.g., 'module load openmpi-x86_64') 3. 'echo $MPI_COMPILER' => 'openmpi-x86_64%{_cc_name_suffix}' Actual results: The RPM macro %{_cc_name_suffix} has not been replaced during the RPM package build process. Expected results: 'echo $MPI_COMPILER' => 'openmpi-x86_64' Additional info: Simply adding a '?' (question mark) should do the trick, i.e., replacing 'openmpi-x86_64%{_cc_name_suffix}' by 'openmpi-x86_64%{?_cc_name_suffix}' I've had a look at the openmpi.spec, and all seems fine, though. So, I do not understand why that question mark ('?') does not appear in the generated module file.
Is this fixed in openmpi-1.4-4 ? According to the spec file, it should be.
(In reply to comment #1) > Is this fixed in openmpi-1.4-4 ? According to the spec file, it should be. I have not been able to test that version of OpenMPI, as that version failed to deliver on F12: http://koji.fedoraproject.org/koji/packageinfo?packageID=17 I shall have to test with the testing version (1.4.1): https://admin.fedoraproject.org/updates/F12/FEDORA-2010-0552?_csrf_token=ef624e8429c774dc617dc9f5e9f73d2963e87d6f If anyone would like to test the fix (on other Fedora versions than F12), it would be nice as well.
I'm building 1.4.1-2 for F-12. Can you try it? http://koji.fedoraproject.org/koji/taskinfo?taskID=1989318
(In reply to comment #3) > I'm building 1.4.1-2 for F-12. Can you try it? > http://koji.fedoraproject.org/koji/taskinfo?taskID=1989318 I confirm that this bug has been fixed for that version (1.4.1-2) on x86 architecture. So, we can close that bug. Thanks a lot!
openmpi-1.4.1-2.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/openmpi-1.4.1-2.fc12
openmpi-1.4.1-2.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.