Welcome, Guest
Username: Password: Remember me

TOPIC: TELEMAC-2D v8p2r1 installing

TELEMAC-2D v8p2r1 installing 3 years 4 months ago #38802

  • Li Guiyi
  • Li Guiyi's Avatar
Hi,
I used to use Telemac-2D v7p2r3, but now I install v8p2r1. The installation steps are the same as those of v7p2. The system_v8p2r1.cfg configuration file only changes the version name based on v7p2 configuration. There was an error in the interpretation.
"ImportError: No module named request". See the attachment for detailed information.
THANKS
errormessage.png


File Attachment:

File Name: systel_v8p2r1.cfg
File Size: 3 KB
The administrator has disabled public write access.

TELEMAC-2D v8p2r1 installing 3 years 4 months ago #38804

  • abernard
  • abernard's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 210
  • Thank you received: 45
Hi,

OpenTelemac has moved to python 3.

Try to make sure that tour command compile_telemac.py run with python3 and not python2.

Alexis
The administrator has disabled public write access.
The following user(s) said Thank You: Li Guiyi

TELEMAC-2D v8p2r1 installing 3 years 4 months ago #38807

  • Li Guiyi
  • Li Guiyi's Avatar
Hi,Alexis
Thank you for your reply.
I found that when the software was installed by "opentelemacmascaret-5.2-windows-installer", Python27 was still installed. But in "sources-scripts" folder it's Python 3.Does this mean I have to download and install Python 3 myself ?
THANKS, All the best
Li
The administrator has disabled public write access.

TELEMAC-2D v8p2r1 installing 3 years 4 months ago #38809

  • abernard
  • abernard's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 210
  • Thank you received: 45
Yes,

Since v8p2, python2 scripts are not provided anymore.
You will have to switch to python 3.

As there is no update of the automatic installer so far, you will have to install python 3 and some libraries by yourself.

Few month ago, I was reluctant with this as I had previous version of telemac already installed on my computer with python 2.
You can manage an environment to keep old version working with python 2 and newer versions with python 3.

So, you can install python 3 from https://www.python.org/
And after that, you will just need to install libraries as described in the wiki http://wiki.opentelemac.org/doku.php?id=installation_notes_2_beta
-> Using pip to install requirements

Alexis
The administrator has disabled public write access.
The following user(s) said Thank You: Li Guiyi

TELEMAC-2D v8p2r1 installing 3 years 4 months ago #38810

  • Li Guiyi
  • Li Guiyi's Avatar
Hello Alexis
In this case, v8p2 installation is relatively cumbersome. On another computer, I've been using version v7p2r3. I'm thinking about updating it.In another post, I see you have also sent me a systel_v8p2_parallel.cfy file.I'm now ready to add parallel computing on top of the v7p2r3 version.Is the .cfg file you sent me still suitable(Except to change the version name)?
Li
The administrator has disabled public write access.

TELEMAC-2D v8p2r1 installing 3 years 4 months ago #38811

  • Li Guiyi
  • Li Guiyi's Avatar
Sure enough, there was a mistake. :(

File Attachment:

File Name: h9fcc372.txt
File Size: 3 KB
The administrator has disabled public write access.

TELEMAC-2D v8p2r1 installing 3 years 4 months ago #38812

  • abernard
  • abernard's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 210
  • Thank you received: 45
About v7p2r3 parallel configuration, I don't remember if I changed my cfg since v7p2. I guess yes.

We are not supposed to give assistance on old version of telemac so I can only support you to upgrade to V8p2 for your paralel computing.

It will help for this question and further.
The administrator has disabled public write access.
The following user(s) said Thank You: Li Guiyi

TELEMAC-2D v8p2r1 installing 3 years 2 days ago #39344

  • Taro47
  • Taro47's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 32
Hello Li,

I have the same error trying to install v8p2r1 with Python 3.10 with the attached cfg file. Did you solve this problem?

Anyone can help me?


Thanks Nicolas

File Attachment:

File Name: systel_2021-11-20.cfg
File Size: 1 KB
The administrator has disabled public write access.

TELEMAC-2D v8p2r1 installing 3 years 12 hours ago #39345

  • Taro47
  • Taro47's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 32
I finally succeeded to compile v8p2r1 using Python 3.6.8. The compilation lasted few minutes. Is normal? To my mind, it takes longer...
Now, when I try to run an example, I have this error.

Thanks for your help.

Regards

Nicolas
Attachments:
The administrator has disabled public write access.

TELEMAC-2D v8p2r1 installing 3 years 11 hours ago #39346

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi Nicolas
Even you're running only on 1 processor, the configuration you use is a parallel one and then you call mpiexec.
According to the error message, I suspect MPI crashing and then trying to print a message which is not well managed by python...
Try to run the full command manually in the temporary directory should help you to understand where the problem is

Regards
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: Taro47
Moderators: borisb

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