You should compile Telemac again with --clean option in order to make a full compilation which will take in account the change of Maxvar in all subroutines
I don’t think that will make any difference. I change MAXVAR in a fortran file (in a windows folder) which I specify in my steering file. I’m running TELEMAC on bash on Ubuntu on my windows computer. Compiling wouldn’t take this new value into account as the source for compiling would stay the same because declarations_tomawac won’t change on ubuntu.
I hope this is clear to you…
Is this actually the way to add new variables to the output or is there another way to do it?
okay, thanks. I’ll try to change the original source.
Another small question: I defined a new subroutine and changed some input and output of some other subroutines. According to these changes, I adapted interface_tomawac in my fortran file. I didn’t get any errors running a test, can I assume that everything went fine or should I also change interface_tomawac in the original source?
You should also change interface_tomawac in the original source.
This is the same kind of problem as declarations_tomawac.
There is no compilation error as you compile only the modified sources and they are consistent and you link with a library without no other verification.
But there could be some problem if non modified source file try to call a modified subroutine…