-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jobs re-submission tool created #28
base: master
Are you sure you want to change the base?
Conversation
``` | ||
cp python/heppy_patch/* $CMSSW_BASE/bin/<architecture>/ | ||
``` | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
heppy_patch
is not a very informative name.
Also, copying stuff by hand is very dirty, if you put your scripts in a script
directory, SCRAM will automatically copy them appropriately.
https://twiki.cern.ch/twiki/bin/view/CMSPublic/SWGuideBuildFile#CmsswScripts
``` | ||
cp scripts/resbmitter_data.sh cfg/<year>/<dataRep>/ | ||
cp scripts/resbmitter_mc.sh cfg/<year>/<mcRep>/ | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same goes here, no need to copy and shuffle scripts around if they are located in a directory included in $PATH
Finally run the scripts | ||
``` | ||
cd cfg/<year>/<data|mcRep>/ | ||
source resubmitter_<data|mc>.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
run the script with source
?!
@@ -0,0 +1,50 @@ | |||
#!/usr/bin/env python |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
another script with the same name exists, I fear that having two is messy, especially if we want to avoid patching and moving scripts by hand every time
@rmanzoni
PR importing the job re-submission scripts
-> heppy files discriminating between good and bad jobs added in python/heppy_patch
-> bash re-submission files added in scripts/
-> readme modified with recipe to run the job re-submission