<div dir="ltr"><div><span style="font-variant-ligatures:no-common-ligatures">forrtl: severe (174): SIGSEGV, <span style="font-variant-ligatures:no-common-ligatures">, segmentation fault occurred</span></span></div><div>-------------------</div><div>Segmentation faults are difficult to  address because segmentation violations can come from a variety of reasons.</div><div><br></div><div>Perhaps, resetting the stack size?</div><div><br></div><div>%> ulimit -s unlimited</div><div>....<br></div><div>%> ulimit -s 60000</div><div><br></div><div>---------</div><div>To my knowledge, there are no restaurants on grid resolution.<br></div><div><br></div><div>The underlying code is from ESMF. Perhaps,  look at their website.</div><div><br></div><div>Good Luck<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 30, 2020 at 5:15 PM Laura Fowler via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:small">Hello:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I have been using ESMF_regrid to regrid an unstructured MPAS mesh to a latitude-longitude grid, including to regrid variable-resolution meshes (i.e. the coarse mesh has a resolution of about 30 km and the refined mesh has a resolution of about 6 km). Using the same script to regrid a variable-resolution mesh which has a resolution varying between 15 and 3 km, I get the following SIGSEGV error:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">





<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">(0)<span style="white-space:pre-wrap">     </span>ESMF_regrid_gen_weights: number of processors used: 1</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">(0)<span style="white-space:pre-wrap">     </span>--------------------------------------------------</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">(0)<span style="white-space:pre-wrap">     </span>ESMF_regrid_gen_weights: the following command is about to be executed on the system:</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">(0)<span style="white-space:pre-wrap">     </span>'ESMF_RegridWeightGen --ignore_degenerate --src_loc corner<span>  </span>--source <a href="http://source.grid_onCells.6488066.CONUS.to_era_interim.nc" target="_blank">source.grid_onCells.6488066.CONUS.to_era_interim.nc</a> --destination <a href="http://destination.grid_onCells.6488066.CONUS.to_era_interim.nc" target="_blank">destination.grid_onCells.6488066.CONUS.to_era_interim.nc</a> --weight <a href="http://weights.grid_onCells.6488066.CONUS.to_era_interim.nc" target="_blank">weights.grid_onCells.6488066.CONUS.to_era_interim.nc</a> --src_type ESMF -i'</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">(0)<span style="white-space:pre-wrap">     </span>--------------------------------------------------</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">forrtl: severe (174): SIGSEGV, segmentation fault occurred</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">Image<span>              </span>PC<span>                </span>Routine<span>            </span>Line<span>        </span>Source<span>             </span></span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">ESMF_RegridWeight<span>  </span>0000000000428A7D<span>  </span>Unknown <span>              </span>Unknown<span>  </span>Unknown</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">libpthread.so.0<span>    </span>00007FD44D49FB00<span>  </span>Unknown <span>              </span>Unknown<span>  </span>Unknown</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">libesmf.so <span>        </span>00007FD44FEA6900<span>  </span>netcdf_mp_nf90_ge <span>    </span>Unknown<span>  </span>Unknown</span></p></div><div><br></div><div><br></div><div><div class="gmail_default" style="font-size:small">Since the same ncl script works for a lower resolution mesh, is it possible that ESMF_regrid does not handle a high resolution mesh?</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Thanks,</div><div class="gmail_default" style="font-size:small">Laura</div><div class="gmail_default" style="font-size:small"><br></div></div>-- <br><div dir="ltr"><div dir="ltr"><font style="background-color:rgb(255,255,255)" face="arial, helvetica, sans-serif" color="#0000ff">!-------------------------------------------------------------------------------------------------------------</font><div><font style="background-color:rgb(255,255,255)" face="arial, helvetica, sans-serif" color="#0000ff">Laura D. Fowler                                                                                       </font></div><div><font style="background-color:rgb(255,255,255)" face="arial, helvetica, sans-serif" color="#0000ff">Mesoscale and Microscale Meteorology Division (MMM)         </font></div><div><font style="background-color:rgb(255,255,255)" face="arial, helvetica, sans-serif" color="#0000ff">National Center for Atmospheric Research<br></font></div><div><font style="background-color:rgb(255,255,255)" face="arial, helvetica, sans-serif" color="#0000ff">P.O. Box 3000, Boulder CO 80307-3000</font></div><div><font style="background-color:rgb(255,255,255)" face="arial, helvetica, sans-serif" color="#0000ff"><br></font></div><div><font style="background-color:rgb(255,255,255)" face="arial, helvetica, sans-serif" color="#0000ff">e-mail: <a href="mailto:laura@ucar.edu" target="_blank">laura@ucar.edu</a></font></div><div><font style="background-color:rgb(255,255,255)" face="arial, helvetica, sans-serif" color="#0000ff">phone: 303-497-1628</font></div><div><font style="background-color:rgb(255,255,255)" face="arial, helvetica, sans-serif" color="#0000ff"><br></font></div><div><font style="background-color:rgb(255,255,255)" face="arial, helvetica, sans-serif" color="#0000ff">!-------------------------------------------------------------------------------------------------------------</font><br></div></div></div></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div>