Welcome, Guest
Username: Password: Remember me

TOPIC: Gretel not merge entire simulation

Gretel not merge entire simulation 8 years 2 months ago #23626

  • ekirinus
  • ekirinus's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 21
  • Thank you received: 1
Hello,

I've been using gretel_autop without any problems for several occasions until today, when this error occur.

My simulation is 12 years long in boundary conditions, so we have to restart it from time to time due to power outage, merging it with gretel. We are running V6p3 with 72 cores, 90 time step with daily saving (960), so the files won't get so huge.

The simulation starts on 09/20/2004 and runs properly for 219 days when the power was interrupted. While using gretel_autop, it only merged 64 days showing the following message:

At line 58 of file /usr/TELEMAC/sources/utils/gretel/gretel_read_dataset.f (unit = 10, file = 'T3DHYD00071-00000')
Fortran runtime error: I/O past end of record on unformatted file


The output from gretel and 1 core simulation is attached.


# Additional Information:
1) I'm running more 5 scenarios nearly identical and gretel works for all of them. The fact that i'm already restarting this simulation shows that gretel once worked for this result.
2) My computer have memory and space available for the merging, so this is not the case.
3) All the 72 files are opening properly on bluekenue with 219 days of result.

# Questions:
1) Why is this gretel error happening on this run?
2) There is another executable available to test if the partitioned files are not corrupted?
3) There is another way to merge the files?


Thanks in advance for the help

Eduardo Kirinus
Attachments:
The administrator has disabled public write access.

Gretel not merge entire simulation 8 years 2 months ago #23630

  • ekirinus
  • ekirinus's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 21
  • Thank you received: 1
the result file is in the following link

www.dropbox.com/s/ifxzxu57ed88w7c/T3DHYD00071-00000?dl=0
The administrator has disabled public write access.

Gretel not merge entire simulation 8 years 2 months ago #23634

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
Some answers:
0) I would suggest using a more recent version a lot of modifications on I/O as been done in V7p1r1; some of them in Gretel as well.
1) No clue. This is indeed really weird. This is the kind of error you get when something is missing from the file.
2) You can try running them through stbtel doing a refinement for example.
3) Gretel is the only way.

I can not download your file to test dropbox is blocked here.

Hope it helps.
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.

Gretel not merge entire simulation 8 years 2 months ago #23639

  • ekirinus
  • ekirinus's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 21
  • Thank you received: 1
Thanks for the answer yugi,

I used the following command:
converter.py T3DHYD.slf -o T3DHYD.med -n 72 --debug

The STBTEL delivers the same error message: (log is attached)
Fortran runtime error: I/O past end of record on unformatted file

I think that during the run, one/all files were somehow corrupted during the day 64...

I didnt tried gretel_autop from v7p1r1 yet.



Thanks
Attachments:
The administrator has disabled public write access.

Gretel not merge entire simulation 8 years 2 months ago #23642

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
Yes that seems to be the issue.
Here is a Fortran code that convert a serafin file into ascii.
You can use to see the error in the file.
compile the file with the following command:
gfortran -Wall -fconvert=big-endian -o srf-to-ascii srf-to-ascii.f
Attachments:
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.
The following user(s) said Thank You: ekirinus
Moderators: pham

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