Discussion:
openmpi on ubuntu
(too old to reply)
Joris Pinkse
2012-05-04 16:48:25 UTC
Permalink
Hello,

I'm completely new to mpi and trying to run an mpi version of
hello_world on a single machine with 6 cores, using

mpirun -np 4 ./mpi_hello

It neither does anything nor returns. I'm using the openmpi (1.5)
packages that come with ubuntu 12.04.

What could be causing this? Is this a firewall issue? Any idea on how
I can resolve this?

Thanks!

J.

P.S.: Using my local machine to test my code before running jobs on a
cluster.
Georg Bisseling
2012-07-20 17:32:39 UTC
Permalink
MPI is only a standardized API, but it is not a binary or a wire protocol
standard.

That means, that the
- include files and libraries used when compiling,
- dynamic libraries used when running and
- the scripts used like mpirun
all have to be taken from the VERY(*) same MPI implementation.

Failing in doing so might be the most common source of problems.

(*) In case you know exactly what to do you may skip a minor version
number ;-)

Hope this helps
Georg
Post by Joris Pinkse
Hello,
I'm completely new to mpi and trying to run an mpi version of
hello_world on a single machine with 6 cores, using
mpirun -np 4 ./mpi_hello
It neither does anything nor returns. I'm using the openmpi (1.5)
packages that come with ubuntu 12.04.
What could be causing this? Is this a firewall issue? Any idea on how
I can resolve this?
Thanks!
J.
P.S.: Using my local machine to test my code before running jobs on a
cluster.
--
This signature was intentionally left almost blank.
http://www.this-page-intentionally-left-blank.org/
Loading...