SURFEX v8.1
General documentation of Surfex
second_sfx.F90
Go to the documentation of this file.
1 !SFX_LIC Copyright 1994-2014 CNRS, Meteo-France and Universite Paul Sabatier
2 !SFX_LIC This is part of the SURFEX software governed by the CeCILL-C licence
3 !SFX_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
4 !SFX_LIC for details. version 1.
5 SUBROUTINE second_sfx(KT)
6 !
7 !
8 USE yomhook ,ONLY : lhook, dr_hook
9 USE parkind1 ,ONLY : jprb
10 !
11 IMPLICIT NONE
12 INTEGER :: KT
13 INTEGER :: IT
14 REAL(KIND=JPRB) :: ZHOOK_HANDLE
15 IF (lhook) CALL dr_hook('SECOND_SFX',0,zhook_handle)
16  CALL system('date +%s > tempo')
17 OPEN(unit=99,file='tempo')
18 READ(99,*)it
19 CLOSE(99)
20 kt=it
21 IF (lhook) CALL dr_hook('SECOND_SFX',1,zhook_handle)
22 END SUBROUTINE second_sfx
integer, parameter jprb
Definition: parkind1.F90:32
logical lhook
Definition: yomhook.F90:15
subroutine second_sfx(KT)
Definition: second_sfx.F90:6