compile python module with mpi support Jul 6, 2012 • 1 min read CC=mpicc LDSHARED="mpicc -shared" python setup.py build_ext -i