Skip to content

Commit

Permalink
Added the tarballing and castor-archiving to the new cmsPerfSuite.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriele Benelli committed May 29, 2008
1 parent 9f3c3f9 commit 7281525
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Validation/Performance/scripts/cmsPerfSuite.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,14 @@ def main(argv):
os.system(AuxiliaryScripts[2])

#Create a tarball of the work directory
#To do!

TarFile=cmssw_version+"_"+host+"_"+user+".tar"
tarcmd="tar -cvf "+TarFile+" *; gzip "+TarFile
print tarcmd
os.system(tarcmd)
#Archive it on CASTOR
castorcmd="rfcp "+TarFile+".gz "+castordir+TarFile+".gz"
print castorcmd
os.system(castorcmd)
#End of script actions!

#Print a time stamp at the end:
Expand Down

0 comments on commit 7281525

Please sign in to comment.