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