skip to main | skip to sidebar

BeSTGrid Notes

Friday, July 27, 2007

Use correct CPU number

#!/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
mpiexec -np $NP executable
Posted by A.Drey at 9:54:00 AM
Labels: notes, pbs, tips

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2011 (2)
    • ►  June (1)
    • ►  May (1)
  • ►  2010 (4)
    • ►  September (1)
    • ►  March (1)
    • ►  January (2)
  • ►  2009 (10)
    • ►  November (1)
    • ►  October (1)
    • ►  August (3)
    • ►  June (3)
    • ►  April (1)
    • ►  February (1)
  • ►  2008 (6)
    • ►  June (1)
    • ►  May (1)
    • ►  February (2)
    • ►  January (2)
  • ▼  2007 (39)
    • ►  October (3)
    • ►  September (1)
    • ►  August (5)
    • ▼  July (13)
      • Start/Stop Samba
      • AVOIDING Disk Crashes
      • Formatted list of active Volume groups
      • emails from NGData has root@bestgrid30.math.auckla...
      • Use correct CPU number
      • Pre-install of any APAC packages.
      • NGData ToDo
      • Current Disk Space Allocation on GateWay
      • Auckland is in APAC!!!
      • MrBayes Installation
      • Yahoo! Test2 is running!
      • Submit PBS job from ng2
      • One way password less SSH
    • ►  June (10)
    • ►  May (7)

About Me

A.Drey
View my complete profile

Useful links

  • Anton Gerdelan