simple test using MPI to save figures in parallel