Adding the mpi&pthreads version