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

Refactor processing parameters #61

Closed
wants to merge 55 commits into from

Conversation

vinjana
Copy link
Contributor

@vinjana vinjana commented Sep 26, 2017

No description provided.

fkaercher and others added 30 commits August 11, 2017 18:24
Newer version (0.22.0) is available but not tested. Therefore kept it to what we know works, but update is recommended.
…ses, as scratch location is not JobManager-specific but specific for the concrete on-site cluster setup and should be configurable.
vinjana and others added 25 commits September 6, 2017 12:56
…ingDirectory() to avoid infinite recursion with call from BEJob.getLoggingDirectory. Added isParameterFileEnabled to BEJobManager.
* Reduced number of dependencies on Job in LSFCommand.
* Removed previously introduced isParameterFileEnabled: PARAMETER_FILE should be treated like a normal variable.
Removed JobConstants only used in Roddy but not in BE.
Problem:

Previously CONFIG_FILE and PARAMETER_FILE were only used in PBS, so LSF did not work. The ideal solution is to leave the definition and handling of parameter files to the client code or to come up with a clear interface for using parameter files. For the former case it is currently not trivial to remove the parameters from the job (one would have to either create a temporary job object with reduced parameters, or allow explicit setting of parameters during job running. The code is currently not well prepared for this). The latter solution has some unresolved questions: How to set the name of the parameter file variable? Where to save the files (tmp, some notion of execution directory, ...)?
…riables that need to be directly given to the wrapper script (for debugging).
…ter return a constant value. Added some variables from Frank's table of batch processing systems (for workdir and alike). Removed possibility to set a custom variable name as the client code, to actually set these variable was only in one site in Roddy and not even in BE.
Otherwise minor style edits after an try-out of codenarc.
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

Successfully merging this pull request may close these issues.

None yet

2 participants