Open kgurer opened 3 months ago
I suspect you could be running into this issue https://github.com/conda-forge/esmf-feedstock/issues/101. You might check what version of ESMF you have installed in your environment (conda list
).
It looks like the issue was already addressed so updating your environment may help or you could try changing the version of ESMF.
I have esmf 8.4.2 and conda 23.3.1 installed on our system as it was done by our IT manager. I was able to run ncl without any problems last year. The system software was upgraded a few months ago and then this problem now occurs. It appears that the latest version of ncl/esmf doesn't have some libraries, in particular PIO library enabled, as the error log indicates. Hence, is there a previous version of ncl/esmf with support libraries including pio, so I can install it at my local directory and run ncl there? Thanks.
I found : ncl 6.6.2 at "https://www.ncl.ucar.edu/Download/" esmf 8.6.0 at "https://github.com/esmf-org/esmf/tree/v8.6.0"
I will try to install them (also bringing required libraries including pio) and see what happens.
Describe the bug
I enhanced "ESMF_all_10.ncl" base sample file to interpolate MPAS output to lat-lon grid as well as to get some additional nc files out and plot the data. However, when I run the ncl script, I come up with the following error that is dumped into:
"PET0.RegridWeightGen.Log" file:
"PET0 /home/conda/feedstock_root/build_artifacts/esmf_1693581303648/work/src/Infrastructure/Mesh/src/ESMCI_Mesh_FileIO.C:298 ESMCI_mesh_create_from_file() Library needed by ESMF not present - This functionality requires ESMF to be built with the PIO library enabled.
20240808 083318.872 ERROR PET0 ESMCI_MeshCap.C:2600 MeshCap::meshcreatefromfilenew() Library needed by ESMF not present - Internal subroutine call returned Error
20240808 083318.872 ERROR PET0 ESMF_Mesh.F90:1969 ESMF_MeshCreateFromFile() Library needed by ESMF not present - Internal subroutine call returned Error"
Provide the following:
When I run the ncl script (ter_limited_mpas_to_latlon.ncl), "limited_area_0.1deg_src_grid.nc" and "limited_area_0.1deg_dst_grid.nc" files are generated, but the weight file (limited_area_0.1deg_wgt_grid.nc" is not generated and the script stops.
Computing environment
Additional context
Attached files"
ter_limited_mpas_to_latlon_ncl.txt PET0.RegridWeightGen.Log