Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Simulation does not start - Segmentation fault

Simulation does not start - Segmentation fault 10 years 9 months ago #12068

  • st3255
  • st3255's Avatar
Hello everybody,

when I try to start my simulation, the execution stops after the Memory Allocation. Other models worked fine, this one does not even start.

I do not really understand what the issue is. A source on the internet stated, that it might be a RAM problem? I have 8 GB RAM in my machine and the project contains 7068 nodes which seems not too much to me?

However - here is the listing. Maybe somebody can help me with it?
 LISTING OF TELEMAC-2D ---------------------------------------------------------
---------------------

                 TTTTT  EEEEE  L      EEEEE  M   M  AAAAA  CCCCC
                   T    E      L      E      MM MM  A   A  C
                   T    EEE    L      EEE    M M M  AAAAA  C
                   T    E      L      E      M   M  A   A  C
                   T    EEEEE  LLLLL  EEEEE  M   M  A   A  CCCCC

                         2D    VERSION 6.3    FORTRAN 90
                               WITH SEVERAL TRACERS
                         COUPLED WITH SISYPHE AND TOMAWAC

                   ********************************************
                   *               LECDON:                    *
                   *        AFTER CALLING DAMOCLES            *
                   *        CHECKING OF DATA  READ            *
                   *         IN THE STEERING FILE             *
                   ********************************************

 EXITING LECDON. NAME OF THE STUDY:

 OPENING FILES FOR TELEMAC2D

                          *****************************
                          *    MEMORY ORGANIZATION    *
                          *****************************

 READGEO1: TITLE= ARM_GeoN_001
            NUMBER OF ELEMENTS:    13923
            NUMBER OF POINTS:     7068

            FORMAT NOT INDICATED IN TITLE

 MXPTEL (BIEF) : MAXIMUM NUMBER OF ELEMENTS AROUND A POINT:  16
                 MAXIMUM NUMBER OF POINTS AROUND A POINT:  17
 CORRXY (BIEF):NO MODIFICATION OF COORDINATES

 MESH: MESH   ALLOCATED

                     *************************************
                     *    END OF MEMORY ORGANIZATION:    *
                     *************************************

_____________
runcode::main:
:
   |runCode: Fail to run
   |C:\Users\xxxxx\xxxxx\xxxxx\xxxxx\xx\xxxxx\Runs\xxxxxx\cas_2014-02-16-
17h27min42s\out_telemac2d.exe
   |~~~~~~~~~~~~~~~~~~
   |Program received signal SIGSEGV: Segmentation fault - invalid memory referen
ce.
   |
   |Backtrace for this error:
   |#0  ffffffffffffffff
   |~~~~~~~~~~~~~~~~~~

C:\opentelemac-mascaret\v6p3>
The administrator has disabled public write access.

Simulation does not start - Segmentation fault 10 years 9 months ago #12069

  • riadh
  • riadh's Avatar
Hello

this error message is not so explicit and thus can not help to understand what is the issue. However, your mesh looks very poor since we can see in the listing that "Maximum number of elements arount a node = 16". It is recommanded that this number must be at most equal to 10. I'm not sure (I have to verify at my office), but I think that there is a limitation somwhere in the code (If I remember well, during the allocation step) that uses this number and that bounds it to 10.
I suggest you to improve the quality of your mesh (using BlueKenue for instance) to limit this number to 10.
If this is, really the problem, we need to add a more explicit error message before the crash of the code.

With my best regards

Riadh ATA
The administrator has disabled public write access.

Simulation does not start - Segmentation fault 10 years 9 months ago #12075

  • st3255
  • st3255's Avatar
Hi Riadh,

thanks for the hint. I will look what I can achieve in BK and then report back.

You are right - a more explicit error message would be pretty helpful. Especially for people like me who are just getting started with Telemac.
The administrator has disabled public write access.

Simulation does not start - Segmentation fault 10 years 9 months ago #12076

  • jmhervouet
  • jmhervouet's Avatar
Hello,

