Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:08:31

0001 #!/bin/sh
0002 #paramters: input file
0003 
0004 CASTORPATH=/castor/cern.ch/cms
0005 
0006 echo Prestaging files...
0007 for i in `cat $1`; { echo -n "-M $CASTORPATH$i "; } | xargs -n1000 -s129000 stager_get -U CDFDrun${1}
0008 echo Staging `stager_qry -U CDFDrun${1} | grep STAGEIN | wc -l` files
0009 echo `stager_qry -U CDFDrun${1} | grep STAGED | wc -l` files already staged
0010 echo `stager_qry -U CDFDrun${1} | grep CANBEMIGR | wc -l` files still on disk
0011 echo Starting jobs:
0012 for fileIn in `cat $1`; do
0013 bsub -q cmscaf1nh "`pwd`/finedelaybsub.sh $fileIn `pwd`"
0014 done
0015 echo Done.
0016 echo You can monitor jobs with \"bjobs \[-w\]\". You can also use \"bpeek \[-f\] \[jobid\]\".
0017 echo