1 # 1 "/home/damask_user/GitLabCI_Pipeline_4301/DAMASK/src/quit.f90"
4 # 1 "/home/damask_user/GitLabCI_Pipeline_4301/DAMASK/src/quit.f90"
11 subroutine quit(stop_id)
13 # 1 "/opt/petsc-3.10.3/include/petsc/finclude/petscsys.h" 1
26 # 1 "/opt/petsc-3.10.3/Intel-18.4-IntelMPI-2018/include/petscconf.h" 1
1234 # 13 "/opt/petsc-3.10.3/include/petsc/finclude/petscsys.h" 2
1239 # 1 "/opt/petsc-3.10.3/include/petscversion.h" 1
1285 # 17 "/opt/petsc-3.10.3/include/petsc/finclude/petscsys.h" 2
1287 # 1 "/opt/petsc-3.10.3/include/petsc/finclude/petscviewer.h" 1
1304 # 31 "/opt/petsc-3.10.3/include/petsc/finclude/petscviewer.h"
1306 # 18 "/opt/petsc-3.10.3/include/petsc/finclude/petscsys.h" 2
1308 # 1 "/opt/petsc-3.10.3/include/petsc/finclude/petscerror.h" 1
1317 # 24 "/opt/petsc-3.10.3/include/petsc/finclude/petscerror.h"
1319 # 38 "/opt/petsc-3.10.3/include/petsc/finclude/petscerror.h"
1336 # 19 "/opt/petsc-3.10.3/include/petsc/finclude/petscsys.h" 2
1338 # 1 "/opt/petsc-3.10.3/include/petsc/finclude/petsclog.h" 1
1341 # 20 "/opt/petsc-3.10.3/include/petsc/finclude/petscsys.h" 2
1343 # 1 "/opt/petsc-3.10.3/include/petsc/finclude/petscbag.h" 1
1356 # 21 "/opt/petsc-3.10.3/include/petsc/finclude/petscsys.h" 2
1364 # 41 "/opt/petsc-3.10.3/include/petsc/finclude/petscsys.h"
1374 # 63 "/opt/petsc-3.10.3/include/petsc/finclude/petscsys.h"
1388 # 85 "/opt/petsc-3.10.3/include/petsc/finclude/petscsys.h"
1407 # 128 "/opt/petsc-3.10.3/include/petsc/finclude/petscsys.h"
1409 # 150 "/opt/petsc-3.10.3/include/petsc/finclude/petscsys.h"
1413 # 174 "/opt/petsc-3.10.3/include/petsc/finclude/petscsys.h"
1446 # 215 "/opt/petsc-3.10.3/include/petsc/finclude/petscsys.h"
1459 # 9 "/home/damask_user/GitLabCI_Pipeline_4301/DAMASK/src/quit.f90" 2
1467 integer,
intent(in) :: stop_id
1468 integer,
dimension(8) :: dateAndTime
1470 integer(kind=selected_int_kind(5)) :: ierr = 0
1472 call h5open_f(error)
1473 if (error /= 0)
write(6,
'(a,i5)')
' Error in h5open_f ',error
1474 call h5close_f(error)
1475 if (error /= 0)
write(6,
'(a,i5)')
' Error in h5close_f ',error
1477 call petscfinalize(ierr)
1478 if (ierr .ne. 0) then;
call petscerrorf(ierr);return;
endif
1485 call date_and_time(values = dateandtime)
1486 write(6,
'(/,a)')
' DAMASK terminated on:'
1487 write(6,
'(a,2(i2.2,a),i4.4)')
' Date: ',dateandtime(3),
'/',&
1488 dateandtime(2),
'/',&
1490 write(6,
'(a,2(i2.2,a),i2.2)')
' Time: ',dateandtime(5),
':',&
1491 dateandtime(6),
':',&
1494 if (stop_id == 0 .and. ierr == 0 .and. error == 0) stop 0