Re-add an "if (john_main_process)" that is needed for MPI