-
Notifications
You must be signed in to change notification settings - Fork 17
Missing documentation for JobOptions #556
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
Comments
We should add a custom JobDescription that only takes a job script as an option ? Or better, have an additional submit that takes a jobscript as parameter. |
Also see issue #512 |
Also include issue #432 |
The Where key is job option key and value is the description. |
Also include #582 |
Also include #562 |
After some discussion we concluded the following:
We should take care that the options passed via job options do not class with the values set in the regular manner (like time, node count, etc). We could support some options as first class citizens, like job dependencies, array jobs, etc ? |
Hmm, so then the question is what should be done through a general function, and what should be done in a scheduler-specific manner? If clients end up keeping tables of information about how to get something done for each scheduler, then Xenon is not doing its job of abstracting the scheduler away. On the other hand, we don't want things in the Xenon API that are scheduler-specific. On some clusters you get a GPU by submitting to a specific queue, on others you have to specify a constraint. There is no way that Xenon can know this, so a useGPU() function doesn't make sense. On the other hand, the time, cores, and memory required should probably be set through a nice scheduler-agnostic API. So maybe it's about whether something is scheduler- or cluster-specific? |
One suggestion from Atze was to also add more specialized |
We could add Scheduler.submitBatchJob(string jobScript) And the JobDescription is converted to a jobScript string. Now JobOption functionality can be handled by schedulerarguments and this api addition. |
Removed No longer an issue. |
There does not seem to be any documentation on which JobOptions can be set in a JobDescription. With some detective work, this is what seems to be supported (grep for VALID_JOB_OPTIONS in the source tree):
Slurm
Torque
GridEngine
I can't find any values for -pe in the GridEngine documentation (http://gridscheduler.sourceforge.net/htmlman/htmlman5/sge_pe.html), and I'm guessing RESOURCES refers to --gres which would be cluster-specific and hopefully documented somewhere. Still, at least the keys should be documented somewhere in the Xenon documentation.
The text was updated successfully, but these errors were encountered: