Skip to content
Permalink
Browse files

fixing pbs scripts in hill directory

  • Loading branch information...
Jan Mandel
Jan Mandel committed Mar 25, 2011
1 parent 34baa31 commit 4c4c93e3df049d19d7911824518870e060412594
@@ -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

@@ -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

@@ -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

@@ -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
@@ -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

@@ -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

@@ -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

@@ -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
@@ -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

@@ -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

@@ -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

@@ -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.
You can’t perform that action at this time.