PytLab / gaft

A Genetic Algorithm Framework in Python (not for production level)
http://gaft.readthedocs.io/
GNU General Public License v3.0
739 stars 218 forks source link

How to run gaft using mpi ? #26

Closed clardeux closed 6 years ago

clardeux commented 6 years ago

Hi, first, thanks a lot for your library that is very easy to use.

My optimisation problem is working well but now I would like to speed up using parallel processing with mpi. However, I am a newbie on that things and I don't know the programming rules in the python program itself and the command to run in parralle my script.

Should it be possible to have a full example of running example1 (for example) using mpi ?

Best regards

PytLab commented 6 years ago

You can use mpirun or mpiexec to run the script explicitly. For example,

mpirun -np 2 python yourscript.py
PytLab commented 6 years ago

If you don't have any question, I will close this issue.

Thanks :)