Greetings everyone, it was very nice to meet many of you at the TUC in Paris, last week. A very energetic and vibrant community, indeed.
I encountered an error when using the Python API.
If I run the 'breach' example, as in the tutorial, everything works fine. However, if I introduce my own problem which includes a tracer, I get the following error when I call my_problem.finalize()
At line 667 of file /salome-hydro/Salome-V771H-c9/tools/Telemac/sources/telemac2d/deall_telemac2d.f
Fortran runtime error: Attempt to DEALLOCATE unallocated 'masten'
The code attempts to deallocate a number of arrays that have already been deallocated.
To fix the problem, I have replaced the deallocate statements with a check to see if they are allocated:
if (allocated(masten)) deallocate(masten)
I did this for all arrays in lines 667 to 676, of the deall_telemac2d.f circulated in 'patch', of the workshop. I think those lines should just be deleted, as the arrays are deallocated further up in the code.
-Simon