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.