Merge branch 'hdf5-error-check' into 'development'
positive values are ok See merge request damask/DAMASK!753
This commit is contained in:
commit
f6c254403b
|
@ -28,9 +28,9 @@ subroutine quit(stop_id)
|
|||
|
||||
|
||||
call h5open_f(err_HDF5) ! prevents error if not opened yet
|
||||
if (err_HDF5 /= 0) write(ERROR_UNIT,'(a,i5)') ' Error in h5open_f ',err_HDF5
|
||||
if (err_HDF5 < 0) write(ERROR_UNIT,'(a,i5)') ' Error in h5open_f ',err_HDF5
|
||||
call h5close_f(err_HDF5)
|
||||
if (err_HDF5 /= 0) write(ERROR_UNIT,'(a,i5)') ' Error in h5close_f ',err_HDF5
|
||||
if (err_HDF5 < 0) write(ERROR_UNIT,'(a,i5)') ' Error in h5close_f ',err_HDF5
|
||||
|
||||
call PetscFinalize(err_PETSc)
|
||||
|
||||
|
|
Loading…
Reference in New Issue