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.
You didn't supply rpyfmm.h, nor did you indicate which compiler you are using.
There are many helpful posts about segfaults, such as
which might help you narrow the question down to something worth discussing.
For more complete information about compiler optimizations, see our Optimization Notice.