positive values are ok
from the description: Returns a non-negative value if successful; otherwise returns a negative value.
This commit is contained in:
parent
b8518e2875
commit
d32d088ed7
|
@ -28,9 +28,9 @@ subroutine quit(stop_id)
|
||||||
|
|
||||||
|
|
||||||
call h5open_f(err_HDF5) ! prevents error if not opened yet
|
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)
|
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)
|
call PetscFinalize(err_PETSc)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue