Welcome, Guest
Username: Password: Remember me

TOPIC: HERMES error when merging 2 files with kind=time

HERMES error when merging 2 files with kind=time 8 months 20 hours ago #44462

  • nicogodet
  • nicogodet's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 157
  • Thank you received: 39
Hi,

When writing the result mesh, it ends with this error :
$ run_telfile.py merge --kind=time reestuarisation_part_p1.res reestuarisation_part_p2.res test.res


Interpreting command line options
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  ~> Merging reestuarisation_part_p1.res, reestuarisation_part_p2.res into test.res kind=time
Skipping duplicate time 6566400.0 from reestuarisation_part_p2.res
Traceback (most recent call last):
  File "/opt/telemac-mascaret/v8p5r0/scripts/python3/run_telfile.py", line 479, in <module>
    main()
  File "/opt/telemac-mascaret/v8p5r0/scripts/python3/run_telfile.py", line 461, in main
    merge(options.input_files, options.output_file, options.bnd_file,
  File "/opt/telemac-mascaret/v8p5r0/scripts/python3/pretel/manip_telfile.py", line 796, in merge
    out_res.write()
  File "/opt/telemac-mascaret/v8p5r0/scripts/python3/data_manip/extraction/telemac_file.py", line 1985, in write
    self.write_mesh()
  File "/opt/telemac-mascaret/v8p5r0/scripts/python3/data_manip/extraction/telemac_file.py", line 1904, in write_mesh
    self.set_header(self._title, self._nvar, self._varnames,
  File "/opt/telemac-mascaret/v8p5r0/scripts/python3/telapy/api/hermes.py", line 720, 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=11


Files are huge (11go and 8go) so not easy to share (and I would have to ask to share them).

I have no clue how to debug this. Both input files have same variables.
The administrator has disabled public write access.

HERMES error when merging 2 files with kind=time 6 months 4 weeks ago #44644

  • borisb
  • borisb's Avatar
  • OFFLINE
  • Admin
  • Posts: 128
  • Thank you received: 64
Hi Nico,

Do you still get this error and if so, which version of NumPy are you using?
The administrator has disabled public write access.

HERMES error when merging 2 files with kind=time 6 months 4 weeks ago #44645

  • nicogodet
  • nicogodet's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 157
  • Thank you received: 39
Hi Boris,

Didn't retry since last message.

Python 3.8.10
Numpy 1.24.4 (shoudl be OK in V8P5R0)
The administrator has disabled public write access.

HERMES error when merging 2 files with kind=time 6 months 4 weeks ago #44646

  • borisb
  • borisb's Avatar
  • OFFLINE
  • Admin
  • Posts: 128
  • Thank you received: 64
Thanks, so in your other thread about memory consumption when merging two huge meshes, you didn't use Hermes?
The administrator has disabled public write access.

HERMES error when merging 2 files with kind=time 6 months 4 weeks ago #44647

  • nicogodet
  • nicogodet's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 157
  • Thank you received: 39
I used HERMES too.

Quote from other thread:
I retried on 128Go RAM machine and it uses at maximum 75Go of RAM.

RAM went up to 75Go but it crashed with the error mentionned in this issue.

Files are still on our cluster, I can find a way to provide you a download link (in PM not public).
The administrator has disabled public write access.

HERMES error when merging 2 files with kind=time 6 months 4 weeks ago #44648

  • borisb
  • borisb's Avatar
  • OFFLINE
  • Admin
  • Posts: 128
  • Thank you received: 64
Thanks, and don't hesitate to send me the links by PM, as I'm currently working on TELEMAC Python scripts related to meshing, so this is a good opportunity.
The administrator has disabled public write access.

HERMES error when merging 2 files with kind=time 6 months 4 weeks ago #44651

  • nicogodet
  • nicogodet's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 157
  • Thank you received: 39
I sent you the link via email (PM seems broken here)
The administrator has disabled public write access.
Moderators: borisb

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