Hi, I got segment fault error when calling dcg_init. Please help me. Thanks.
KrylovFMM is the subroutine calling the iterative solver. Shelltest1.c is the main file.
Link Copied
You didn't supply rpyfmm.h, nor did you indicate which compiler you are using.
There are many helpful posts about segfaults, such as
https://software.intel.com/en-us/articles/determining-root-cause-of-sigsegv-or-sigbus-errors
which might help you narrow the question down to something worth discussing.
For more complete information about compiler optimizations, see our Optimization Notice.