Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

openmpi on ubuntu

147 views
Skip to first unread message

Joris Pinkse

unread,
May 4, 2012, 12:48:25 PM5/4/12
to
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

unread,
Jul 20, 2012, 1:32:39 PM7/20/12
to
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
--
This signature was intentionally left almost blank.
http://www.this-page-intentionally-left-blank.org/
0 new messages