MSO4SC / cloudify-hpc-plugin

Plugin to allow Cloudify to deploy and orchestrate HPC resources
Apache License 2.0
8 stars 8 forks source link

Automatic modules/partitions/reservation for HPC ressources #15

Open Trophime opened 6 years ago

Trophime commented 6 years ago

Hi, would it be possible to somehow retreive the list of available partitions directly when selecting the HPC resources?

same for the likely reservation?

using sinfo for slurm by instance?

emepetres commented 6 years ago

From #51, @Trophime wrote:

The idea here would be to retrieve from the hpc definition, the list of partitions defined in this hpc for instance with sinfo or scontrol. Of course, we also need a mechanism to set the prefered partition.

Pushing this idea one step further, it would be possible to have the limits characteristics for each partition, thus providing bounds for other fields like max_time or parallel_tasks...

Same should be doable for reservation, I guess.

This would greatly simplify the def and use of hpc in blueprint for the famous "one click" target