Skip to content
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

Use classads to simplify argument passing #18

Open
aminnj opened this issue Nov 9, 2018 · 0 comments
Open

Use classads to simplify argument passing #18

aminnj opened this issue Nov 9, 2018 · 0 comments

Comments

@aminnj
Copy link
Owner

aminnj commented Nov 9, 2018

Right now, argument passing from condor job submission to executable is messy. We assume an ordering and this causes a divergence between CondorTask and CMSSWTask, which have separate submit_multiple_jobs_to_condor methods.


If we make all the arguments/necessary inputs into classads attached to a job, then the job can parse the classad on the worker node to get information within the executable. Then we won't need to assume an order, and extending a generic CondorTask amounts to piling on more classads rather than rewriting the submission function. This is already done to a small extent, just need to make it more general and rework the executables.
[["taskname", self.unique_name], ["jobnum", index], ["tag", self.tag]]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant