Hi all,
It's my 1st day with FORTRAN.
I use it in TELEMAC2D V8P4R0.
The script was written for v6p4 and adapted to v7p0. It doesn't work to for v7P0 and I don't have V6P4....
I get this error message :
... checking the executable
> requires re-compilation
creating: C:\Users\lboudet\Desktop\calc_TELEMAC\02_TELEMAC\06_OS_Monteynard\cas.txt_2023-07-12-12h12min55s\user_fortran
copying: tarage_barrage_V3_V7P1.f C:\Users\lboudet\Desktop\calc_TELEMAC\02_TELEMAC\06_OS_Monteynard\cas.txt_2023-07-12-12h12min55s\user_fortran
> compiling objs
compiling: tarage_barrage_V3_V7P1.ftarage_barrage_V3_V7P1.f:85.17:
INTEGER LNG,LU
1
tarage_barrage_V3_V7P1.f:78.9:
USE BIEF
2
Error: Symbol 'lng' at (1) conflicts with symbol from module 'declarations_special', use-associated at (2)
tarage_barrage_V3_V7P1.f:86.21:
COMMON/INFO/LNG,LU
1
Error: Cannot change attributes of USE-associated symbol lng at (1)
tarage_barrage_V3_V7P1.f:125.72:
CALL VECTOR(WORK,'=','MASBAS ',H%ELM,
1
Error: Syntax error in argument list at (1)
tarage_barrage_V3_V7P1.f:126.9:
& 1.D0,H,H,H,H,H,H,MESH,MSK,MASKEL)
1
Error: Invalid character in name at (1)
tarage_barrage_V3_V7P1.f:129.72:
CALL VECTOR(WORK,'=','MASVEC ',H%ELM,
1
Error: Syntax error in argument list at (1)
tarage_barrage_V3_V7P1.f:130.9:
& 1.D0,H,H,H,H,H,H,MESH,.TRUE.,POROS)
1
Error: Invalid character in name at (1)
tarage_barrage_V3_V7P1.f:132.72:
CALL VECTOR(WORK,'=','MASVEC ',H%ELM,
1
Error: Syntax error in argument list at (1)
tarage_barrage_V3_V7P1.f:133.9:
& 1.D0,H,H,H,H,H,H,MESH,MSK,MASKEL)
1
Error: Invalid character in name at (1)
tarage_barrage_V3_V7P1.f:477.17:
INTEGER LNG,LU
1
tarage_barrage_V3_V7P1.f:466.9:
USE BIEF
2
Error: Symbol 'lng' at (1) conflicts with symbol from module 'declarations_special', use-associated at (2)
tarage_barrage_V3_V7P1.f:478.21:
COMMON/INFO/LNG,LU
1
Error: Cannot change attributes of USE-associated symbol lng at (1)
tarage_barrage_V3_V7P1.f:192.37:
Q_barrage(I)=FLUX_BOUNDARIES(ind_front_tar(I))
1
Warning: Legacy Extension: REAL array index at (1)
runCAS: failed to compile
|processExecutable: could not compile your FORTRAN (runcode=1).
|
|... The following command failed for the reason above (or below)
|gfortran -c -cpp -O3 -fconvert=big-endian -DHAVE_MPI -frecord-marker=4 -I C:\telemac\V8P0R0\builds\wing64mpi\obj\utils\special -I C:\telemac\V8P0R0\builds\wing64mpi\obj\utils\hermes -I C:\telemac\V8P0R0\builds\wing64mpi\obj\utils\parallel -I C:\telemac\V8P0R0\builds\wing64mpi\obj\utils\damocles -I C:\telemac\V8P0R0\builds\wing64mpi\obj\utils\bief -I C:\telemac\V8P0R0\builds\wing64mpi\obj\waqtel -I C:\telemac\V8P0R0\builds\wing64mpi\obj\nestor -I C:\telemac\V8P0R0\builds\wing64mpi\obj\utils\ad -I C:\telemac\V8P0R0\builds\wing64mpi\obj\sisyphe -I C:\telemac\V8P0R0\builds\wing64mpi\obj\tomawac -I C:\telemac\V8P0R0\builds\wing64mpi\obj\stbtel -I C:\telemac\V8P0R0\builds\wing64mpi\obj\khione -I C:\telemac\V8P0R0\builds\wing64mpi\obj\telemac2d -I C:\TELEMAC\mpi\include tarage_barrage_V3_V7P1.f
|
Can someone helps/guides me to :
1) understand the messages
2) debug ?
The first one seems to be about the varialble "LNG", but it don't see the matter regarding to the "conflict symbol".
Any idea is welcome !
Thanks,
Laurie