Welcome, Guest
Username: Password: Remember me

TOPIC: Hermes error when assembling free surface result

Hermes error when assembling free surface result 4 hours 48 minutes ago #46327

  • nicogodet
  • nicogodet's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 169
  • Thank you received: 41
Hi,

V9.0 with MUMPS
+> res_SL_est_par
Traceback (most recent call last):
  File "/opt/telemac-mascaret/v9.0.0/scripts/python3/runcode.py", line 303, in <module>
    sys.exit(main())
  File "/opt/telemac-mascaret/v9.0.0/scripts/python3/runcode.py", line 287, in main
    run_study(cas_file, code_name, options)
  File "/opt/telemac-mascaret/v9.0.0/scripts/python3/execution/run_cas.py", line 170, in run_study
    run_local_cas(my_study, options)
  File "/opt/telemac-mascaret/v9.0.0/scripts/python3/execution/run_cas.py", line 78, in run_local_cas
    my_study.gather(options.sortie_file, options.nozip)
  File "/opt/telemac-mascaret/v9.0.0/scripts/python3/execution/study.py", line 744, in gather
    files = process_artnim(cas, self.case_dir)
  File "/opt/telemac-mascaret/v9.0.0/scripts/python3/execution/process.py", line 488, in process_artnim
    amp2wave(file_name_amp, file_name_wfs,
  File "/opt/telemac-mascaret/v9.0.0/scripts/python3/data_manip/computation/amp2wave.py", line 39, in amp2wave
    wave.write()
  File "/opt/telemac-mascaret/v9.0.0/scripts/python3/data_manip/extraction/telemac_file.py", line 2008, in write
    self.write_mesh()
  File "/opt/telemac-mascaret/v9.0.0/scripts/python3/data_manip/extraction/telemac_file.py", line 1935, in write_mesh
    self.set_header(self._title, self._nvar, self._varnames,
  File "/opt/telemac-mascaret/v9.0.0/scripts/python3/telapy/api/hermes.py", line 749, in set_header
    self.error = HermesFile._hermes.set_header(self._fformat, self.my_id,
_hermes.error: (shape(var_name, 0) == nvar) failed for 1st keyword nvar: set_header:nvar=1

This kind of error is quite obscure to me...
Python 3.8.10
Numpy 1.24.4

Full model + temp compute folder : cloud.nicodet.fr/s/7PKEYbyQCdSTg92
Attachments:
The administrator has disabled public write access.

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