I cannot reproduce this problem. Can we debug it further ?

(1) How did you execute it ? mpiexec command line , etc?

(2) Can you give the output of :

$ dpkg -l | grep pmix

$ dpkg -l | grep psm

Any changes to /etc/openmpi/* files or environmental variables

Best regards

Alastair


On 27/07/2018 23:53, Giacomo Mulas wrote:
Package: openmpi-bin
Version: 3.1.1.real-4+b1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

since the latest wave of package updates (gnu compilers big version switch +
new openmpi package) even the simplest code, compiled by mpicc.openmpi (or
mpif90.openmpi) hangs forever on first initialisation of MPI.  Even the
following "hello world" does it on my machine:

#include <mpi.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <stdio.h>
#include <math.h>
#include <ctype.h>
#include <unistd.h>


int main(int argc, char **argv){

   int nprocs=0, myrank=0, ierr=0;

ierr = MPI_Init( &argc, &argv);
   ierr = MPI_Comm_rank(MPI_COMM_WORLD, &myrank);
   ierr = MPI_Comm_size(MPI_COMM_WORLD, &nprocs);

   printf("MPI_Init call ok\n");
   printf("My rank is = %d\n", myrank);
   printf("number of procs is = %d\n", nprocs);
   printf("\n");
   ierr = MPI_Finalize();
   printf("MPI_Finalize call ok, returned %d\n", ierr);
   return 0;

}


Of course, this makes the package completely unusable for me.  I don't know
whether this can be related to bug #584699: in fact my laptop is not really
multihomed.  Please let me know if there is something I can do to help
pinpoint this.  By the way, the above snippet of code works perfectly if
compiled and run under mpich.


Best regards
Giacomo Mulas


-- System Information:
Debian Release: buster/sid
   APT prefers unstable
   APT policy: (401, 'unstable'), (10, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.17.8-jak (SMP w/4 CPU cores)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8) (ignored: LC_ALL 
set to it_IT.utf8), LANGUAGE=it_IT.utf8 (charmap=UTF-8) (ignored: LC_ALL set to 
it_IT.utf8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages openmpi-bin depends on:
ii  libc6                        2.27-5
ii  libevent-2.1-6               2.1.8-stable-4
ii  libevent-pthreads-2.1-6      2.1.8-stable-4
ii  libhwloc5                    1.11.10-3
ii  libopenmpi3                  3.1.1.real-4+b1
ii  openmpi-common               3.1.1.real-4+b1
ii  openssh-client [ssh-client]  1:7.7p1-3

openmpi-bin recommends no packages.

Versions of packages openmpi-bin suggests:
ii  gfortran  4:8.1.0-1

-- no debconf information

--
Alastair McKinstry, <alast...@sceal.ie>, <mckins...@debian.org>, 
https://diaspora.sceal.ie/u/amckinstry
Commander Vimes didn’t like the phrase “The innocent have nothing to fear,”
 believing the innocent had everything to fear, mostly from the guilty but in 
the longer term
 even more from those who say things like “The innocent have nothing to fear.”
 - T. Pratchett, Snuff

Reply via email to