If it is the number of neighbours 16>10, I would be keen to receive the case, tu study where we should stop more cleanly the program.

With best regards,

Jean-Michel Hervouet
The administrator has disabled public write access.

Simulation does not start - Segmentation fault 10 years 9 months ago #12077

  • st3255
  • st3255's Avatar
So I worked on the mesh for a little while and it solved the problem. Turining off the "resample outline" option in the BlueKenue Mesher combined with resampling the outline-lineset ended up getting me a way better mesh.

Now the neighbors are reduced to <10 and the simulation starts as intended.

@Jean-Michel: I would really like to give you my files but I have to see if I can do that. It is a running project and I'm not sure if I can give out our plans...
The administrator has disabled public write access.

Simulation does not start - Segmentation fault 10 years 5 months ago #13348

  • TimN
  • TimN's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 67
Hi Guys,

I faced the same problem setting up a model for the English Channel. Eventhough I used BlueKenue and all my elements are counter-clockwise I got the error of "Segmentation fault - invalid memory reference". I first had a chat with a colleague because I was trying to run it in parallel on my private machien, but it gives the same error in serial mode. I already checked and cleaned the mesh from isolated triangles.
I also set up a conceptual model and it worked fine.
Some more back tracers are listed up, but I can't find any advise about their meaning (main error message below):


READGEO1: TITLE= newSelafin

NUMBER OF ELEMENTS: 202418
NUMBER OF POINTS: 102881
MXPTEL (BIEF) : MAXIMUM NUMBER OF ELEMENTS AROUND A POINT: 9
MAXIMUM NUMBER OF POINTS AROUND A POINT: 9
CORRXY (BIEF):NO MODIFICATION OF COORDINATES

MESH: MESH ALLOCATED

*************************************
* END OF MEMORY ORGANIZATION: *
*************************************

_____________
runcode::main:
/Users/opentelemac/v6p3/EnglishChannel/SU1_1.5_3:
|runCode: Fail to run
|/Users/opentelemac/v6p3/EnglishChannel/SU1_1.5_3/SteeringEC.cas_2014-06-15-23h03min32s/out_telemac2d
|~~~~~~~~~~~~~~~~~~
|Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
|
|Backtrace for this error:
|#0 0x10b9e4132
|#1 0x10b9e48ee
|#2 0x7fff92db85a9
|#3 0x10b475a96
|#4 0x10b48216a
|#5 0x10b1ab37e
|#6 0x10b1c373b
|#7 0x10b4a2392
|~~~~~~~~~~~~~~~~~~
I put my .cas, .cli, .bc2 and .slf file in the attachment.

Any help would be more than appreciated.

Cheers,
Tim
The administrator has disabled public write access.

Simulation does not start - Segmentation fault 10 years 5 months ago #13361

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
I am missing the two files:
/BINARY DATABASE 1 FOR TIDE          = '/Users/opentelemac/v6p3/TOPEX/DATA/hf.ES2008.out'
/BINARY DATABASE 2 FOR TIDE          = '/Users/opentelemac/v6p3/TOPEX/DATA/uv.ES2008.out'
You can try with DEBUGGER = 1 in your case file for a start.

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.
The following user(s) said Thank You: TimN

Simulation does not start - Segmentation fault 10 years 5 months ago #13362

  • TimN
  • TimN's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 67
Well these are just the TPXO database, but no worries I got it solved. There was still an error in the mesh I didn't find.
The administrator has disabled public write access.

Simulation does not start - Segmentation fault 9 years 11 months ago #15337

  • tIDAL
  • tIDAL's Avatar
I am also getting similar error message while performing a tidal simulation. can u tell what modifications u made.
The administrator has disabled public write access.

Simulation does not start - Segmentation fault 9 years 11 months ago #15343

  • TimN
  • TimN's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 67
Hey tIDAL! I'm not sure what you mean by modifications. Like I wrote, I had some errors within the geometry. If you need more help please provide some more information about what you're planing to do and whats your study area.

Cheers, Tim
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: pham

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