These are MUMPS error messages. For example, the IW4 message comes from subroutine ZMUMPS_REDISTRIBUTION. You will need to add some additional error diagnostics to the MUMPS routines to figure out why this is occurring. However, I would recommend first checking the validity of the parameters that you are passing to MUMPS first, before trying to debug MUMPS.