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

TOPIC: Simulation does not start - Segmentation fault

Simulation does not start - Segmentation fault 9 years 7 months ago #16528

  • vknook
  • vknook's Avatar
Hey!
I've created a mesh with BlueKenue based on the gridpoints of another triangular mesh (used them as hard points). Now trying to run the file I get the same error as in this topic, but can't seem to solve it.. I'm rather new to the program and modelling as a whole, so any help would be very much appreciated.

Here the error message and included the zip with the files.


C:\Users\Vera\ARTEMIS\examples\Timaru_trial>cd C:\Users\Vera\ARTEMIS\v6p3\script
s\python27

C:\Users\Vera\ARTEMIS\v6p3\scripts\python27>python runcode.py artemis -s C:\User
s\Vera\ARTEMIS\examples\Timaru_trial\trial.cas


Loading Options and Configurations
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

... parsing configuration file: C:\Users\Vera\ARTEMIS\v6p3\configs\systel.cfg


Running your CAS file for:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

+> configuration: win7gfors
+> root: C:\Users\Vera\ARTEMIS\v6p3
+> version v6p3
+> options:


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



Running trial.cas with artemis under C:\Users\Vera\ARTEMIS\examples\Timaru_trial

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

... reading module dictionary
... running in English with trial.cas
copying: artemis.dico C:\Users\Vera\ARTEMIS\examples\Timaru_trial\trial.cas
_2015-04-09-16h49min40s\ARTDICO
copying: trial-trial.slf C:\Users\Vera\ARTEMIS\examples\Timaru_trial\trial.
cas_2015-04-09-16h49min40s\ARTGEO
re-writing: C:\Users\Vera\ARTEMIS\examples\Timaru_trial\trial.cas_2015-04-09-1
6h49min40s\ARTCAS
copying: trial-trial.slf C:\Users\Vera\ARTEMIS\examples\Timaru_trial\trial.
cas_2015-04-09-16h49min40s\ARTREF
copying: trial-timaru_trial.f C:\Users\Vera\ARTEMIS\examples\Timaru_trial\t
rial.cas_2015-04-09-16h49min40s\artfort.f
copying: trial-trial1.cli C:\Users\Vera\ARTEMIS\examples\Timaru_trial\trial
.cas_2015-04-09-16h49min40s\ARTCLI


Running your simulation :
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

C:\Users\Vera\ARTEMIS\examples\Timaru_trial\trial.cas_2015-04-09-16h49min40s\out
_trial-timaru_trial.exe



LISTING OF ARTEMIS


AAA RRRR TTTTT EEEEE M M IIIII SSSS
A A R R T E MM MM I S
AAAAA RRRR T EEEEE M M M I SSS
A A R R T E M M I S
A A R R T EEEEE M M IIIII SSSS

VERSION 6.3 FORTRAN 90

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

NAME OF THE STUDY : trial

OPENING FILES FOR ARTEMIS

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

READGEO1: TITLE= Trial

NUMBER OF ELEMENTS: 95111
NUMBER OF POINTS: 48149
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:
C:\Users\Vera\ARTEMIS\examples\Timaru_trial:
|runCode: Fail to run
|C:\Users\Vera\ARTEMIS\examples\Timaru_trial\trial.cas_2015-04-09-16h49min40s
\out_trial-timaru_trial.exe
|~~~~~~~~~~~~~~~~~~
|Program received signal SIGSEGV: Segmentation fault - invalid memory referen
ce.
|
|Backtrace for this error:
|~~~~~~~~~~~~~~~~~~

C:\Users\Vera\ARTEMIS\v6p3\scripts\python27>pause
Press any key to continue . . .
Attachments:
The administrator has disabled public write access.

Simulation does not start - Segmentation fault 9 years 7 months ago #16557

  • jmhervouet
  • jmhervouet's Avatar
Hello,

As it does not seem to be the memory allocation, it is difficult to say. You can try to add :

DEBUGGER : 1

in your steering file to get a little more detail, and if it is still not clear we'll have to look at your case.

With best regards,

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

Simulation does not start - Segmentation fault 9 years 7 months ago #16558

  • vknook
  • vknook's Avatar
thanks for the reaction. Probably a pretty simple misunderstanding but when I add the debugger in the steering file (I assume I have to just copy the text 'debugger : 1' into it at a place where all non-default keywords appear??) I get the below error message. In other words, I reckon I'm not using the debugger correctly or it's not a function in my dictionary?


... reading module dictionary
_____________
runcode::main:
C:\Users\Vera\ARTEMIS\examples\Timaru_trial:
uncontroled error from python:: KeyError('DEBUGGER',)
~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "runcode.py", line 1084, in <module>
runCAS(cfgname,cfg,codeName,casFile,options)
File "runcode.py", line 600, in runCAS
cas,lang = processCAS(casFile,dico,frgb)
File "runcode.py", line 161, in processCAS
cas = readCAS(scanCAS(casFile),dico,frgb)
File "C:\Users\Vera\ARTEMIS\v6p3\scripts\python27\parsers\parserKeywords.py",
line 144, in readCAS
if kw not in dico.keys(): kw = frgb[kw]
KeyError: 'DEBUGGER'
~~~~~~~~~~~~~~~~~~

C:\Users\Vera\ARTEMIS\v6p3\scripts\python27>pause
Press any key to continue . . .
The administrator has disabled public write access.

Simulation does not start - Segmentation fault 9 years 7 months ago #16564

  • Lux
  • Lux's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 96
  • Thank you received: 39
Hello,

Your last error message is expected, because DEBUGGER is not a keyword of artemis module. Is it the module you want to use (in that case, your should post in the appropriate section of the forum)?

Your cas file seems uncomplete (without initial conditions for example) and your domain is closed (no boundary defined in the file .cli).
Moreover, your geometry file seems not correct (ipobo table is not in coherance with the mesh). Try to generate your mesh again, by creating a new SELAFIN Object.

Best regards,
Luc
The administrator has disabled public write access.

Simulation does not start - Segmentation fault 9 years 1 month ago #18624

  • Carlos
  • Carlos's Avatar
Hello

I have similar problem as you could you please explain in details how you solve you problem using Blue Kenue.
Regards
Carlos

OPENING FILES FOR TELEMAC2D

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

READGEO1: TITLE= newSelafin
NUMBER OF ELEMENTS: 58735
NUMBER OF POINTS: 32082

FORMAT NOT INDICATED IN TITLE

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

MESH: MESH ALLOCATED

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

_____________
runcode::main:
:
|runCode: Fail to run
|J:\CivilEnvResearch\Private\Carlos cjmo1e14\Informacion para el Doctorado 20
14\Information to the New model Telemac\Degrees_October_21_Caso4\t2d_caso4_valor
es_curso.cas_2015-10-21-17h28min37s\out_telemac2d.exe
|~~~~~~~~~~~~~~~~~~
|Program received signal SIGSEGV: Segmentation fault - invalid memory referen
ce.
|
|Backtrace for this error:
|~~~~~~~~~~~~~~~~~~
The administrator has disabled public write access.

Simulation does not start - Segmentation fault 9 years 1 month ago #18627

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
probably due to your mesh as you have 19 elements around 1 point...
Telemac is limited to 9 elements around 1 node

regards
Christophe
The administrator has disabled public write access.

Simulation does not start - Segmentation fault 9 years 1 month ago #18631

  • Carlos
  • Carlos's Avatar
Hello

I tried to modified the message in high resolution however the message still appear.

attached you can see mi .t3s file




Thank you
Note: I am using degrees coordinates and Blue Kenue to modify the mesh.

Regards
Carlos
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.