Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] run a program
From: raha khalili (khadije.khalili_at_[hidden])
Date: 2014-02-26 04:38:51


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]