Welcome, Guest
Username: Password: Remember me

TOPIC: Error when trying to compileTELEMAC.py

Error when trying to compileTELEMAC.py 2 years 2 months ago #40976

  • Romero64
  • Romero64's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 40
  • Thank you received: 1
I'm trying to install TELEMAC v8p0, but this time I got this message:

Not able to get to the configuration file: C:\opentelemac-mascaret\v8p1\configs\systel_v8p0.cfg

What should I do?
Attachments:
The administrator has disabled public write access.

Error when trying to compileTELEMAC.py 2 years 2 months ago #41043

  • HohaiZ
  • HohaiZ's Avatar
I've met the same question.
I just try to use cmd find I do not have gfortran,maybe you can type gcc -v in your cmd
ensure you have gfortran.
If you dont have,you can download mingw and then may solve your problem.
The administrator has disabled public write access.

Error when trying to compileTELEMAC.py 2 years 2 months ago #41108

  • borisb
  • borisb's Avatar
  • OFFLINE
  • Admin
  • Posts: 128
  • Thank you received: 64
You should not use V8P1 anymore but update to the latest version (V8p3R1) which is available from the official Telemac repository: gitlab.pam-retd.fr/otm/telemac-mascaret

The best way to build Telemac on Windows is to use the help and script provided by the Wintel repository: gitlab.pam-retd.fr/otm/wintel
The administrator has disabled public write access.

Error when trying to compileTELEMAC.py 1 year 7 months ago #42303

  • nanad
  • nanad's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
Hi there,

i tried to follow the repository that @borisb mentioned, but i got an error while compiling the telemac-deps.
It says "Python 3.10 is not found. You need to install it using the official installer"
The thing is, that i installed Python 3.10 (3.10.0 to be precise) and so i guess it might be a path problem. Unfortunately Wintel doesn't mention where Python needs to be installed (on C:\ i guess?).
Do i need to adapt the part in the compile-telemac-dep script?
rem Check for the presence of Python 3.10
py -0 2>nul | findstr /I /B /C:" -3.10-64" > nul 2>&1
if %errorlevel% == 1 (
    echo Error: Python 3.10 not found. You need to install it using the official installer.
    exit /b 0
)

if yes, how?
Or it there anything else i should check?
Would highly appreciate your help.
Thx, Anna
The administrator has disabled public write access.

Error when trying to compileTELEMAC.py 1 year 7 months ago #42358

  • borisb
  • borisb's Avatar
  • OFFLINE
  • Admin
  • Posts: 128
  • Thank you received: 64
Hello Nanad,

Are you sure that you have installed Python 3.10 64-bit? Because the batch script in the wintel repository does not work with the 32-bit version of Python.

To verify this, you have to enter the command "py -0" and check that it returns at least "3.10-64" in the list of Python versions.
The administrator has disabled public write access.

Error when trying to compileTELEMAC.py 1 year 6 months ago #42454

  • nanad
  • nanad's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
thank you very much for you answer.
Yes, the 64bit version is installed. I guess the problem was with admin rights or something. i reinstalled and now everything is running. Thank you!
The administrator has disabled public write access.
Moderators: borisb

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