Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make
ShellcmdLrms
handle app.requested_memory
as total app memory.
`Application.requested_memory` is the *total* amount of memory requested by the application independently of the number of cores, as documented [in the `Application` docstring][1]. Now, different backends handle `Application.requested_memory` differently; see for example the behaviour of `Application.sbatch()` where `Application..requested_memory` is handled as a per-node requirement (see the documentation for the '--mem' option [in the SLURM man pages][2]) So the way to solve this problem is to make sure that `Application.requested_memory` is handled consistently for all backends, hence, change `ShellcmdLrms` accordingly. [1]: https://github.com/uzh/gc3pie/blob/master/gc3libs/__init__.py#L765 [2]: https://slurm.schedmd.com/sbatch.html
- Loading branch information
1 parent
3541a1a
commit 5d6b1f0
Showing
2 changed files
with
5 additions
and
7 deletions.
There are no files selected for viewing
This file contains 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 contains 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