https://bugzilla.novell.com/show_bug.cgi?id=471923 Summary: Open MPI: After update, mpif90 is no longer found and mpi-selector --list is empty Classification: openSUSE Product: openSUSE 11.2 Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: pth@novell.com ReportedBy: burnus@gmx.de QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.0.5) Gecko/2008121300 SUSE/3.0.5-2.14 Firefox/3.0.5 That is a long standing problem with Open MPI / mpi-selector. Every time I update Factory, the "mpif90" command is no longer available. $ mpi-selector --list # Empty!!! $ mpi-selector --query default:openmpi-1.2.8 level:system $ Actually, I'm not 100% sure whether it occurs every time when I do a factory update, which updates openmpi; but every time I try to use mpif90/mpicc it does not work with the above result. * * * By itself, the post install and preuninstall scripts look OK, though I think they will break if the Open MPI version changes. Maybe one should also do in the pre-uninstall script: ---------------------------------------------- if [ `mpi-selector --query --system|grep default|cut -f2 -d:` = openmpi-%version ]; then mpi-selector --system --unset fi ---------------------------------------------- That should work. If one does an update, the --query has no output and the new (or same version) is set. (That won't help with the problem that the list is empty - I don't see how this can happen but it does.) Current scripts: --------------------------------------------------------------------- postinstall scriptlet (using /bin/sh): /sbin/ldconfig /usr/bin/mpi-selector \ --register openmpi-1.2.8 \ --source-dir /usr/lib64/mpi/gcc/openmpi/bin \ --yes if [ "`/usr/bin/mpi-selector --system --query`" = '' ]; then /usr/bin/mpi-selector \ --system \ --set openmpi-1.2.8 fi preuninstall scriptlet (using /bin/sh): /usr/bin/mpi-selector --unregister openmpi-1.2.8 --yes postuninstall scriptlet (using /bin/sh): /sbin/ldconfig Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.