Hostfile should look like:

master slots=4 max-slots=4
compute-0-0 slots=4 max-slots=4
compute-0-1 slots=4 max-slots=4
compute-0-2 slots=4 max-slots=4
compute-0-3 slots=4 max-slots=4
compute-0-4 slots=4 max-slots=4
compute-0-5 slots=4 max-slots=4
compute-0-6 slots=4 max-slots=4

so its format is:

node name, #cpus or cores you want to use on that node, maximum number of
cpus or cores on that node.

You can locate

openmpi-default-hostfile

file and put this info in it or you can create your own file (say hfile),
put it in some directory and then run

mpirun -np 8 -hostfile hfile mdrun ...

see the openMPI web site for more info

http://www.open-mpi.org/

Jim


-----Original Message-----
From: [email protected] [mailto:[email protected]]
On Behalf Of Thamu
Sent: Thursday, June 11, 2009 10:54 AM
To: [email protected]
Subject: [gmx-users] Re: gromacs-4.0.5 parallel run in 8 cpu: slow speed

Hi,
 


        i am using openmpi, how to build hostfile and where keep that file
        
        thamu
        
        



_______________________________________________
gmx-users mailing list    [email protected]
http://lists.gromacs.org/mailman/listinfo/gmx-users
Please search the archive at http://www.gromacs.org/search before posting!
Please don't post (un)subscribe requests to the list. Use the 
www interface or send it to [email protected].
Can't post? Read http://www.gromacs.org/mailing_lists/users.php

Reply via email to