working on shared mem for mpich