Bug 742753

Summary: mpiexec (4.3.1) is asking asking for libmpi.so.1 which is NOT present
Product: [openSUSE] openSUSE 12.1 Reporter: Forgotten User PZ4wA53Xsq <forgotten_PZ4wA53Xsq>
Component: BasesystemAssignee: E-mail List <bnc-team-screening>
Status: VERIFIED NORESPONSE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: jengelh
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: SUSE Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Forgotten User PZ4wA53Xsq 2012-01-21 17:06:06 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1

libmpi.so.0 should be libmpi.so.1
program compiled against openmpi also asks for libmpi_*.so.1
libmpi.so.0 should be libmpi.so.1
libmpi_*.so.0 should be libmpi_*.so.1  

Reproducible: Always

Steps to Reproduce:
1.run a program using mpi
2.
3.
Actual Results:  
cannot find libmpi.so.1, because only libmpi.so.0 is present

Expected Results:  
programs crash

The libraries (libmpi*) for version 4.3.1 are .so.1 libs
Comment 1 Kun Kun Zhang 2012-03-09 08:06:40 UTC
Long time no response.So closed.Feel free to reopen it.Thanks.
Comment 2 Jan Engelhardt 2012-03-10 07:44:32 UTC
(Revert bogus close.)
Comment 3 Jan Engelhardt 2012-03-10 07:49:59 UTC
Wilko, can you clarify your steps? I seem to be having no issue:

$ cat hw.c
#include <stdio.h>
#include <mpi.h>

int main(int argc, char *argv[]) {
  int numprocs, rank, namelen;
  char processor_name[MPI_MAX_PROCESSOR_NAME];

  MPI_Init(&argc, &argv);
  MPI_Comm_size(MPI_COMM_WORLD, &numprocs);
  MPI_Comm_rank(MPI_COMM_WORLD, &rank);
  MPI_Get_processor_name(processor_name, &namelen);

  printf("Process %d on %s out of %d\n", rank, processor_name, numprocs);

  MPI_Finalize();
}
$ /usr/lib64/mpi/gcc/openmpi/bin/mpicc hw.c -o hw
$ /usr/lib64/mpi/gcc/openmpi/bin/mpiexec $PWD/hw
Process 0 on seven out of 1
$ readelf -a hw | grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [libmpi.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libopen-rte.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libopen-pal.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libdl.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libnsl.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libutil.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libm.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libpthread.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
Comment 4 Kun Kun Zhang 2012-04-09 08:10:10 UTC
Long time no response,So closed.Feel free to reopen it.Thank you.