give comm as an argument to save_mesh