1 c-----------------------------------------------------------------
2 c Author John Apostolakis, GPMIMD-2, CERN-CN, February 1994
4 c gpmsgerr(..) report a error given by MPI (in sending
5 c or receiving a message).
6 c-----------------------------------------------------------------
8 subroutine gpmsgerr( mpi_routine, ierr, srcroutinename )
10 character*(*) srcroutinename, mpi_routine
12 #include "geant321/multiprox.inc"
13 #include "geant321/gcunit.inc"
15 c As stderr is not defined, use Geant's stdout
18 write(LUNERR,*) 'WARNING: MPI routine ', mpi_routine,
19 & ' returned error code ', ierr , ' on node ', nprank,
20 & ' when called from routine ', srcroutinename