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

Add a Route to Display SLURM Limits #104

Open
alexandermichels opened this issue Sep 11, 2023 · 0 comments
Open

Add a Route to Display SLURM Limits #104

alexandermichels opened this issue Sep 11, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@alexandermichels
Copy link
Member

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

@alexandermichels alexandermichels added the enhancement New feature or request label Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant