Skip to content

Commit

Permalink
fixing pbs scripts in hill directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Mandel committed Mar 25, 2011
1 parent 34baa31 commit 4c4c93e
Show file tree
Hide file tree
Showing 10 changed files with 61 additions and 3 deletions.
5 changes: 5 additions & 0 deletions wrfv2_fire/test/em_fire/hill/12x1.pbs
Expand Up @@ -37,9 +37,14 @@ ln -s ../input_sounding .
ln -s ../namelist.fire .
ln -s ../namelist.input .
ln -s ../wrf.exe .
if [ -e ../input_tign_g ]
then
ln -s ../input_tign_g .
fi

#cat $PBS_NODEFILE | sort -u > nodes
cat $PBS_NODEFILE > nodes
mpirun -np 1 -hostfile nodes ./ideal.exe
mv rsl.error.0000 ideal.log
mpirun -np 12 -hostfile nodes ./wrf.exe

5 changes: 5 additions & 0 deletions wrfv2_fire/test/em_fire/hill/1x1.pbs
Expand Up @@ -37,8 +37,13 @@ ln -s ../input_sounding .
ln -s ../namelist.fire .
ln -s ../namelist.input .
ln -s ../wrf.exe .
if [ -e ../input_tign_g ]
then
ln -s ../input_tign_g .
fi

cat $PBS_NODEFILE | sort -u > nodes
mpirun_rsh -np 1 -hostfile nodes OMP_NUM_THREADS=1 ./ideal.exe
mv rsl.error.0000 ideal.log
mpirun_rsh -np 1 -hostfile nodes OMP_NUM_THREADS=1 ./wrf.exe

6 changes: 6 additions & 0 deletions wrfv2_fire/test/em_fire/hill/1x12.pbs
Expand Up @@ -37,8 +37,14 @@ ln -s ../input_sounding .
ln -s ../namelist.fire .
ln -s ../namelist.input .
ln -s ../wrf.exe .
if [ -e ../input_tign_g ]
then
ln -s ../input_tign_g .
fi


cat $PBS_NODEFILE | sort -u > nodes
mpirun_rsh -np 1 -hostfile nodes OMP_NUM_THREADS=1 ./ideal.exe
mv rsl.error.0000 ideal.log
mpirun_rsh -np 1 -hostfile nodes OMP_NUM_THREADS=12 ./wrf.exe

8 changes: 7 additions & 1 deletion wrfv2_fire/test/em_fire/hill/1x7.pbs
Expand Up @@ -3,7 +3,7 @@

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

# Set the maximum amount of the time the job will run (HH:MM:SS)
#PBS -l walltime=06:00:00
Expand Down Expand Up @@ -37,8 +37,14 @@ ln -s ../input_sounding .
ln -s ../namelist.fire .
ln -s ../namelist.input .
ln -s ../wrf.exe .
if [ -e ../input_tign_g ]
then
ln -s ../input_tign_g .
fi


cat $PBS_NODEFILE | sort -u > nodes
mpirun_rsh -np 1 -hostfile nodes OMP_NUM_THREADS=1 ./ideal.exe
mv rsl.error.0000 ideal.log
mpirun_rsh -np 1 -hostfile nodes OMP_NUM_THREADS=7 ./wrf.exe

6 changes: 6 additions & 0 deletions wrfv2_fire/test/em_fire/hill/2x3.pbs
Expand Up @@ -37,8 +37,14 @@ ln -s ../input_sounding .
ln -s ../namelist.fire .
ln -s ../namelist.input .
ln -s ../wrf.exe .
if [ -e ../input_tign_g ]
then
ln -s ../input_tign_g .
fi


cat $PBS_NODEFILE > nodes
mpirun_rsh -np 1 -hostfile nodes OMP_NUM_THREADS=1 ./ideal.exe
mv rsl.error.0000 ideal.log
mpirun_rsh -np 2 -hostfile nodes OMP_NUM_THREADS=3 ./wrf.exe

