Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: HELP setup on>>charmrun/mpirun & NAMD via torque: msg#00112

clustering.torque.user

Subject: Re: HELP setup on>>charmrun/mpirun & NAMD via torque

If you built namd with MPI charmrun will be a shell script and not a binnary (find out by running: file charmrun)

If you built it with mpi, then you dont need charm run, you can just do:

mpirun -np 4 namd2

as long as your mpirun is configured to use $PBS_NODEFILE or tm.

Brock Palen
Center for Advanced Computing
brockp@xxxxxxxxx
(734)936-1985


On Jul 25, 2007, at 10:17 AM, <Daniel.G.Roberts@xxxxxxxxxxxxxxxxxx> wrote:

Hello All
I am trying to perform namd runs using Torque/maui and Ihave several
questions regaring the charmrun/mpirun portion especially.

When I submit the script below>

qsub script.txt

I see this in this running inthe queue
[nm67371@bwdl01-m001 Test06Proc]$ qstat -n

bwdl01-m001.brw.pharma.aventis.com:
Req'd
Req'd Elap
Job ID Username Queue Jobname SessID NDS TSK
Memory Time S Time
-------------------- -------- -------- ---------- ------ ----- ---
------ ----- - -----
69.bwdl01-m001.brw.p nm67371 ghts TEST-Webex 9559 2 -- --
336:0 R 00:05
bwdl01-n014/1+bwdl01-n014/0+bwdl01-n013/1+bwdl01-n013/0
[nm67371@bwdl01-m001 Test06Proc]$

But, when I do a ps on both nodes 14 and 13 I only can find my PID on
node 14 and not node 13.
So any ideas on how I can properly parrellize my jobs?
What is the relationship between mpirun and charmrun?
Thanks for any advice!
Dan
PS..
The two different scripts below have the same type of behaviour


EXAMPLE Script #0ne
Script.txt

#!/bin/bash
#PBS -l nodes=2:ppn=2,walltime=336:00:00
#PBS -N TEST-Webexample
cd /global/bwsn001/home/users1/Dan/Muzet/Test06Proc
#
TMPDIR=/scratch/$PBS_JOBID
#
PROG=/global/bwsn002/software/ia32/namd/NAMD_2.6b1_Linux-i686/namd2
ARGS="+strategy USE_GRID"
IFILE="/global/bwsn001/home/users1/Dan/Muzet/Test06Proc/test.conf"
OFILE="/global/bwsn001/home/users1/Dan/Muzet/Test06Proc/test.log"
#
# # NP should always be: nodes*ppn from #PBS -l above
let NP=1*2
#
# # Full path to charmrun
CHARMRUN=/global/bw_2/software/ia32/namd/NAMD_2.6b1_Linux-i686/ charmrun
#
# # Preparing nodelist file for charmrun
export NODES=`cat $PBS_NODEFILE`
export NODELIST=nodelist
echo group main > $NODELIST
for node in $NODES ; do
echo host $node ++shell ssh >> $NODELIST
done
#
# # Execute the job using charmrun
$CHARMRUN $PROG $ARGS $IFILE +p$NP ++nodelist $NODELIST > $OFILE

OR
EXAMPLE Script #TWO
#PBS -N DAN2
#PBS -l nodes=2:ppn=2,walltime=48:00:00

#change to input directory
cd /global/bwsn001/home/users1/Dan/Muzet/Test06Proc

#run namd2 (this assumes namd2 is in my $PATH)
#mpirun -np 4 namd2 <configfile>

/global/bw_2/software/ia32/namd/NAMD_2.6b1_Linux-i686/charmrun ++p 6
++verbose ++nodelist $PBS_NODEFILE \
/global/bwsn002/software/ia32/namd/NAMD_2.6b1_Linux-i686/namd2\
/global/bwsn001/home/users1/nm67371/Muzet/Test06Proc/test.conf



#end


_______________________________________________
torqueusers mailing list
torqueusers@xxxxxxxxxxxxxxxx
http://www.supercluster.org/mailman/listinfo/torqueusers




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
user-groups.jax...    php.zend.framew...    os.solaris.open...    web.quixote.use...    java.openjdk.ho...    ietf.secmech/20...    gnu.glpk/2004-0...    recreation.cars...    network.smokepi...    linux.drivers.i...    cms.opencms.dev...    fonts.gfontview...    text.xml.soap.u...    voip.nist-sip/2...    debian.ports.hp...    xfree86.interna...    science.biology...    qnx.openqnx.dev...    mail.sylpheed.c...    busybox/bios/20...    emulators.kvm.s...    hardware.openco...    apple.fink.begi...    kde.german/2006...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation