Welcome, Guest
Username: Password: Remember me

TOPIC: Error:SIGSEGV: Segmentation fault - invalid memory reference.

Error:SIGSEGV: Segmentation fault - invalid memory reference. 7 years 4 months ago #27054

  • tfouquet
  • tfouquet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 294
  • Thank you received: 112
hello Andreas,

I didn't have any problem with your mesh and the calculation is made without any sigsegv on my computer with different compilers. Do you use the version of the trunk or another one ?

In general you can check your mesh by adding CHECKING THE MESH=YES
In your case it says that you have 55 over constrained triangles which means that they are not taken into account

I would just add some comments about your calculation your time step is far too big, for your mesh a time step of 10 would be better.

you ask for option 1 of breaking dissipation but give the parameters of option 2, they will be ignored and default parameters of option 1 will be taken into account

hope it helps

T.
The administrator has disabled public write access.

Error:SIGSEGV: Segmentation fault - invalid memory reference. 7 years 4 months ago #27055

  • Papadimitriou
  • Papadimitriou's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 80
  • Thank you received: 3
Thank you for your assistance.I took into consideration all your comments and the simulation is executed.However when I set the related keywords to take into account the diffraction phenomenon,I get another segmentation fault.Do you think this is memory related?

Kind Regards,
Andreas
The administrator has disabled public write access.

Error:SIGSEGV: Segmentation fault - invalid memory reference. 7 years 4 months ago #27078

  • tfouquet
  • tfouquet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 294
  • Thank you received: 112
I tried your case with diffraction and I got some messages like this
**** OUPS 10303 9

It means that node 10303 has 9 elements as neighbour and for a reason i still don't know Diffraction is allowed for up to 8 neighbours, i will try to see if it is just allocation or if there is something more behind.

Anyway be careful diffration in tomawac is not very precise in some case.
The administrator has disabled public write access.

Error:SIGSEGV: Segmentation fault - invalid memory reference. 7 years 4 months ago #27080

  • tfouquet
  • tfouquet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 294
  • Thank you received: 112
I will do something cleaner soon but meanwhile you can add this routine to your fortran user the limit is 10 instead of 8.
Attachments:
The administrator has disabled public write access.

Error:SIGSEGV: Segmentation fault - invalid memory reference. 7 years 4 months ago #27087

  • Papadimitriou
  • Papadimitriou's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 80
  • Thank you received: 3
Thank you Thierry I will add the subroutine in the fortran file and let you know about the results
The administrator has disabled public write access.

Error:SIGSEGV: Segmentation fault - invalid memory reference. 7 years 4 months ago #27169

  • Papadimitriou
  • Papadimitriou's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 80
  • Thank you received: 3
When trying to use the aforementioned subroutine I get the following errors,is there something I can o to fix it?

... checking the executable
wacfort.f:44.38:

USE DECLARATIONS_TOMAWAC, ONLY : ILM_POIN,CLM,KACC,NB_C,SUR_P,
1
Error: Symbol 'ilm_poin' referenced at (1) not found in module 'declarations_tom
awac'
wacfort.f:44.48:

USE DECLARATIONS_TOMAWAC, ONLY : ILM_POIN,CLM,KACC,NB_C,SUR_P,
1
Error: Symbol 'clm' referenced at (1) not found in module 'declarations_tomawac'

wacfort.f:44.52:

USE DECLARATIONS_TOMAWAC, ONLY : ILM_POIN,CLM,KACC,NB_C,SUR_P,
1
Error: Symbol 'kacc' referenced at (1) not found in module 'declarations_tomawac
'
wacfort.f:44.57:

USE DECLARATIONS_TOMAWAC, ONLY : ILM_POIN,CLM,KACC,NB_C,SUR_P,
1
Error: Symbol 'nb_c' referenced at (1) not found in module 'declarations_tomawac
'
wacfort.f:44.62:

USE DECLARATIONS_TOMAWAC, ONLY : ILM_POIN,CLM,KACC,NB_C,SUR_P,
1
Error: Symbol 'sur_p' referenced at (1) not found in module 'declarations_tomawa
c'
wacfort.f:44.68:

USE DECLARATIONS_TOMAWAC, ONLY : ILM_POIN,CLM,KACC,NB_C,SUR_P,
1
Error: Symbol 'stack' referenced at (1) not found in module 'declarations_tomawa
c'
wacfort.f:45.45:

& STACK,STACK2,ALREADY_POM,
1
Error: Symbol 'stack2' referenced at (1) not found in module 'declarations_tomaw
ac'
wacfort.f:45.52:

& STACK,STACK2,ALREADY_POM,
1
Error: Symbol 'already_pom' referenced at (1) not found in module 'declarations_
tomawac'
wacfort.f:45.64:

& STACK,STACK2,ALREADY_POM,
1
Error: Symbol 'mindist' referenced at (1) not found in module 'declarations_toma
wac'
wacfort.f:46.47:

