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: can't get more than one processor per node: msg#00120

clustering.torque.user

Subject: Re: can't get more than one processor per node

I think I see your problem. You are using mpirun, which needs the host file
specified, otherwise it will only run on the first node, but run the total
number of processes requested.

Same submit file, but for mpirun

---------------------------

#!/bin/bash
#PBS -u user_name
#PBS -l nodes=1:ppn=8
#PBS -o $PBS_JOBNAME.out
#PBS -e $PBS_JOBNAME.err

#How many procs do I have?
NP=$(wc -l $PBS_NODEFILE | awk '{print $1}')

#cd into the directory where I typed qsub
cd $PBS_O_WORKDIR

#run executable
mpirun -np $NP -machinefile $PBS_NODEFILE executable

---------------------------

Don

----- Original Message -----
From: "Adams, Samuel D Contr AFRL/HEDR" <Samuel.Adams@xxxxxxxxxxxxx>
Date: Thursday, July 26, 2007 11:26 am
Subject: [torqueusers] can't get more than one processor per node
To: torqueusers@xxxxxxxxxxxxxxxx

> I have 8 cores per node. I think I have torque configured to know
> thateach node has 8 cores.
> ## from pbsnodes ##
> prodnode3.brooks.af.mil
> state = job-exclusive
> np = 8
> ntype = cluster
> jobs = 0/52.prodnode1.brooks.af.mil,
> 1/52.prodnode1.brooks.af.mil,2/52.prodnode1.brooks.af.mil,
> 3/52.prodnode1.brooks.af.mil,4/52.prodnode1.brooks.af.mil,
> 5/52.prodnode1.brooks.af.mil, 6/52.prodnode1.brooks.af.mil,
> 7/52.prodnode1.brooks.af.mil status = opsys=linux,uname=Linux
> prodnode3.brooks.af.mil2.6.18-8.1.4.el5 #1 SMP Thu May 17 03:16:52
> EDT 2007
> x86_64,sessions=3059 3205 3237,nsessions=3,nusers=1,idletime=162
> ,totmem=18472040kb,availmem=18211688kb,physmem=16440432kb,ncpus=8,loadav
> e=0.67,netload=34049366,state=free,jobs=52.prodnode1.brooks.af.mil,recti
> me=1185484866
>
> But, whenever I try to run a job some nodes, it only runs on one
> processor for some reason. I have this basic test script that
> contains:
> [sam@prodnode3 all]$ cat script.sh
> #PBS -l nodes=1
> `mpirun /home/sam/code/fdtd/fdtd_0.3/fdtd -t
> /home/sam/code/fdtd/fdtd_0.3/test_files/tissue.txt -r
> /home/sam/code/fdtd/fdtd_0.3/test_files/sphere_brain_10_pad_x0110y0110z0
> 110.raw -v -f 2000 --pw 90,0,1,0`
> exit 0
>
> I have tried running it with
> $ qsub script.sh
> $ qsub -l nodes=1:ppn=8 script
>
> and I have tried changing the script to say mpirun -np 8 or mpiexec to
> no avail.
>
> Does anyone know what I am doing wrong here?
>
> Sam Adams
> General Dynamics Information Technology
> Phone: 210.536.5945
>
> _______________________________________________
> 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