Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Problem with running openMPI program
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2009-04-23 08:38:53


MPI is an API specification, meaning that correctly-written MPI
applications are source-code compatible across all MPI
implementations. Hence, these tutorial examples will compile and run
with Open MPI just as well as they will with LAM/MPI (I actually
helped write those tutorial examples several years ago :-) ).

You just need to be sure to recompile/re-link each MPI application
with the MPI implementation that you want to use. For example, you
can't compile an MPI application with LAM and use Open MPI's "mpirun"
to run it -- you need to compile with Open MPI and run with Open MPI's
mpirun.

Make sense?

On Apr 23, 2009, at 8:04 AM, Ankush Kaul wrote:

> i have gone through that course, but i still am not at a stage where
> i can develop a MPI program, so was looking for some IP programs on
> the net.
>
> Will try the imageproc.c program which i found http://lam-mpi.lzu.edu.cn/tutorials/nd/part1/
>
> hope it runs on openmpi.
>
>
>
> On Thu, Apr 23, 2009 at 5:07 PM, Jeff Squyres <jsquyres_at_[hidden]>
> wrote:
> Yes, they will run. Note that these are toy image processing
> examples; they are no substitute for a real image processing
> application.
>
> You might want to look at a full MPI tutorial to get an
> understanding of MPI itself:
>
> http://ci-tutor.ncsa.uiuc.edu/login.php
>
> Register (it's free), login, and look for the Introduction to MPI
> tutorial. It's quite good.
>
>
>
>
> On Apr 23, 2009, at 6:59 AM, Ankush Kaul wrote:
>
> I found some programs on this link : http://lam-mpi.lzu.edu.cn/tutorials/nd/part1/
>
> will these program run on my openmpi cluster?
>
> actually i want to run some image processing program on my cluster,
> as i cannot write the entire code of the program can anyone tell
> where can i get ip programs.
>
> I know this is the wrong place to ask but thought would give it a
> try as i cannot find anything on the net.
>
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>
>
> --
> Jeff Squyres
> Cisco Systems
>
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users

-- 
Jeff Squyres
Cisco Systems