Welcome, Guest
Username: Password: Remember me

TOPIC: Using TelApy to run Telemac-2D simulation in parallel

Using TelApy to run Telemac-2D simulation in parallel 2 years 8 months ago #40182

  • qilong
  • qilong's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 340
  • Thank you received: 33
Hello Telemac community,

I was able to follow the example of using TelApy to execute Telemac-2D simulations (v8p3r1/notebooks/telapy/telemac2d_example.ipynb). It worked well for running with one processor.

In the TelApy manual it says:
after initializing the MPI environment, the user must partition the input files (geometry file, boundary conditions files, and so on) using the Fortran function "partel". Then, when the calculation is complete, it is necessary to merge each subdomains result files using the "gretel" routine of the TELEMAC-MASCARET SYSTEM. The MPI environment can then be closed.


I'm wondering is there any example that could show how to run the simulation with multiple processors? Is it possible to have a small example demonstrating these steps?

Thanks in advance!

Kind regards,
Qilong
The administrator has disabled public write access.

Using TelApy to run Telemac-2D simulation in parallel 2 years 6 months ago #40501

  • goeury
  • goeury's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 6
Dear Qilong,

the documentation needs to be refreshed. The partition and concatenation steps are now already managed in the api python class to be user friendly. For instance, the merging step is included in the finalize step of the api, when you do 'MYINSTANCE.finalize()'

Best regards,

Cédric
The administrator has disabled public write access.
The following user(s) said Thank You: qilong

Using TelApy to run Telemac-2D simulation in parallel 2 years 6 months ago #40517

  • qilong
  • qilong's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 340
  • Thank you received: 33
Dear Cédric,

Thanks for the info!
I'm going to try it out in my test.

Kind regards,
Qilong
The administrator has disabled public write access.

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