[Wrf-users] WRF running parallel in cluster

Bart Brashers bbrashers at Environcorp.com
Mon Apr 4 09:48:29 MDT 2011


Are you using any queuing system like SGE, Torque, PBS, etc.?  In
OpenMPI, the mpirun (and mpiexec) are really just links to orterun.
Orterun is smart enough to get the list of hostnames to use from the
queuing system.

 

If you're not using a queuing system, then you need to tell orterun
which machines to use.  There's several ways, see `man orterun`.  You
could do any of these:

 

# cat hosts.txt

machine1

machine1

machine2

machine2

# orterun -np 4 -hostfile hosts.txt wrf.exe

# mpirun -np 4 -machinefile hosts.txt wrf.exe

# orterun -np 4 -host machine1,machine1,machine2,machine2 wrf.exe

 

Bart Brashers

 

From: wrf-users-bounces at ucar.edu [mailto:wrf-users-bounces at ucar.edu] On
Behalf Of Ahsan Ali
Sent: Friday, April 01, 2011 8:17 PM
To: wrfhelp
Subject: [Wrf-users] WRF running parallel in cluster

 

Hello,

 

 I want to run WRF on multiple nodes in a linux cluster using openmpi,
giving the command mpirun -np 4 ./wrf.exe just submit it to the single
node . I don't know how to run it on other nodes as well. Help needed.

 

Regards,



-- 
Syed Ahsan Ali Bokhari 
Electronic Engineer (EE)


Research & Development Division
Pakistan Meteorological Department H-8/4, Islamabad.
Phone # off  +92518358714

Cell # +923155145014

 



This message contains information that may be confidential, privileged or otherwise protected by law from disclosure. It is intended for the exclusive use of the Addressee(s). Unless you are the addressee or authorized agent of the addressee, you may not review, copy, distribute or disclose to anyone the message or any information contained within. If you have received this message in error, please contact the sender by electronic reply to email at environcorp.com and immediately delete all copies of the message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/wrf-users/attachments/20110404/8eda2452/attachment.html 


More information about the Wrf-users mailing list