Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [OMPI users] Problem with running openMPI program
From: Gus Correa (gus_at_[hidden])
Date: 2009-04-13 12:18:06

Ankush Kaul wrote:
> I am able to run the program on de server node, but in de compute node
> the program only runs in the directory on which the de /work is mounted
> (/work on de server contains de Pi program).
> Also while running Pi it shows de process running only on server not
> compute node(using top)
Hi Ankush, list

I am not sure I understand your machine setup,
but maybe it is a "server" machine and a "compute node"
somehow connected through a network
(or directly by an Ethernet cable), right?

If that is the case, yes you will be able to launch a program with
mpirun on the server machine, but it will only run in the compute node
if the work directory is mounted by the compute node.
This is the preferred way to run MPI programs.

If you want to run on a directory that is not exported to and mounted on
the compute node, you have to copy over all files (executable, input
files, etc) to that directory on the compute node.
This is not as comfortable a way to run MPI programs as the alternative

Moreover, you need to tell mpiexec where you want the processes to run.
There are two basic ways to do this.
You can specify the nodes on the command line with the -host option,
or you can specify them in a file with the -hostfile option.
Do "mpiexec --help" to learn the details.

I hope this helps.

Gus Correa
Gustavo Correa
Lamont-Doherty Earth Observatory - Columbia University
Palisades, NY, 10964-8000 - USA

> On Sat, Apr 11, 2009 at 1:34 PM, Ankush Kaul <ankush.rkaul_at_[hidden]
> <mailto:ankush.rkaul_at_[hidden]>> wrote:
> can you please suggest a simple benchmarking software, are there any
> gui benchmarking softwares available?
> On Tue, Apr 7, 2009 at 2:29 PM, Ankush Kaul <ankush.rkaul_at_[hidden]
> <mailto:ankush.rkaul_at_[hidden]>> wrote:
> Thank you sir, thanks a lot.
> The information you provided helped us a lot. Am currently going
> through the OpenMPI FAQ and will contact you in case of any doubts.
> Regards,
> Ankush Kaul
> ------------------------------------------------------------------------
> _______________________________________________
> users mailing list
> users_at_[hidden]