Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

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.
 
Top