I faced the same problem that John had with the date.
I am running Telemac on CentOS with the version v7p1. With the previous suggestions, I managed to fix with the following steps :
1) Modification of
/sources/utils/gretel/gretel_autop.f
Add this declaration (line 73) :
Add a call to GET_MESH_DATE (the code surrounding by the comment LDN is inserted) :
CALL OPEN_MESH(RESFORMAT,RES,NRES,'READWRITE',IERR)
CALL CHECK_CALL(IERR,"GRETEL:OPEN_MESH:RES")
!LDN : Correction of date
CALL GET_MESH_DATE(RESFORMAT,NRES,TDATE,IERR)
CALL CHECK_CALL(IERR,"GRETEL:GET_MESH_DATE")
DATE=TDATE(1:3)
TIME=TDATE(4:6)
!LDN END
!
! Header information
!
RESPAR = TRIM(RES) // EXTENS(NPROC-1,0)
2) Add the dependance in
/sources/utils/gretel/gretel.cmdf with modification of the key
hermes :
[hermes]
path: <root>|sources|utils|hermes
files: interface_hermes.f
utils_med.F
utils_serafin.F
set_header.f
set_mesh.f
get_data_value.f
get_data_var_list.f
get_data_nvar.f
get_mesh_l2g_numbering.f
get_data_time.f
open_mesh.f
get_mesh_nplan.f
get_mesh_coord.f
get_mesh_title.f
get_mesh_date.f
close_mesh.f
get_data_ntimestep.f
get_mesh_nelem.f
get_mesh_npoin_per_element.f
get_bnd_nelem.f
get_mesh_nptir.f
get_bnd_npoin.f
get_mesh_dimension.f
get_mesh_npoin.f
add_data.f
get_mesh_connectivity.f
get_bnd_ipobo.f
3) Recompilation of the whole configuration
Hope it helps other users.
Is this solved in the next version?