-
Notifications
You must be signed in to change notification settings - Fork 10
Job submission #48
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
Open
isehle
wants to merge
12
commits into
LLRCMS:main
Choose a base branch
from
isehle:JobSubmission
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Job submission #48
Changes from 9 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
a17bce8
copy over submission related scripts
isehle d86dd71
mostly variable / key name updates, addition of some needed functions
isehle fe04b0d
remove depricated file
isehle cc683e9
updated README.md
isehle 85308fa
better argument handling and variable naming
isehle 0073ffe
general clean up and documentation
isehle 8161d31
implementation of final comments
isehle 482e84c
minor updates/corrections
isehle fc9e000
implemented Marco's comments
isehle 5dd003f
use python files as <script> directly
isehle 511fcf0
added dummy script for job testing; updated documentation; cleanup
isehle fa47e2c
introduce Arguments class to handle argument adding, combining, verif…
isehle File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
31 changes: 31 additions & 0 deletions
31
bye_splits/production/submit_scripts/condor_cluster_size.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| #!/usr/bin/env bash | ||
|
|
||
| cd ${HOME}/bye_splits/bye_splits/scripts/cluster_size/condor/ | ||
|
|
||
| radius=() | ||
| particles="" | ||
| pileup="" | ||
|
|
||
| while [[ "$#" -gt 0 ]]; do | ||
| case "$1" in | ||
| --radius) | ||
| IFS=";" read -ra radius <<< "${2:1:-1}" | ||
| shift 2 | ||
| ;; | ||
| --particles) | ||
| particles="$2" | ||
| shift 2 | ||
| ;; | ||
isehle marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| --pileup) | ||
| pileup="$2" | ||
| shift 2 | ||
| ;; | ||
isehle marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| *) | ||
| echo "Unrecognized argument $1" | ||
| exit 1;; | ||
| esac | ||
| done | ||
|
|
||
| for rad in ${radius[@]}; do | ||
| python run_cluster.py --radius "$rad" --particles "$particles" --pileup "$pileup" | ||
| done | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
You could say explicitly that the Job submission can be use for multiple purposes, and it can be a good alternative to the local Skimming procedure presented in this README, just a few lines above.
About this, I was trying to run
produce.py, but I got the following error while trying to read the input file for the skimming, specified in theconfig.yamlfile:Everything is good if I try to run it in local. Do you know if we should add some additional configuration options to avoid this kind of access problems?
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.
Yes yes I'll mention the skimming procedure application too!
As for running it on
EOS, have you confirmed that you have access to/eos/user/b/bfontana/FPGAs/new_algos/photons_0PU_bc_stc_hadd.rootjust inside of your terminal? I do indeed remember using files onEOSbeing a major headache, however. I'll look into the problem further, but for now can you see if adding/opt/exp_soft/cms/t3/eos-login -username $USER -initto yourscriptfixes the issue? Obviously this assumes that you have the same LLR/CERN username, which I don't, so if it's not replace$USERdirectly.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.
Yes from my terminal I have access to this file. I will try to run it adding the script you suggested directly in the script and I will let you know.