hi
if you can share just the part where you use multiprocessing we could check. Usually it should be something like
def do_one(): pass
with multiprocessing.Pool() as p:
results = p.map(do_one, ...)
You can also make use of joblib [1] which makes this easier. As for checking it's working, use your platforms CPU monitor. Many cores should be used.
cheers,
Marmaduke
hi
Thanks for the follow up, good to hear,
cheers
Marmaduke
On 1 Apr 2022, at 08:55, WOODMAN Michael <marmaduk...@univ-amu.fr> wrote:
This isn't currently the case though we are working towards this. Unfortunately this model is also the slowest in TVB. If you are willing to spend some time on it, we could help you (a) speed up the model itself and (b) run with multiple threads.
On 11 Apr 2022, at 19:26, Yat-Lok Wong <ylww...@gmail.com> wrote:
My another question is that, if I am not doing a large parameter sweep, is it still possible to still parallelize my single long simulation (using multiple cores to run one job, then concatenate all the results from multiple cores as the final output) in HPC?