ExecutionEnvironments incorrectly detected by SLURMmod.pm (Fixes BUGZ-3856)
fix for BUGZ3856: ExecutionEnvironments incorrectly detected by SLURMmod.pm
Link to Bugzilla ticket
Description
Implemented correct ExecutionEnvironment detection for SLURM
SLURMmod.pm would incorrectly fetch all possible nodes in a cluster and make choices regarding the maximum memory and CPU according to all nodes available, sometimes affecting the client broker in negative ways. This patch narrows such choices only to the nodes that are behind the selected queues and gives correct numbers without the need for the sysadmin to fiddle with them. It is based on a discontinued feature called NodeSelection that allowed the sysadmin to choose nodes manually, which is no longer supported in arc.conf but the values are now automatically detected. This only works properly for SLURM at the moment.
Edited by Maiken