6 changes: 6 additions & 0 deletions wrfv2_fire/test/em_fire/hill/2x6.pbs
Expand Up @@ -37,8 +37,14 @@ ln -s ../input_sounding .
ln -s ../namelist.fire .
ln -s ../namelist.input .
ln -s ../wrf.exe .
if [ -e ../input_tign_g ]
then
ln -s ../input_tign_g .
fi


cat $PBS_NODEFILE > nodes
mpirun_rsh -np 1 -hostfile nodes OMP_NUM_THREADS=1 ./ideal.exe
mv rsl.error.0000 ideal.log
mpirun_rsh -np 2 -hostfile nodes OMP_NUM_THREADS=6 ./wrf.exe

10 changes: 8 additions & 2 deletions wrfv2_fire/test/em_fire/hill/3x3.pbs
Expand Up @@ -3,7 +3,7 @@

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

# Set the maximum amount of the time the job will run (HH:MM:SS)
#PBS -l walltime=06:00:00
Expand Down Expand Up @@ -37,8 +37,14 @@ ln -s ../input_sounding .
ln -s ../namelist.fire .
ln -s ../namelist.input .
ln -s ../wrf.exe .
if [ -e ../input_tign_g ]
then
ln -s ../input_tign_g .
fi

cat $PBS_NODEFILE | sort -u > nodes
cat $PBS_NODEFILE | sort -u > node
cat node node node > nodes
mpirun_rsh -np 1 -hostfile nodes OMP_NUM_THREADS=1 ./ideal.exe
mv rsl.error.0000 ideal.log
mpirun_rsh -np 3 -hostfile nodes OMP_NUM_THREADS=3 ./wrf.exe

6 changes: 6 additions & 0 deletions wrfv2_fire/test/em_fire/hill/4x6.pbs
Expand Up @@ -37,9 +37,15 @@ ln -s ../input_sounding .
ln -s ../namelist.fire .
ln -s ../namelist.input .
ln -s ../wrf.exe .
if [ -e ../input_tign_g ]
then
ln -s ../input_tign_g .
fi


cat $PBS_NODEFILE | sort -u > unodes
cat unodes unodes > nodes
mpirun_rsh -np 1 -hostfile nodes OMP_NUM_THREADS=1 ./ideal.exe
mv rsl.error.0000 ideal.log
mpirun_rsh -np 4 -hostfile nodes OMP_NUM_THREADS=6 ./wrf.exe

6 changes: 6 additions & 0 deletions wrfv2_fire/test/em_fire/hill/5x2.pbs
Expand Up @@ -37,8 +37,14 @@ ln -s ../input_sounding .
ln -s ../namelist.fire .
ln -s ../namelist.input .
ln -s ../wrf.exe .
if [ -e ../input_tign_g ]
then
ln -s ../input_tign_g .
fi


cat $PBS_NODEFILE > nodes
mpirun_rsh -np 1 -hostfile nodes OMP_NUM_THREADS=1 ./ideal.exe
mv rsl.error.0000 ideal.log
mpirun_rsh -np 5 -hostfile nodes OMP_NUM_THREADS=2 ./wrf.exe

6 changes: 6 additions & 0 deletions wrfv2_fire/test/em_fire/hill/6x2.pbs
Expand Up @@ -37,8 +37,14 @@ ln -s ../input_sounding .
ln -s ../namelist.fire .
ln -s ../namelist.input .
ln -s ../wrf.exe .
if [ -e ../input_tign_g ]
then
ln -s ../input_tign_g .
fi


cat $PBS_NODEFILE > nodes
mpirun_rsh -np 1 -hostfile nodes OMP_NUM_THREADS=1 ./ideal.exe
mv rsl.error.0000 ideal.log
mpirun_rsh -np 6 -hostfile nodes OMP_NUM_THREADS=2 ./wrf.exe

0 comments on commit 4c4c93e

Please sign in to comment.