Hello Jean-Michel,
Thank you for your reply. I pointed out this problem to P. Lang 2 weeks ago.
Unfortunately, it seems that the problem also happens in parallel mode.
In scalar mode, it's quite easy to modify get_bnd_value_* subroutines and hermes module interface to read an extra parameter.
But in parallel mode, I understand that BOUNDARY_COLOUR array is filled in read_partel_info subroutine by reading the first column of T2DPAR* ascii files written by partel.F. I think that these partel information files are useful for the partitioning stage itself and I'm afraid of modifying this, that can introduce other problems elsewhere.
So I found a solution that consists in reading the boundary condition file twice in leclim.f subroutine and to deal with the renumbering of boundary points in parallel mode to obtain a right BOUNDARY_COLOUR array. I'm aware that the solution is not optimal but it's efficient, and I can't wait too much.
Nevertheless, when I use the T2D_FILES(T2DCLI)%LU channel to read again the boundary condition file, I have an error message saying that
formatted I/O to unit open for unformatted transfers, unit 4, file T2DRES*
I don't understand why there is a confusion with T2DCLI and T2DRES (both in scalar and parallel modes).
When I force the unit channel to read (hard-coded in the code with an arbitrary integer value), it's ok.
Regards,
Laurent Leballeur