Open alexandermichels opened 1 year ago
The Core has default SLURM limits (see here), but these are opaque and not available to the users. We should add a public route to check out the SLURM limits, which could be as simple as returning the dictionary:
var defaultSlurmCeiling = { num_of_node: 50, num_of_task: 50, cpu_per_task: 50, memory_per_cpu: "10G", memory_per_gpu: "10G", memory: "50G", gpus: 20, gpus_per_node: 20, gpus_per_socket: 20, gpus_per_task: 20, time: "10:00:00", };
https://github.com/cybergis/cybergis-compute-core/blob/v2/src/lib/JobUtil.ts#L210
The Core has default SLURM limits (see here), but these are opaque and not available to the users. We should add a public route to check out the SLURM limits, which could be as simple as returning the dictionary:
https://github.com/cybergis/cybergis-compute-core/blob/v2/src/lib/JobUtil.ts#L210