Hello friends,
I'm trying to use the fortran file posted by Laurent (post #29809) in my case. However, it is not working.
This is my error message
... partitioning base files (geo, conlim, sections, zones and weirs)
+> C:\opentelemac-mascaret\v8p2\builds\wing64mpi\bin\partel.exe < partel_WACGEO.par >> partel_WACGEO.log
STOP 0
... splitting / copying other input files
... checking the executable
> compiling objs
D:\PROPOSTAS-2021\MODELAGEM-DRAGAGEM-SSA\TELEMAC2D-2021\bts2d2021.cas_2021-05-12-15h52min05s\user_fortran\V_WAVE.f:200:45:
&( FBOR ,SPEC ,FRA ,UV2D ,VV2D ,FREQ ,
1
Error: Rank mismatch in argument 'fremax' at (1) (scalar and rank-1)
D:\PROPOSTAS-2021\MODELAGEM-DRAGAGEM-SSA\TELEMAC2D-2021\bts2d2021.cas_2021-05-12-15h52min05s\user_fortran\V_WAVE.f:206:45:
&( FB_CTE,SPEC ,FRA ,UV2D ,VV2D ,FREQ ,
1
Error: Rank mismatch in argument 'fremax' at (1) (scalar and rank-1)
compiling: V_WAVE.fTraceback (most recent call last):
File "C:\opentelemac-mascaret\v8p2\scripts\python3\telemac2d.py", line 7, in <module>
main('telemac2d')
File "C:\opentelemac-mascaret\v8p2\scripts\python3\runcode.py", line 271, in main
run_study(cas_file, code_name, options)
File "C:\opentelemac-mascaret\v8p2\scripts\python3\execution\run_cas.py", line 157, in run_study
run_local_cas(my_study, options)
File "C:\opentelemac-mascaret\v8p2\scripts\python3\execution\run_cas.py", line 42, in run_local_cas
my_study.compile_exe()
File "C:\opentelemac-mascaret\v8p2\scripts\python3\execution\study.py", line 326, in compile_exe
self.cfg, self.code_name)
File "C:\opentelemac-mascaret\v8p2\scripts\python3\execution\process.py", line 636, in process_executable
str(code)+').\n '+tail)
utils.exceptions.TelemacException: Could not compile your FORTRAN (runcode=1).
I think that this problem can be solved with some adjustment in fortran file, but I am not skilled with this language.
My telemac version is v8p2
I would be very grateful for any help
With best regards
Taoan