& MINDIST, DEJA_FRMSET
1
Error: Symbol 'deja_frmset' referenced at (1) not found in module 'declarations_
tomawac'
wacfort.f:75.17:

ALLOCATE(ILM_POIN(NPOIN2,10))
1
Error: Allocate-object at (1) is neither a data pointer nor an allocatable varia
ble
wacfort.f:76.17:

ALLOCATE(CLM(NPOIN2))
1
Error: Allocate-object at (1) is neither a data pointer nor an allocatable varia
ble
wacfort.f:77.17:

ALLOCATE(KACC(NPOIN2))
1
Error: Allocate-object at (1) is neither a data pointer nor an allocatable varia
ble
wacfort.f:78.17:

ALLOCATE(NB_C(NPOIN2))
1
Error: Allocate-object at (1) is neither a data pointer nor an allocatable varia
ble
wacfort.f:79.17:

ALLOCATE(SUR_P(NPOIN2,10))
1
Error: Allocate-object at (1) is neither a data pointer nor an allocatable varia
ble
wacfort.f:80.17:

ALLOCATE(STACK(NPOIN2))
1
Error: Allocate-object at (1) is neither a data pointer nor an allocatable varia
ble
wacfort.f:81.17:

ALLOCATE(STACK2(NPOIN2))
1
Error: Allocate-object at (1) is neither a data pointer nor an allocatable varia
ble
wacfort.f:82.17:

ALLOCATE(ALREADY_POM(NPOIN2))
1
Error: Allocate-object at (1) is neither a data pointer nor an allocatable varia
ble
wacfort.f:83.17:

ALLOCATE(MINDIST(NPOIN2))
1
Error: Allocate-object at (1) is neither a data pointer nor an allocatable varia
ble
wacfort.f:96.72:

ILM_POIN(IPOIN,ICLM)=IELEM
1
Error: Unexpected STATEMENT FUNCTION statement at (1)
wacfort.f:99.72:

ILM_POIN(IPOIN,ICLM)=IELEM
1
Error: Unexpected STATEMENT FUNCTION statement at (1)
wacfort.f:102.72:

ILM_POIN(IPOIN,ICLM)=IELEM
1
Error: Unexpected STATEMENT FUNCTION statement at (1)
wacfort.f:105.72:

CLM(IPOIN)=ICLM
1
Error: Unexpected STATEMENT FUNCTION statement at (1)
wacfort.f:114.72:

ALREADY_POM(IP) =.FALSE.
1
Error: Unexpected STATEMENT FUNCTION statement at (1)
wacfort.f:118.72:

NB_C(IPOIN)=0
1
Error: Unexpected STATEMENT FUNCTION statement at (1)
Fatal Error: Error count reached limit of 25.
runCAS: could not compile: fdg.exe
|processExecutable: could not compile your FORTRAN (runcode=1).
|
|... The following command failed for the reason above (or below)
|gfortran -c -O3 -fopenmp -fconvert=big-endian -frecord-marker=4 -I C:\opent
elemac-mascaret\v7p1\builds\win7gfors\lib\utils\special -I C:\opentelemac-masca
ret\v7p1\builds\win7gfors\lib\utils\parallel -I C:\opentelemac-mascaret\v7p1\bu
ilds\win7gfors\lib\utils\damocles -I C:\opentelemac-mascaret\v7p1\builds\win7gf
ors\lib\utils\hermes -I C:\opentelemac-mascaret\v7p1\builds\win7gfors\lib\utils
\bief -I C:\opentelemac-mascaret\v7p1\builds\win7gfors\lib\tomawac wacfort.f
|
Attachments:
The administrator has disabled public write access.

Error:SIGSEGV: Segmentation fault - invalid memory reference. 7 years 4 months ago #27171

  • tfouquet
  • tfouquet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 294
  • Thank you received: 112
Hello
It seems you do not use the last version of telemac. In V7P2, ILM_POIN,CLM,KACC,NB_C,SUR_P are presents in declarations_tomawac.
The administrator has disabled public write access.

Error:SIGSEGV: Segmentation fault - invalid memory reference. 7 years 4 months ago #27199

  • F_L
  • F_L's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 16
Hi
is "CHECKING THE MESH=YES" a command of .cas file?
thanks
The administrator has disabled public write access.

Error:SIGSEGV: Segmentation fault - invalid memory reference. 7 years 4 months ago #27205

  • tfouquet
  • tfouquet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 294
  • Thank you received: 112
hello
yes exactly you can put the command in your cas file .
The administrator has disabled public write access.
The following user(s) said Thank You: F_L

Error:SIGSEGV: Segmentation fault - invalid memory reference. 7 years 4 months ago #27208

  • F_L
  • F_L's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 16
THANK YOU
The administrator has disabled public write access.
Moderators: tfouquet

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