'How to run a parallel python script

I am using a code from VAST https://vast.readthedocs.io/en/latest/VoidFinder_examples.html called Gadget_VoidFinder_periodic.py. This code is supposedly parallelized. I have set up the parameter num_cpu = 54 as I am running the code in a server. When I check how many cores the code is using, I see it's using all of them but not the 100% of them. How can I change this?

I write python Gadget_VoidFinder_periodic.py in order to run the script in the server



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source