ansys / pymapdl

Pythonic interface to MAPDL
https://mapdl.docs.pyansys.com
MIT License
431 stars 121 forks source link

SLURM support #3467

Open germa89 opened 1 month ago

germa89 commented 1 month ago

Context

Check https://github.com/ansys/pymapdl/pull/2865 for a bit of historical context, which lead to https://github.com/ansys/pymapdl/pull/3091. In #2865 we proposed implementing PyHPS to interact with HPC clusters. While PyHPS is very powerful, it is not an scheduler, so it needs to be installed additionally to an scheduler (like SLURM) and depends on it. In this PR we are going to support SLURM HPC clusters only and directly, without PyHPS.

Research

Check #3397 for the research done on launching MAPDL and PyMAPDL on SLURM clusters

Introduction

For the moment we are going to focus more on launching single MAPDL instances, leaving aside the MapdlPool since it does create issues when regarding resource splitting. I think comming up with a good default resource sharing scheme might be a bit tricky.

Also, we are going to focus on the most useful stuff:

Roadmap

Start to implement this on the following PRs:

germa89 commented 1 month ago

Pinging @koubaa for feedback/awareness.