when I run my program on two nodes, and set the number of threads larger than 1 (i.e., 2-16 threads), I've encountered the segmentation error:
forrtl: severe (174): SIGSEGV, segmentation fault occurred
if the openMP directives are commented (still using MPI) the error is gone.
any comment/advice is appreciated!!