Welcome, Guest
Username: Password: Remember me

TOPIC: ERROR: segmentation fault - invalid memory reference

ERROR: segmentation fault - invalid memory reference 8 years 4 months ago #22380

  • ykhoudar
  • ykhoudar's Avatar
Hello,

I tried to use the condim utimp in order to extract data from some specific points.

My code (attached) works for few points. But when I want to run all my program I have the following error message (attached).

Does someone know if I can fix my issue ?

Thank you in advanca

Regards
Attachments:
The administrator has disabled public write access.

ERROR: segmentation fault - invalid memory reference 8 years 4 months ago #22381

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
You probably use an index which is out of the range of an array...
Hard to say more.
You have to check the values and compare to size...

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

ERROR: segmentation fault - invalid memory reference 8 years 4 months ago #22382

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Another point
The text coloration suggest you have tabs instead of space in your Fortran file.
This will probably have no impact but ...

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

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