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....@gmail.com> 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.khal...@gmail.com>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.khal...@stu.umz.ac.ir
>>
>>
>> _______________________________________________
>> users mailing list
>> us...@open-mpi.org
>> http://www.open-mpi.org/mailman/listinfo.cgi/users
>>
>
>
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> 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.khal...@stu.umz.ac.ir

Reply via email to