[Bug 665774] New: mpicc doesn't work if openmpi-devel is not installed
https://bugzilla.novell.com/show_bug.cgi?id=665774 https://bugzilla.novell.com/show_bug.cgi?id=665774#c0 Summary: mpicc doesn't work if openmpi-devel is not installed Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: All OS/Version: openSUSE 11.3 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: olenz@icp.uni-stuttgart.de QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0b9) Gecko/20100101 Firefox/4.0b9 The mpicc compiler wrapper of OpenMPI is installed as part of the RPM "openmpi". However, to be able to run it, it requires the MPI library libmpi, which is installed in the RPM "openmpi-devel", otherwise it returns an error in all cases. Suggested fix: make the compiler wrappers mpicc/mpicxx/mpiCC/etc. part of the openmpi-devel RPM, instead of the openmpi RPM. This error is worse than it appears on the first sight, as it will cause GNU packages that are looking for an MPI compiler fail with the error message "Your compiler is not able to produce running binaries.", which does not really explain the problem. Reproducible: Always Steps to Reproduce: 1. Install openmpi but not openmpi-devel. 2. Write a minimal C-Program (e.g. "int main() {}") 3. Compile it using mpicc ("mpicc main.c") Actual Results:
mpicc main.c /usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: cannot find -lmpi
collect2: ld returned 1 exit status
Expected Results: Compilation should run smoothly and not return an error. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=665774 https://bugzilla.novell.com/show_bug.cgi?id=665774#c wei wang <wewang@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wewang@novell.com AssignedTo|bnc-team-screening@forge.pr |pth@novell.com |ovo.novell.com | -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=665774 https://bugzilla.novell.com/show_bug.cgi?id=665774#c1 ahquo3roTa Beefpile <carthexis@yahoo.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |carthexis@yahoo.de OS/Version|openSUSE 11.3 |openSUSE 11.4 --- Comment #1 from ahquo3roTa Beefpile <carthexis@yahoo.de> 2011-06-21 15:10:22 UTC --- Confirmed in 11.4, mpicc does not work without openmpi-devel -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=665774 https://bugzilla.novell.com/show_bug.cgi?id=665774#c2 Armin Wehrfritz <dkxls23@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dkxls23@gmail.com --- Comment #2 from Armin Wehrfritz <dkxls23@gmail.com> 2011-12-13 22:10:58 UTC --- Confirmed on 12.1, mpirun/mpicc does not work without openmpi-devel -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=665774 https://bugzilla.novell.com/show_bug.cgi?id=665774#c3 Philipp Thomas <pth@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low Status|NEW |RESOLVED Version|Final |Factory Component|Other |Development AssignedTo|pth@suse.com |bnc-team-screening@forge.pr | |ovo.novell.com Resolution| |FIXED Target Milestone|--- |Factory Product|openSUSE 11.3 |openSUSE 12.2 --- Comment #3 from Philipp Thomas <pth@suse.com> 2012-01-12 17:22:57 CET --- Fixed in factory. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=665774 https://bugzilla.novell.com/show_bug.cgi?id=665774#c Philipp Thomas <pth@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pth@suse.com AssignedTo|bnc-team-screening@forge.pr |pth@suse.com |ovo.novell.com | -- 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.
participants (1)
-
bugzilla_noreply@novell.com