compiles with MPI