Replies: 2 comments 4 replies
-
Let me ask a few questions to try and diagnose the issue:
Give those suggestions a try and let us know how it goes. |
Beta Was this translation helpful? Give feedback.
1 reply
-
It does indeed look like the program is overflowing the stack. How did you try changing the stack size before? Note that Cilk programs use a custom stack implementation, which uses its own mechanism to adjust the stack size. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I ported the UTS written in OpenMP to Opencilk code. The program is here
I have tested the OpenCilk program using two input files. For the first input file (test.input), which contains the smallest tree, the UTS Opencilk program can run properly and produce the correct output. However, when I tested it with the second input file (tiny.input) which is the tall but tiny, the UTS Opencilk program experienced a segmentation fault. At first I thought there was a stack size problem, but when I increased the stack size to almost 1GB, the segmentation fault still occurred. Is there something wrong with this UTS program?
Here is the environment where i tested the UTS
CPU : core i7 1260P,
RAM : 16 GB
OS : Ubuntu 22.0
OpenCilk install : binary install .
Thank you
Beta Was this translation helpful? Give feedback.
All reactions