[ncl-talk] ESMF_regrid

Laura Fowler laura at ucar.edu
Mon Nov 30 20:32:04 MST 2020


Hi Dennis:
Looks like you and I were on the same track. I was finally able to
successfully run my script using a batch job on casper. So it definitely
was a memory/stack size issue. Thanks for responding to my email so quickly.
Have a good evening,
Laura


On Mon, Nov 30, 2020 at 8:26 PM Dennis Shea <shea at ucar.edu> wrote:

> forrtl: severe (174): SIGSEGV, , segmentation fault occurred
> -------------------
> Segmentation faults are difficult to  address because segmentation
> violations can come from a variety of reasons.
>
> Perhaps, resetting the stack size?
>
> %> ulimit -s unlimited
> ....
> %> ulimit -s 60000
>
> ---------
> To my knowledge, there are no restaurants on grid resolution.
>
> The underlying code is from ESMF. Perhaps,  look at their website.
>
> Good Luck
>
> On Mon, Nov 30, 2020 at 5:15 PM Laura Fowler via ncl-talk <
> ncl-talk at mailman.ucar.edu> wrote:
>
>> Hello:
>>
>> 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:
>>
>> (0) ESMF_regrid_gen_weights: number of processors used: 1
>>
>> (0) --------------------------------------------------
>>
>> (0) ESMF_regrid_gen_weights: the following command is about to be
>> executed on the system:
>>
>> (0) 'ESMF_RegridWeightGen --ignore_degenerate --src_loc corner  --source
>> source.grid_onCells.6488066.CONUS.to_era_interim.nc --destination
>> destination.grid_onCells.6488066.CONUS.to_era_interim.nc --weight
>> weights.grid_onCells.6488066.CONUS.to_era_interim.nc --src_type ESMF -i'
>>
>> (0) --------------------------------------------------
>>
>> forrtl: severe (174): SIGSEGV, segmentation fault occurred
>>
>> Image              PC                Routine            Line
>> Source
>>
>> ESMF_RegridWeight  0000000000428A7D  Unknown               Unknown
>> Unknown
>>
>> libpthread.so.0    00007FD44D49FB00  Unknown               Unknown
>> Unknown
>>
>> libesmf.so         00007FD44FEA6900  netcdf_mp_nf90_ge     Unknown
>> Unknown
>>
>>
>> Since the same ncl script works for a lower resolution mesh, is it
>> possible that ESMF_regrid does not handle a high resolution mesh?
>>
>> Thanks,
>> Laura
>>
>> --
>>
>> !-------------------------------------------------------------------------------------------------------------
>> Laura D. Fowler
>>
>> Mesoscale and Microscale Meteorology Division (MMM)
>> National Center for Atmospheric Research
>> P.O. Box 3000, Boulder CO 80307-3000
>>
>> e-mail: laura at ucar.edu
>> phone: 303-497-1628
>>
>>
>> !-------------------------------------------------------------------------------------------------------------
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk at mailman.ucar.edu
>> List instructions, subscriber options, unsubscribe:
>> https://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>

-- 
!-------------------------------------------------------------------------------------------------------------
Laura D. Fowler

Mesoscale and Microscale Meteorology Division (MMM)
National Center for Atmospheric Research
P.O. Box 3000, Boulder CO 80307-3000

e-mail: laura at ucar.edu
phone: 303-497-1628

!-------------------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20201130/b4c8ee1c/attachment.html>


More information about the ncl-talk mailing list