Welcome, Guest
Username: Password: Remember me

TOPIC: Trunk version: error in launching simulation

Trunk version: error in launching simulation 5 years 1 month ago #34787

  • konsonaut
  • konsonaut's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 413
  • Thank you received: 144
Hello,

I installed the trunk version and when trying to launch a Telemac-2D simulation I get the following error:
______________________________________________
... processing the steering file
Traceback (most recent call last):
File "C:\Opentelemac\v8_trunk\scripts\python3\runcode.py", line 292, in <module>
main(None)
File "C:\Opentelemac\v8_trunk\scripts\python3\runcode.py", line 275, in main
run_study(cas_file, code_name, options)
File "C:\Opentelemac\v8_trunk\scripts\python3\execution\run_cas.py", line 154, in run_study
my_study = Study(steering_file, code_name, options.w_dir)
File "C:\Opentelemac\v8_trunk\scripts\python3\execution\study.py", line 93, in __init__
self.cas = TelemacCas(self.steering_file, self.dico_file)
File "C:\Opentelemac\v8_trunk\scripts\python3\execution\telemac_cas.py", line 72, in __init__
self._set_io_files()
File "C:\Opentelemac\v8_trunk\scripts\python3\execution\telemac_cas.py", line 262, in _set_io_files
.format(self.file_name, key, val))
utils.exceptions.TelemacException: In C:\Opentelemac\v8_trunk\malpasset\t2d_malpasset-eria.cas missing file for GEOMETRY FILE:
geo_malpasset-small.slf
______________________________________________

I'm sure that the geometry file is in the directory.
I would glad for any help!

Regards,
Clemens
The administrator has disabled public write access.

Trunk version: error in launching simulation 5 years 1 month ago #34792

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
Hello Clemens,
I have found that commenting out lines 259-262 in telemac_cas.py solved a similar issue in my case:
                    #if not path.exists(val):
                        #raise TelemacException(\
                        #    "In {} missing file for {}:\n {}"\
                        #    .format(self.file_name, key, val))
I tried to troubleshoot it for some time but it lead anywhere. No apparent side-effects. Eventually, it has become a permanent fix in my sources. :laugh:
Best Regards,
Costas
The administrator has disabled public write access.
The following user(s) said Thank You: konsonaut

Trunk version: error in launching simulation 5 years 1 month ago #34794

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
Hi,

This seems weird.
I do not get the error on my version.
This line is here to check that the file exist.
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.

Trunk version: error in launching simulation 5 years 1 month ago #34795

  • konsonaut
  • konsonaut's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 413
  • Thank you received: 144
Hi Costas,

thanks, indeed it works now.

For your information: I have Win10, gfortran, MS MPI


With best regards,

Clemens
The administrator has disabled public write access.

Trunk version: error in launching simulation 5 years 1 month ago #34796

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
As a matter of fact, the particular error in the malpasset example, doesn't happen in my installation (with the exception on B)).
I clearly remember having big problems with this when having relative paths for input/output in my steering file.
It looks more likely to be a python version related issue. I am on WinPython 371.
Costas
The administrator has disabled public write access.
Moderators: borisb

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