Mailinglist Archive: opensuse-bugs (4255 mails)

< Previous Next >
[Bug 736622] New: mpi (i.e. mpirun, mpicc, ...) does not work after upgrade
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 13 Dec 2011 22:32:50 +0000
  • Message-id: <bug-736622-21960@http.bugzilla.novell.com/>

https://bugzilla.novell.com/show_bug.cgi?id=736622

https://bugzilla.novell.com/show_bug.cgi?id=736622#c0


Summary: mpi (i.e. mpirun, mpicc, ...) does not work after
upgrade
Classification: openSUSE
Product: openSUSE 12.1
Version: Final
Platform: All
OS/Version: openSUSE 11.4
Status: NEW
Severity: Major
Priority: P5 - None
Component: Development
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: dkxls23@xxxxxxxxx
QAContact: qa@xxxxxxx
Found By: ---
Blocker: ---


User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20100101
Firefox/8.0

Problem: After an upgrade of the openmpi package the mpi-tools don't work any
more! More specific, the mpi binaries are not anymore in the PATH!

Cause: The %postun scriptlet which "unregisters" the path of the mpi binaries
is run after the %post scriplet which "registers" the path of the mpi binaries.
This is the normal execution order as it is described here [1].

Solution: Check when executing the %post and %postun scriplets if it is an
upgrade, install or uninstall. This can be done by using the arguments
implicitly passed to the scriplets as described in [2] or more precisely in
[3].

[1]
http://en.opensuse.org/openSUSE:Packaging_scriptlet_snippets#Scriptlet_Ordering
[2] http://en.opensuse.org/openSUSE:Packaging_scriptlet_snippets#Syntax
[3] http://lists.rpm.org/pipermail/rpm-maint/2009-March/002384.html


Reproducible: Always

Steps to Reproduce:
1. upgrade the openmpi package

Actual Results:
mpi does not work anymore, i.e. the mpi binaries are NOT any more in the PATH

Expected Results:
mpi works, i.e. the mpi binaries are in the PATH

This bug occurs at least in openSUSE 11.4 and 12.1!

--
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.

< Previous Next >
This Thread
  • No further messages