[jbaltrus@mr9540 siesta]$ qsub siesta
qsub: illegal -j value
[jbaltrus@mr9540 siesta]$
Couldn't google it, either. Any help?
thanks
Jonas
-a
echo "Node file: $PBS_NODEFILE :"
echo "---------------------"
cat $PBS_NODEFILE
echo "---------------------"
echo "Starting run at: `date`"
echo "PBS Working Directory: $PBS_O_WORKDIR"
echo "Filename is: $PBS_JOBNAME"
export PATH=${PATH}:/share/apps/siesta-2.0.2/Src
mkdir /share/apps/scratch/$PBS_JOBNAME
cp /$PBS_O_WORKDIR/$PBS_JOBNAME.fdf /share/apps/scratch/$PBS_JOBNAME
cd /share/apps/scratch/$PBS_JOBNAME
mpirun -n 4 -machinefile $PBS_NODEFILE /share/apps/siesta-2.0.2/Src/siesta $PBS_JOBNAME.fdf | $PBS_JOBNAME.out
mv /share/apps/scratch/$PBS_JOBNAME/*.* $PBS_O_WORKDIR
rm -rf /share/apps/scratch/$PBS_JOBNAME
echo "Job finished at: `date`"
--- On Thu, 5/14/09, Anoop Rajendra <anoop.r...@gmail.com> wrote:
I haven't used the -j option in quite a while, so I may be wrong.
However, the Torque/PBS
qsub option -j doesn't seem to take a file name argument,
but one of these three keywords:
"oe" (to join the stdout and stderr streams onto the stdout),
"eo" (to join the stdout and stderr streams onto the stderr), or
"n" (to cancel the request to join stdout and stderr).
If you want to declare a filename to dump stdout use the -o option,
and the -e option for stderr.
"man qsub" is your friend!
For instance:
#PBS -j eo
#PBS -e siesta.err
dumps stdout and stderr to siesta.err
#PBS -j oe
#PBS -o siesta.out
dumps stdout and stderr to siesta.out
#PBS -o siesta.out
#PBS -e siesta.err
doesn't merge the streams, dumping stdout to siesta.out,
and stderr to siesta.err.
I hope this helps.
Gus Correa
---------------------------------------------------------------------
Gustavo Correa
Lamont-Doherty Earth Observatory - Columbia University
Palisades, NY, 10964-8000 - USA
---------------------------------------------------------------------
________________________________
echo "Filename is: $PBS_JOBNAME"
export PATH=${PATH}:/share/apps/siesta-2.0.2/Src
mkdir /share/apps/scratch/$PBS_JOBNAME
cp /$PBS_O_WORKDIR/$PBS_JOBNAME.fdf /share/apps/scratch/$PBS_JOBNAME
cd /share/apps/scratch/$PBS_JOBNAME
mv /share/apps/scratch/$PBS_JOBNAME/*.* $PBS_O_WORKDIR
rm -rf /share/apps/scratch/$PBS_JOBNAME
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 5047 bytes
Desc: not available
Url : https://lists.sdsc.edu/pipermail/npaci-rocks-discussion/attachments/20090514/be8c562e/attachment.bin