[torqueusers] File staging syntax
André Gemünd
andre.gemuend at scai.fraunhofer.de
Tue Sep 13 06:54:43 MDT 2011
Hello Ken,
you just need two stagein or stageout files in one line:
[andre at gloria pbs]$ cat pbstest
#!/bin/bash
#PBS -S /bin/bash
#PBS -q local
#PBS -W stagein=foo at gloria.d-grid.scai.fraunhofer.de:/tmp/foo,stagein=foo2 at gloria.d-grid.scai.fraunhofer.de:/tmp/foo2
#PBS -m n
echo "foo"
[andre at gloria pbs]$ qsub pbstest
qsub: illegal -W value
[andre at gloria pbs]$ cat pbstest
#!/bin/bash
#PBS -S /bin/bash
#PBS -q local
#PBS -W stagein=foo at gloria.d-grid.scai.fraunhofer.de:/tmp/foo,foo2 at gloria.d-grid.scai.fraunhofer.de:/tmp/foo2
#PBS -m n
echo "foo"
[andre at gloria pbs]$ qsub pbstest
qsub: illegal -W value
[andre at gloria pbs]$ cat pbstest
#!/bin/bash
#PBS -S /bin/bash
#PBS -q local
#PBS -W stagein=foo at gloria.d-grid.scai.fraunhofer.de:/tmp/foo
#PBS -W stagein=foo2 at gloria.d-grid.scai.fraunhofer.de:/tmp/foo2
#PBS -m n
echo "foo"
[andre at gloria pbs]$ qsub pbstest
435688.tonia.d-grid.scai.fraunhofer.de
So neither the old, nor the new syntax of specifying multiple files per -W works anymore.
gLite CREAM (http://glite.cern.ch/glite-CREAM/) generates these lines with its wrapper script. So this is basically a bug in that software (which is easy to solve), but it would have been nice to be notified of the change.
Greetings
André
> Andre
>
> Can you send your qsub or msub line?
>
> Can you send your script as well?
> > is it possible that the -W syntax changed again between 2.5.5 and
> > 2.5.8? We were using 2.5.5 without problems, but since I upgraded
> > to
> > 2.5.8 yesterday, PBS scripts with more than one file per staging
> > line failed with "illegal -W syntax". I had to change the scripts
> > to
> > use seperate -W lines for every file. I didn't see this in the
> > changelog, or maybe I just missed it?
--
André Gemünd
Fraunhofer-Institute for Algorithms and Scientific Computing
andre.gemuend at scai.fraunhofer.de
Tel: +49 2241 14-2193
/C=DE/O=Fraunhofer/OU=SCAI/OU=People/CN=Andre Gemuend
More information about the torqueusers
mailing list