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] run a program
From: jody (jody.xha_at_[hidden])
Date: 2014-02-26 05:02:15


Hi Raha
Yes, that is correct.
You have to make sure that max-slots is less or equal to the number of cpus
in the node to avoid oversubscribing it.

Have a look at the other entries in the FAQ, they give information on many
other options you can use.
   http://www.open-mpi.org/faq/?category=running

Jody

On Wed, Feb 26, 2014 at 10:38 AM, raha khalili <khadije.khalili_at_[hidden]>wrote:

> Dear Jody
>
> Thank you for your reply. Based on hostfile examples you show me, I
> understand 'slots' is number of cpus of each node I mentioned in the file,
> am I true?
>
> Wishes
>
>
> On Wed, Feb 26, 2014 at 1:02 PM, jody <jody.xha_at_[hidden]> wrote:
>
>> Hi
>> I think you should use the "--host" or "--hostfile" options:
>> http://www.open-mpi.org/faq/?category=running#simple-spmd-run
>> http://www.open-mpi.org/faq/?category=running#mpirun-host
>> Hope this helps
>> Jody
>>
>>
>> On Wed, Feb 26, 2014 at 8:31 AM, raha khalili <khadije.khalili_at_[hidden]>wrote:
>>
>>> Dear Users
>>>
>>> This is my first post in open-mpi forum and I am beginner in using mpi.
>>> I want to run a program which does between 4 systems consist of one
>>> server and three nodes with 20 cpus. When I run: *mpirun -np 20
>>> /home/khalili/espresso-5.0.2/bin/pw.x -in si.in <http://si.in> | tee si.out*, after writing htop from terminal, it seems the program doesn't use cpus
>>> of three other nodes and just use the cpus of server. Could you tell me
>>> please how do I can use all my cpus.
>>>
>>> Regards
>>> --
>>> Khadije Khalili
>>> Ph.D Student of Solid-State Physics
>>> Department of Physics
>>> University of Mazandaran
>>> Babolsar, Iran
>>> kh.khalili_at_[hidden]
>>>
>>>
>>> _______________________________________________
>>> 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
>>
>
>
>
> --
> Khadije Khalili
> Ph.D Student of Solid-State Physics
> Department of Physics
> University of Mazandaran
> Babolsar, Iran
> kh.khalili_at_[hidden]
>
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>