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@forge.provo.novell.com ReportedBy: dkxls23@gmail.com QAContact: qa@suse.de 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_Order... [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.