Welcome, Guest
Username: Password: Remember me

TOPIC: Updating TELEMAC from v8p4 to v9 using extracted files from installer

Updating TELEMAC from v8p4 to v9 using extracted files from installer 1 month 3 weeks ago #46643

  • Amalvir
  • Amalvir's Avatar
  • NOW ONLINE
  • Junior Boarder
  • Posts: 30
  • Thank you received: 8
Hello everyone,

Currently, only the installer for version v8p4r0 is available. Since there doesn't seem to be an installer yet for v9p0, I was wondering if there's a straightforward way to upgrade TELEMAC to v9p0 using the extracted files from the installer.

I tried replacing the source files and Python scripts from v8p4 with those from v9p0, but when I attempted to compile the system, I encountered various errors. Has anyone successfully tried this approach?

Secondly, is it possible to compile TELEMAC on one PC and then copy the compiled binaries and files to another machine? Would this cause any performance issues or compatibility problems?

Thanks in advance for your help!

Best regards,
The administrator has disabled public write access.

Updating TELEMAC from v8p4 to v9 using extracted files from installer 1 month 3 weeks ago #46644

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3797
  • Thank you received: 1056
Hi
Did you upgrade the config file alter replacing source and python files?
What kind of error did you encountered?

Compiling on one PC and copy binaries on another machine could work but could be risky if the machine are not the same (python, mpi ...)

Regards
Christophe
The administrator has disabled public write access.

Updating TELEMAC from v8p4 to v9 using extracted files from installer 1 month 3 weeks ago #46646

  • Amalvir
  • Amalvir's Avatar
  • NOW ONLINE
  • Junior Boarder
  • Posts: 30
  • Thank you received: 8
Hi,

Thanks a lot for your quick reply!

Yes, I did update the configuration files as well (I've attached the config file for reference).

The errors I'm getting seem to be related to unsatisfied dependencies, particularly with Microsoft Visual C++. It's strange because when I install TELEMAC using the official installer (v8p4r0), everything is fine without any such issues.

Do you know why this might be happening? Maybe the installer is not compiling anything ?

I've also attached the full compilation log in case it helps.

Best regards,
Attachments:
The administrator has disabled public write access.

Updating TELEMAC from v8p4 to v9 using extracted files from installer 1 month 3 weeks ago #46647

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3797
  • Thank you received: 1056
Hi
Never used the pre-compiled version...
for me it's potentially hazardous to replace only the sources and scripts in a directory v8p4. It's probably better to duplicate v8p4 directory and rename it v9p0, then change the files, scripts and config ...
By the way, you should also make a clean compilation to force the remove of already compiles libraries and executable.

Regards
Christophe
The administrator has disabled public write access.

Updating TELEMAC from v8p4 to v9 using extracted files from installer 1 month 2 weeks ago #46651

  • Amalvir
  • Amalvir's Avatar
  • NOW ONLINE
  • Junior Boarder
  • Posts: 30
  • Thank you received: 8
Hi,

Thanks for your message, you're absolutely right, directly replacing the sources in a v8p4 directory was a mess. I tried this because I thought it would be simpler, but it was a mistake.

I managed to compile version v9.0.0 using the Wintel repository. However, I had to make a couple of adjustments to the build-telemac.py scr ipt:
  • First, the branch name was incorrect and needed to be fixed.
  • Then, I had to replace the line call compile_telemac.py with call python.exe scripts\python3\compile_telemac.py, otherwise Windows would prompt me to choose an app to open the .py file.

Thanks again for your guidance!
My next challenge is to optimize Telemac performance
The administrator has disabled public write access.

Updating TELEMAC from v8p4 to v9 using extracted files from installer 1 month 2 weeks ago #46652

  • Amalvir
  • Amalvir's Avatar
  • NOW ONLINE
  • Junior Boarder
  • Posts: 30
  • Thank you received: 8
My next challenge is to optimize Telemac performance as much as possible by experimenting with different compilation setups. I've read that Fortran programs can benefit from using the Intel compiler on Intel processors (which is my case), or by adding flags like --march=native with gfortran.

I haven't found much in previous posts about performance tuning in this context, has anyone here tried performance optimization for Telemac? Any tips or benchmarks would be greatly appreciated!

Best regards,
The administrator has disabled public write access.
Moderators: borisb

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