The National Institute for Computational Sciences

Darter: I have a Python script that uses Python's multiprocessing module for parallelization. How should this be run on Darter?


Python's multiprocessing module is similar to threading, so you should use the following in your Darter batch script to launch the python script on a single node:

module load python
aprun -d 16 python script.py
This will make all 16 cores on the node available to the Python script. Please note: whether or not the cores are fully utilized is up to the programming of the script.