Hello Victor,
I looked at your case. There is not a single compiler here to allow what you are doing. Actually you cannot have the module declarations_telemac3d in the middle of your fortran file, because the subroutines in the library may be compiled with the other module in the library. This triggers problems of addresses in the memory which can cause crashes, and this may be your problem in parallel. You can put your extra variables in another module which should be placed at the beginning of your Fortran file, and you can write : USE MY_MODULE when you want to get your new variables. Only after doing this we can start debugging if the problem remains.
With best regards,
Jean-Michel