modified mpiprint to take same args as print if desired