radical-cybertools / radical.saga

A Light-Weight Access Layer for Distributed Computing Infrastructure and Reference Implementation of the SAGA Python Language Bindings.
http://radical-cybertools.github.io/saga-python/
Other
83 stars 34 forks source link

[Slurm] sbatch parameter `--mem` shouldn't be set by TotalPhysicalMemory #793

Closed mtitov closed 4 years ago

mtitov commented 4 years ago

sbatch parameter --mem (saga, slurm docs) specifies the real memory required per node and TotalPhysicalMemory represents the total amount of physical memory the job requires, but is used for that sbatch parameter.

memory_per_node should be calculated from TotalPhysicalMemory (if there is no n_nodes then these numbers will be equal)

mtitov commented 4 years ago

this ticket is related to pilot's PR #2182