Discussion:
[OMPI users] Cannot run mpirun on ubuntu 16.10
john jomo via users
2017-04-20 22:11:22 UTC
Permalink
Hi guys,

I updated my ubuntu version to ubuntu 16.10 and cannot execute programs
with mpirun anymore :(.
I did not encounter this problem with ubuntu 16.04 and would really
appreciate some help.

I am running ubuntu 16.10 with the kernel version 4.8.0-46-generic on a
Lenovo y50-70 laptop with the current version of openmpi available via
apt-get libopenmpi1.10 openmpi-dev openmpi-bin

my code compiles and links perfectly, I only get trouble when trying to
launch with mpirun. I can even run a simple hello world mpi code.

_running: mpirun -np 2 ./helloWord:_
When I run mpirun -np 2 ./progname my program does not even launch. The
terminal remains blank and I cannot even kill the processes in htop with
kill PID or kill -9 PID. Rebooting or shutting down ubuntu via the
shutdown button on the ubuntu desktop has no effect and I have to
manually shutdown by holing down the power button.

_running mpirun -np 1 hostname:_
It works on the first run but subsequent runs are killed immediately.
The output looks something like this

$ mpirun -np 1 hostname
Killed


Has anyone experienced something like this before?

Thanks in advance

John.
Gilles Gouaillardet
2017-04-20 22:37:13 UTC
Permalink
John,

can you run
free
before the first command and make sure you have all the physical and
available memory you expect ?

then, after a failed
mpirun -np 1 ./helloWorld
can you run
dmesg
and look for messages from the OOM killer ?
that would indicate you are running out of memory.

maybe some unexpected things happen during the upgrade
(new services are now enabled, process limits were changed, new kernel is
way more memory hungry, swap was disabled, memory oversubscription
parameters were updated, or some of your memory is no more detected)

Cheers,

Gilles
Post by john jomo via users
Hi guys,
I updated my ubuntu version to ubuntu 16.10 and cannot execute programs
with mpirun anymore :(.
I did not encounter this problem with ubuntu 16.04 and would really
appreciate some help.
I am running ubuntu 16.10 with the kernel version 4.8.0-46-generic on a
Lenovo y50-70 laptop with the current version of openmpi available via
apt-get libopenmpi1.10 openmpi-dev openmpi-bin
my code compiles and links perfectly, I only get trouble when trying to
launch with mpirun. I can even run a simple hello world mpi code.
*running: mpirun -np 2 ./helloWord:*
When I run mpirun -np 2 ./progname my program does not even launch. The
terminal remains blank and I cannot even kill the processes in htop with
kill PID or kill -9 PID. Rebooting or shutting down ubuntu via the shutdown
button on the ubuntu desktop has no effect and I have to manually shutdown
by holing down the power button.
*running mpirun -np 1 hostname:*
It works on the first run but subsequent runs are killed immediately. The
output looks something like this
$ mpirun -np 1 hostname
Killed
Has anyone experienced something like this before?
Thanks in advance
John.
Loading...