Using HPC licenses with `MapdlPool`
germa89 opened this issue · comments
Requested internally by @ayush-kumar-423
Main idea
We want to use MapdlPool
(spawn multiple MAPDL instances), to use HPC licenses instead. So we do not require that many solver licenses.
Caveats
Probably this is not possible because HPC licenses hangs from a main MAPDL instance (use one solver license) which then spawns accross multiple processes or CPUs, using those HPC licenses.
Our usage is more focused on multiple MAPDL instances, hence each one will have a solver license. Presumably, the number of processes or CPUs won't grow enough to require HPC licenses.
I could be wrong with the reasoning though.
I thought briefly about this.
What if you use pool or something to generate the input files (input_1.dat, input2.dat...), but don't solve, and then use some python multp thread/process to launch a bunch of simul solves?