]> git.uio.no Git - u/mrichter/AliRoot.git/commit
script to download the set of the alien files
authormarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 16 Apr 2011 19:50:57 +0000 (19:50 +0000)
committermarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 16 Apr 2011 19:50:57 +0000 (19:50 +0000)
commite3e96f0834c4ce2856ad389eb73743ddc7b1e267
treed68bf281e8b9444b05f4576cd0397c5d34f7426f
parent98ec971d387bfdbd750d9e00b48281ba7ff96371
script to download the set of the alien files

# Arguments:
#   $1 fileList
#   $2 timeOut in seconds
#   $3 nprocess
#   $4 prefix
#
# Algorithm:
#   1. Check the input parameters
#   2. Group randomly the files into the group - generates nprocess download scripts
#   3. Start $nprocess to download the files - with forced timeout
# Example usage:
# 1. Create file list
# alien_find /alice/data/2010/LHC10h/000138795/pass0_2 root_ar | grep root > file.list
# 2. run script with timeout 60 and n processes 10 and the sarting diectory  -current directory
# $ALICE_ROOT/PWG1/CalibMacros/MergeCalibration/alienDownloadTimeOut.sh file.list 60 30 `pwd`
PWG1/CalibMacros/MergeCalibration/alienDownloadTimeOut.sh [new file with mode: 0755]