segmentation error

Marjan_kht

New member
Hi,

I'm encountering a segmentation fault (SIGSEGV) in my program, and I need some help diagnosing the issue.
Could you help me understand what might be causing this and suggest any further debugging steps?

Thanks in advance!

Best,
Marjan
 

Attachments

Hi Marjan,
1) Your 3 domain sizes are set as:

Code:
e_we   = 76, 70, 61,
e_sn   = 76, 61, 49,

However, no domain should be smaller than 100x100. See Why domains should be at least 100x100 grid spaces. So that could be causing part of the issue, and even if it's not causing the seg-fault, it needs to be changed for realistic results.

2) You probably need to use more than just a single processor - especially when you make the domains larger. See Choosing an Appropriate Number of Processors.
 
Back
Top