Hi Jérôme,
I don't have v7p1r1 already installed but you can try with the following tpxo modified module and let me know what happens. I tested the same modifications with v7p2r1 and v7p3r0, and it works fine for me. Be sure that the tpxo module is well recompiled.
If it works, your results file will still be in projected coordinates (Mercator for Telemac). You'll have to re-associate your lat/lon coordinates either in post-processing by reading your geometry file for example, or you can take inspiration from the previous write_mesh.f subroutine to adapt it for v7p1r1.
Anyway, you have to keep in mind that the code is not written in spherical coordinates and always use a projection. I don't really know the characteristics and validity of the "mercator projection for telemac" over large domain and how the introduced geodetic error can be estimated (and yet I should know it as I have a surveyor degree at the origin, but it's far now...), but maybe people who are used to build global model, ocean model, tsunami model can give us our feedback on this point.
I also attached the modifications of tpxo module and write_mesh.f for v7p3r0 (marked with "modif LLE" tags). I let the developers check it and potentially integrate it for future releases.
Best regards,
Laurent