Run Error while building CESM 1.2.2 using threads

 I need threading to compare the performance between the threading model and non-threading model. I ran the F model (CAM) on a single node with the f19_g16 resolution. For each component I gave 8 processes and 2 threads each. I used Allinea ddt to debug the code. I found that the problem was occurring in line 40 of radsw.F90. The error I am getting is "Process stopped in radsw::radcswmx (radsw.F90:40) with signal SIGSEGV (Segmentation fault)". Memory error detected in radsw::radcswmx (radsw.F90:40): Please find attached the env_mach_pes.xml and the DDT debugging Report. Please look at the current stack section in the Additional Information. That indicates the point where the code stopped.  What do you think the issue is about? Thanks,Nitin K BhatSERC,Indian Institute of Science
 

jedwards

CSEG and Liaisons
Staff member
Is it stopping on the subroutine interface?   This is almost certainly because you don't have the thread stack size large enough,try setting OMP_STACKSIZE 64M in your environment.
 

jedwards

CSEG and Liaisons
Staff member
Is it stopping on the subroutine interface?   This is almost certainly because you don't have the thread stack size large enough,try setting OMP_STACKSIZE 64M in your environment.
 
Back
Top