Welcome, Guest
Username: Password: Remember me

TOPIC: Fortran runtime error while automating Telemac through python

Fortran runtime error while automating Telemac through python 20 hours 45 minutes ago #46311

  • Jay_00
  • Jay_00's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
Hello,

I am trying to couple SWMM and Telemac to simulate effects of heavy rainfall in urban areas. One of the steps to achieve that is to run both the simulation simultaneously through python.

When trying to automatize Telemac, to run through python im unable to run Telemac and am encoutering "Fortran runtime error: Cannot open file 'T2DDICO': No such file or directory".

However, when I run Telemac through the dedicated command prompt everything runs smoothly without any error and is able to read he T2DDICO file.


PS: before encountering Fortran error there were some other error that I was encountering like "missing .dll files" which I tried to correct by specifying the path of those files in the python script itself.
Attachments:
The administrator has disabled public write access.

Fortran runtime error while automating Telemac through python 20 hours 19 minutes ago #46312

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3757
  • Thank you received: 1039
Hi
You are missing some basic concept of Telemac.
Running the Telemac executable only works in a working directory which is created, filled and destroy at the end of computation by the python script.
Trying to just call the exe is then not consistent with this way to run.
As you plan to run Telemac through python, you should probably have a look to the Telemac API...
Regards
Christophe
The administrator has disabled public write access.
Moderators: pham

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