mpCC_r -q64 -o fp.o -c -qrtti=dyna -O -+ -qpic -I/gpfs1/cogenda/cogenda/packages/petsc/include -I/gpfs1/cogenda/cogenda/packages/petsc/IBM-XLCPP/include -I/usr/lpp/ppe.poe/include -D__INSDIR__=src/sys/error/fp.c "fp.c", line 283.112: 1540-0256 (S) A parameter of type "PetscErrorType" cannot be initialized with an expression of type "int". "fp.c", line 283.112: 1540-1205 (I) The error occurred while converting to parameter 7 of "PetscError(MPI_Comm, int, const char *, const char *, const char *, PetscErrorCode, PetscErrorType, const char *, ...)".
It seems line 283 ierr = PetscError(PETSC_COMM_SELF,0,"User provided function","Unknown file","Unknown directory",PETSC_ERR_FP,1,"floating point error"); should be changed to ierr = PetscError(PETSC_COMM_SELF,0,"User provided function","Unknown file","Unknown directory",PETSC_ERR_FP,PETSC_ERROR_REPEAT,"floating point error");