Welcome, Guest
Username: Password: Remember me

TOPIC: Oil spill error

Oil spill error 6 years 5 months ago #30243

  • ekechijioke
  • ekechijioke's Avatar
Hello,

I have ran several oil spill simulation with Telemac3D. However, I keep getting the same error. Please any suggestion?

Find attached the error screen.

Regards,
Chijioke.
Attachments:
The administrator has disabled public write access.

Oil spill error 6 years 5 months ago #30244

  • ekechijioke
  • ekechijioke's Avatar
Ps: the hydrodynamic model runs perfectly till it introduces the drogues particles.
The administrator has disabled public write access.

Oil spill error 6 years 5 months ago #30252

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
Probably a memory size somewhere which is over passed in your case
To find the exact place, you could try to compile Telemac in debug mode and run the simulation, you will obtain more information

Regards
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: ekechijioke

Oil spill error 6 years 5 months ago #30276

  • ekechijioke
  • ekechijioke's Avatar
Unfortunately, I have not been able to locate the error.
The administrator has disabled public write access.

Oil spill error 6 years 5 months ago #30286

  • ekechijioke
  • ekechijioke's Avatar
Hello C.Coulet,

I ran a debugger. It seems the crash occurs at oil_spill_3d. It is still not clear why the crash.

Regards.
Attachments:
The administrator has disabled public write access.

Oil spill error 6 years 5 months ago #30288

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
You activate the debugger in the steering file and then you know the problem is located in the oil_spill_3D.f subroutine.
2 possibilities
You compile the whole system with a debug configuration, and then you will probably have more information when the crash occurs. You could also manually run the program inside the temp directory with gdb for example. It means you know how gdb works...
Other possibility, place oil_spill_3D.f in the user fortran and add some prints to see precisely where the crash occurs.
As it's a segmentation fault, there is a lot of chance that you try to access to an array at an index value larger than the array itself...

Hope this helps
Christophe
The administrator has disabled public write access.

Oil spill error 6 years 5 months ago #30314

  • ekechijioke
  • ekechijioke's Avatar
I would be glad if you can explain further. This seems very technical for someone with little Telemac/programming knowledge.

Regards.
The administrator has disabled public write access.

Oil spill error 6 years 5 months ago #30331

  • riadh
  • riadh's Avatar
Hello

The first option proposed by Christophe is for programmer with advanced skills. use rather the second option.
You can add module oilspill.f and intoduce some error message throughout the subroutine oilspill_3d.f in order to see where exactly it fails.

On the other hand, I see that in the first run you have several warnings. make sure that the initial position of the particles are well placed.

with my kind regards

Riadh
The administrator has disabled public write access.

Oil spill error 6 years 5 months ago #30403

  • ekechijioke
  • ekechijioke's Avatar
Hello,

I noticed wind was not considered in the Telemac3d oil spill example (estu_gir_3D). I took wind out of my simulation and the oil spill simulation is running smoothly.

Do you know why this is the case.

Regards,
Chijioke.
The administrator has disabled public write access.
Moderators: pham

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