LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-23-2010, 01:51 PM   #1
linuxn3wb13
LQ Newbie
 
Registered: Sep 2010
Posts: 1

Rep: Reputation: 0
OpenMPI newbie question: how to run using PBS script?


Dear linuxquestions forum, I have been reading about how to run OpenMPI to send a job (a shell script) on multiple nodes, but cannot for the life of me figure out exactly how to tweak the script to be usable.

May anyone please give me an example as to how to do it? The one below is from OpenMPI FAQ. For example instead of trying to run an application, can I run an existing shell script instead (where ./hellompi is?).

Thank you.

Code:
#PBS -l nodes=4:ppn=1
#PBS -l walltime=2:00:00
#PBS -j oe

cd $PBS_O_WORKDIR

module load openmpi/gnu
mpirun ./hellompi
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cron newbie - getting simple echo script to run wakeboarder3780 Linux - Newbie 5 03-03-2009 01:57 PM
Newbie question: How to install or run gCVS cliftonm Linux - Desktop 1 12-26-2006 03:09 AM
Run Level 3 Font Size Question (NEWBIE) NoZlmAn72 Linux - Newbie 3 03-17-2005 02:45 PM
Newbie question! How to run a file ?? honet Linux - Newbie 3 11-18-2003 05:05 AM


All times are GMT -5. The time now is 09:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration