-
Notifications
You must be signed in to change notification settings - Fork 13
Parallel run
Oscar Barragán edited this page Dec 10, 2018
·
1 revision
Run pyaneti in parallel is really easy.
To compile the code in parallel you just need to type in your terminal (you need openMP installed).
make para
if you have all the libraries installed, the compilation should finish without any problem. Now you only need to run the code.
./pyaneti.py test
This option will run the code with all the processors available on your computer.
If you want to specify the number of CPUs to be used by pyaneti, you have to run the env OMP_NUM_THREADS=N option, where N is the number of CPUs.
env OMP_NUM_THREADS=2 ./pyaneti.py test
- Start to use pyaneti
- Parallel run
- The input_fit.py file
- Output files
- Parametrizations
- Examples
- Theory
- Others: