Skip to content

Commit

Permalink
added hill/5x2.pbs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Mandel committed Mar 23, 2011
1 parent 16dd329 commit f90c4d4
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions wrfv2_fire/test/em_fire/hill/5x2.pbs
@@ -0,0 +1,44 @@
#!/bin/bash
# copy this script to your run directory and modify as desired

# Set the number of nodes and processes per node
# each node contains 12 processing cores
#PBS -l nodes=1:ppn=10

# Set the maximum amount of the time the job will run (HH:MM:SS)
#PBS -l walltime=03:00:00

# Give the job a name
#PBS -N hill_5x2

# Keep all environment variables from the current session (PATH, LD_LIBRARY_PATH, etc)
#PBS -V

# Merge stderr and stdout
#PBS -j oe

# Set log file
#PBS -o 5x2.log

# Change to the run directory (where job was submitted)
cd $PBS_O_WORKDIR

WD=5x2
rm -rf $WD
mkdir $WD
cd $WD
pwd
ln -s ../ideal.exe .
#ln -s ../input_fc .
#ln -s ../input_ht .
#ln -s ../input_lu .
ln -s ../input_sounding .
#ln -s ../LANDUSE.TBL .
ln -s ../namelist.fire .
ln -s ../namelist.input .
ln -s ../wrf.exe .

cat $PBS_NODEFILE > nodes
mpirun_rsh -np 1 -hostfile nodes OMP_NUM_THREADS=1 ./ideal.exe
mpirun_rsh -np 5 -hostfile nodes OMP_NUM_THREADS=2 ./wrf.exe

0 comments on commit f90c4d4

Please sign in to comment.