milancurcic
New member
Hi WRF forum,
I run into a segmentation fault when building WRF-4.2.1 using xlf on Power9 (configure option 38).
Specifically:
This is the last line of the registry output before it segfaults:
I already have ulimit -s unlimited, so it's not stack overflow. Something else.
Also, I was able to successfully build WRF on this system using their gcc fork (IBM Advance Toolchain). So this is something xlf-specific.
Has anybody run into this issue before? I haven't.
Thank you!
Milan
I run into a segmentation fault when building WRF-4.2.1 using xlf on Power9 (configure option 38).
Specifically:
Code:
/bin/sh: line 1: 143159 Segmentation fault tools/registry -DEM_CORE=1 -DNMM_CORE=0 -DNMM_MAX_DIM=2600 -DDA_CORE=0 -DWRFPLUS=0 -DIWORDSIZE=4 -DDWORDSIZE=8 -DRWORDSIZE=4 -DLWORDSIZE=4 -DNONSTANDARD_SYSTEM_SUBR -DWRF_USE_CLM -DRPC_TYPES=1 -DDM_PARALLEL -DNETCDF -DHDF5 -DLANDREAD_STUB=1 -DMOVE_NESTS -DVORTEX_CENTER -DUSE_ALLOCATABLES -Dwrfmodel -DGRIB1 -DINTIO -DKEEP_INT_AROUND -DLIMIT_ARGS -DBUILD_RRTMG_FAST=0 -DBUILD_RRTMK=0 -DBUILD_SBM_FAST=1 -DSHOW_ALL_VARS_USED=0 -DCONFIG_BUF_LEN=65536 -DMAX_DOMAINS_F=21 -DMAX_HISTORY=25 -DNMM_NEST=0 -DNEW_BDYS Registry/Registry
make[2]: [module_state_description.F] Error 139 (ignored)
This is the last line of the registry output before it segfaults:
Code:
package tconly use_wps_input==2 - state:u_gc,v_gc,t_gc,rh_gc,ght_gc,p_gc,xlat_gc,xlong_gc,ht_gc,tsk_gc,tavgsfc,tmn_gc,pslv_gc,sct_dom_gc,scb_dom_gc,greenfrac,albedo12m,pd_gc,psfc_gc,intq_gc,pdhs,sh_gc,qv_gc,qr_gc,qc_gc,qs_gc,qi_gc,qg_gc,qh_gc,qni_gc,qnc_gc,qnr_gc,qns_gc,qng_gc,qnh_gc,icefrac_gc
I already have ulimit -s unlimited, so it's not stack overflow. Something else.
Also, I was able to successfully build WRF on this system using their gcc fork (IBM Advance Toolchain). So this is something xlf-specific.
Has anybody run into this issue before? I haven't.
Thank you!
Milan