adding DBC checks for epetra and ifpack error codes