Welcome, Guest
Username: Password: Remember me

TOPIC: Compilation error of v7p2r1 on Win10

Compilation error of v7p2r1 on Win10 4 years 5 months ago #36189

  • yuwangyang
  • yuwangyang's Avatar
Hello everyone,
I got a problem when I compile TELEMAC (v7p2r1) on Win10. After launching 'compileTELEMAC.py', the process stop as the attachment shows. Maybe something wrong with gfortran happens. Visual Studio Code is used here.

Would you have an idea of what is causing the trouble?

Thank you very much.
Attachments:
The administrator has disabled public write access.

Compilation error of v7p2r1 on Win10 4 years 5 months ago #36190

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi

Try to update to the latest version of telemac v8p1r1.
We don't support the old version

regards
Christophe
The administrator has disabled public write access.

Compilation error of v7p2r1 on Win10 4 years 4 months ago #36222

  • yuwangyang
  • yuwangyang's Avatar
hi Coulet,
thanks for your advice. I download v8p1 and compile this version, but more errors arise. :( :( Could you tell me what's wrong with this compile error in V7p2. Is there something wrong with the fortran compiler?
The administrator has disabled public write access.

Compilation error of v7p2r1 on Win10 4 years 4 months ago #36224

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
I don't have any idea about V7P2.
Could you tell us more about the error in V8P1?
Did you use python3?
Which version of Gfortran?

regards
Christophe
The administrator has disabled public write access.

Compilation error of v7p2r1 on Win10 4 years 4 months ago #36226

  • yuwangyang
  • yuwangyang's Avatar
Hi,
I installed both python 2 and 3, but I use python 2. The fortran version is GCC V8.1.
The compiler is Visual Studio Code.
The errors are shown in attachment. Only one error is shown but many similar errors such as "symbol XXX referenced not found in module XXX" arise.:unsure:

regards
Attachments:
The administrator has disabled public write access.

Compilation error of v7p2r1 on Win10 4 years 4 months ago #36228

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
I think using python3 will be better.
But the main problem probably comes from visual studio code.
I don't use it so i'm not aware of how it compile a code like Telemac but this kind of error message indicate that some modules are not compiled first or they are not found by the compiler when compiling other sources...
Try to just run the compilation from a command windows as the compile script was designed to mange the compilation in the right order

regards
Christophe
The administrator has disabled public write access.

Compilation error of v7p2r1 on Win10 4 years 4 months ago #36229

  • yuwangyang
  • yuwangyang's Avatar
Hi,
I follow your advice and uninstall VS code. The compilation was run from a command windows, and the same errors arise. :( :( So could you have any more suggetions?

regards!
The administrator has disabled public write access.

Compilation error of v7p2r1 on Win10 4 years 4 months ago #36230

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
join the systel config file you use and also a full listing of the compilation
Christophe
The administrator has disabled public write access.

Compilation error of v7p2r1 on Win10 4 years 4 months ago #36232

  • yuwangyang
  • yuwangyang's Avatar
Hi Coulet,
here is my systel config file in attachment, is there anything wrong?
Attachments:
The administrator has disabled public write access.

Compilation error of v7p2r1 on Win10 4 years 4 months ago #36233

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
You probably start from an example file which is quiet old.
You should at least add -cpp in the cmd_obj line

Here is my cmd_obj line:
cmd_obj: gfortran -c -O3 -fopenmp -cpp -fconvert=big-endian -frecord-marker=4 <mods> <incs> <f95name>


Hope this helps
regards
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: amyrhulbakar
Moderators: borisb

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.