Serial version

If you only want to use GAFT to run some simple mathmetical optimization without parallel acceleration, you can install GAFT without any prerequisite.

From source

git clone --recursive
cd gaft
python install

Parallel version

If you want to run your optimization flow in parallel for acceleration, you need to install an implementation of MPI on your machine and then mpi4py package.

MPI implementation for different platforms: 1. MPICH 2. OpenMPI 3. Microsoft MPI

You also install mpi4py explicitly:

pip install mpi4py

Then you can install GAFT in the same way with the serial version.

For developers

GAFT also provides unit tests for developers, if you have cloned the repository, just

python test


python -m gaft.tests.test_all