Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Does the v8p4r0 version of the automatic installer support the telapy?

Does the v8p4r0 version of the automatic installer support the telapy? 1 year 3 months ago #43235

  • wsy9208
  • wsy9208's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 37
  • Thank you received: 3
Hello!

I hope you're all doing well. Previously, I successfully compiled and installed TELEMAC-2D version v8p4r0 on a Linux system and and also applied the telapy module to call the API from Python. However, I have never managed to compile and install it on a Windows system. Recently, thanks to the excellent efforts of the development team, I finally succeeded in installing the Windows version using the automatic installer.

However, I encountered an issue when I tried to run my Python code that includes the line "from mpi4py import MPI." The error message I received is:"ImportError: DLL load failed while importing MPI." I would like to inquire about the possible reasons for this problem. Can the automatic installer support the use of the "telapy" module?

Thank you for your assistance and insights.

Best regards,
WSY
The administrator has disabled public write access.

Does the v8p4r0 version of the automatic installer support the telapy? 1 year 3 months ago #43269

  • borisb
  • borisb's Avatar
  • OFFLINE
  • Admin
  • Posts: 129
  • Thank you received: 67
Hello,

There was an issue with mpi4py in the initial version of the setup I uploaded to the website, which I corrected a few days later. If you download the installer again and reinstall TELEMAC, it should normally work. However, if it still doesn't, we'll have to investigate the cause of your problem.

As far as TelApy is concerned, it works with the Windows version with the exception of the MASCARET API (a problem we hope to fix in the next version).
The administrator has disabled public write access.

Does the v8p4r0 version of the automatic installer support the telapy? 1 year 3 months ago #43272

  • wsy9208
  • wsy9208's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 37
  • Thank you received: 3
Hello borisb,

Thank you for your reply! I've tried re-downloading and installing it, but the problem isn't solved, so it should be something else.

Regards,
WSY
The administrator has disabled public write access.

Does the v8p4r0 version of the automatic installer support the telapy? 1 year 3 months ago #43275

  • borisb
  • borisb's Avatar
  • OFFLINE
  • Admin
  • Posts: 129
  • Thank you received: 67
Do you have another installation of Python on your system?
The administrator has disabled public write access.

Does the v8p4r0 version of the automatic installer support the telapy? 1 year 3 months ago #43276

  • wsy9208
  • wsy9208's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 37
  • Thank you received: 3
When I enter "where python" command in cmd, the output is:
D:\python3.10\python.exe
C:\Users\GW\AppData\Local\Microsoft\WindowsApps\python.exe
The administrator has disabled public write access.

Does the v8p4r0 version of the automatic installer support the telapy? 1 year 3 months ago #43299

  • borisb
  • borisb's Avatar
  • OFFLINE
  • Admin
  • Posts: 129
  • Thank you received: 67
It seems that you are not in the TELEMAC environment, as TELEMAC Python is not found. You must use the "TELEMAC Command Prompt" shortcut created in the Start menu and on the Desktop after installation.
The administrator has disabled public write access.

Does the v8p4r0 version of the automatic installer support the telapy? 1 year 3 months ago #43300

  • wsy9208
  • wsy9208's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 37
  • Thank you received: 3
Thanks for the reminder! I wasn't sure if you were referring to the action in the attached image as it seemed to be the same result.
Attachments:
The administrator has disabled public write access.

Does the v8p4r0 version of the automatic installer support the telapy? 1 year 3 months ago #43301

  • borisb
  • borisb's Avatar
  • OFFLINE
  • Admin
  • Posts: 129
  • Thank you received: 67
When you are in the TELEMAC Command Prompt, if you enter "where python", does it returns the path to TELEMAC Python directory?
The administrator has disabled public write access.

Does the v8p4r0 version of the automatic installer support the telapy? 1 year 3 months ago #43302

  • wsy9208
  • wsy9208's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 37
  • Thank you received: 3
(telemac) D:\TELEMAC>where python
D:\TELEMAC\V8P4\external\python-3.10.9\python.exe
D:\python3.10\python.exe
C:\Users\GW\AppData\Local\Microsoft\WindowsApps\python.exe
The administrator has disabled public write access.

Does the v8p4r0 version of the automatic installer support the telapy? 1 year 3 months ago #43303

  • borisb
  • borisb's Avatar
  • OFFLINE
  • Admin
  • Posts: 129
  • Thank you received: 67
Can you go to D:\TELEMAC\V8P4\external\python-3.10.9\Lib\site-packages\mpi4py and check that there is a file named "msmpi.dll" inside this directory?
The administrator has disabled public write access.
  • Page:
  • 1
  • 2

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