Welcome, Guest
Username: Password: Remember me

TOPIC: Compilation error of v7p2r1 on Win10

Compilation error of v7p2r1 on Win10 4 years 2 months ago #36614

  • pham
  • pham's Avatar
  • OFFLINE
  • Administrator
  • Posts: 1559
  • Thank you received: 602
Hello,

I would suggest you to try to install this release with what is suggested in topic www.opentelemac.org/index.php/kunena/2-w...-parallel-using-v8p1
You may have to install some pre-requisites but it may help you.

I am not sure what you used is up to date.
I do not use TELEMAC on Windows, I will not be able to help you more, perhaps other users?

Hope this helps,

Chi-Tuan
The administrator has disabled public write access.

Compilation error of v7p2r1 on Win10 4 years 2 months ago #36617

  • pham
  • pham's Avatar
  • OFFLINE
  • Administrator
  • Posts: 1559
  • Thank you received: 602
Hello again,

Can you try to compile with another version of gcc, gcc 9 for example, not gcc 10. In another topic, yugi told the code has not been compiled with gcc 10 yet, so please try an older version of gcc (but newer than 4.6.3).

Hope this helps,

Chi-Tuan

PS : do not forget rule #2: "Do not cross-post the same question to multiple places."
The administrator has disabled public write access.

Compilation error of v7p2r1 on Win10 4 years 2 months ago #36619

  • crau
  • crau's Avatar
Hello,

I have post in another topic because this one seemed not relevant anymore now that I'm trying to install the v8p1r0. But I will keep on this one.

So I have tried to suppress all the different version of gcc and fortran.
Now I'm using gcc 9.2.0 and python 3.8.3 both on 64 bits.

And I still got some trouble ! Here the last message :
C:\opentelemac-mascaret\v8p1>compile_telemac.py
Traceback (most recent call last):
  File "C:\opentelemac-mascaret\v8p1\scripts\python3\compile_telemac.py", line 15, in <module>
    from compilation.compil_tools import compile_api_files, \
  File "C:\opentelemac-mascaret\v8p1\scripts\python3\compilation\compil_tools.py", line 17, in <module>
    from utils.files import create_directories, put_file_content, is_newer
  File "C:\opentelemac-mascaret\v8p1\scripts\python3\utils\files.py", line 51, in <module>
    from urllib.request import urlopen
ImportError: No module named request

Any idea to solve this problem ?

Thank you so much for your invest Pham

Regards
The administrator has disabled public write access.

Compilation error of v7p2r1 on Win10 4 years 2 months ago #36620

  • pham
  • pham's Avatar
  • OFFLINE
  • Administrator
  • Posts: 1559
  • Thank you received: 602
Using the search function of this forum, I found:
www.opentelemac.org/index.php/kunena/2-w...8p1r0?start=10#36212

You should read all the answers written after. I cannot tell more.

Hope this helps,

Chi-Tuan
The administrator has disabled public write access.
The following user(s) said Thank You: crau

Compilation error of v7p2r1 on Win10 4 years 2 months ago #36622

  • crau
  • crau's Avatar
Thanks, I will keep investigate !
The administrator has disabled public write access.

Compilation error of v7p2r1 on Win10 4 years 2 months ago #36624

  • crau
  • crau's Avatar
Hi Pham,

Just to keep you update, I have managed to compile Telemac ! I had to choose the gcc 9.2 version and only the python 3.8.3 version.
Also, as C.Coulet has suggested, I removed mascaret from the compilation by adding system -mascaret in the config file.

Regards
The administrator has disabled public write access.

Compilation error of v7p2r1 on Win10 4 years 2 months ago #36625

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
Hello all,
I confirm that I am too having issues with gcc10. Adding '-fallow-invalid-boz' to command allowed compilation of telemac system BUT NOT the api.
The error I got in the end is:
gfortran.exe: error: unrecognized command-line option '-mno-cygwin'; did you mean '-mno-clwb'?
which might be related to the MSYS2 environment that I am using and I have yet to find any lead.
Costas
The administrator has disabled public write access.

Compilation error of v7p2r1 on Win10 4 years 2 months ago #36630

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
Further investigation revealed the culprit within the particulars of my installation. Compilation of both the TELEMAC system and the API are possible with GCC-10 as long as '-fallow-invalid-boz' is added.
Costas
The administrator has disabled public write access.
The following user(s) said Thank You: pham

Compilation error of v7p2r1 on Win10 4 years 2 months ago #36631

  • pham
  • pham's Avatar
  • OFFLINE
  • Administrator
  • Posts: 1559
  • Thank you received: 602
Good news,

You are able to use TELEMAC now.

Chi-Tuan
The administrator has disabled public write access.

Compilation error of v7p2r1 on Win10 4 years 2 months ago #36634

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
Hello Chi-Tuan,
I am happy for your optimism, but unfortunately, compiling TELEMAC doesn't necessarily mean you can use it too!
More to come in a new thread. :(
Costas
The administrator has disabled public write access.
Moderators: borisb

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