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

seg fault with CESM-1.2.2 and OpenMP

sleak@lbl_gov

New Member

Code:
Hi, 

we're seeing a seg fault when running CESM-1.2.2 on NERSC Cori with 1280 MPI tasks and OpenMP

8405 1000: Stack trace terminated abnormally. 
8406 0928: forrtl: severe (174): SIGSEGV, segmentation fault occurred 
8407 0928: Image PC Routine Line Source 
8408 0928: cesm.exe 0000000002B3C0E5 Unknown Unknown Unknown 
[snip] 
8415 0928: cesm.exe 0000000001458793 ice_dyn_evp_mp_ev 1044 ice_dyn_evp.F90 
8416 0928: cesm.exe 0000000001453E61 ice_dyn_evp_mp_ev 242 ice_dyn_evp.F90 
8417 0928: cesm.exe 00000000023CA033 Unknown Unknown Unknown 
[snip] 

Those lines in ice_dyn_evap.F90 are a loop over jlo,jhi,ilo,ihi in evp_prep1, called from an OpenMP parallel <br />loop in routine evp. The loop misses jlo,jhi,ilo and ihi in the PRIVATE clause of the OMP PARALLEL DO, which <br />seems suspicious. However, the segfault occurs even with a single OpenMP thread per process. 

The code is CESM-1.2.2, the grid and case are f09_g16 and BRCP85C5CN

Has anyone experienced similar? 

thanks, 

Steve
 
Top