Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xesmf: install not working #22

Open
ccarouge opened this issue Aug 20, 2020 · 3 comments
Open

xesmf: install not working #22

ccarouge opened this issue Aug 20, 2020 · 3 comments

Comments

@ccarouge
Copy link
Member

We tried adding xesmf to the analysis3 environment without success.

xesmf installs correctly in its own environment.

Adding xesmf to environment.yaml installs the package but then esmf isn't installed with MPI which doesn't work with xesmf.

We tried repackaging ESMPy to point to the ESMF installation on Gadi. See conda-skeletons for the details in meta.yaml.
There is first an incompatibility with krb5 (need version 1.17.*) but then there is an incompatibility with hdf5 (esmf-nuWRF uses 1.8, analysis3 has 1.10). This would require installing esmf again with hdf 1.10.

@ccarouge
Copy link
Member Author

ccarouge commented Aug 20, 2020

xesmf installed in its own environment in the following way works:
conda create -n xesmf_test -c conda-forge dask netCDF4 xesmf

@aidanheerdegen
Copy link
Member

The latest central install of esmf is linked to hdf5-1.10.5

$ ldd /apps/esmf/8.0.1/bin/ESMF_RegridWeightGen | grep -i hdf
        libmfhdf.so.0 => /apps/hdf4/4.2.14/lib/libmfhdf.so.0 (0x000014ed978da000)
        libdf.so.0 => /apps/hdf4/4.2.14/lib/libdf.so.0 (0x000014ed97628000)
        libhdf5_hl.so.100 => /apps/hdf5/1.10.5/lib/libhdf5_hl.so.100 (0x000014ed96d55000)
        libhdf5.so.103 => /apps/hdf5/1.10.5/lib/libhdf5.so.103 (0x000014ed96787000)

@aidanheerdegen
Copy link
Member

esmf/8.0.1 isn’t installed on VDI.

[aph502@vdi-n13 ~]$ ls /apps/esmf/8.0.1/lib/esmf.mk
ls: cannot access /apps/esmf/8.0.1/lib/esmf.mk: No such file or directory

So the xesmf package errors out

/g/data3/hh5/public/apps/miniconda3/envs/analysis3-20.07/lib/python3.7/site-packages/ESMF/interface/loadESMF.py in <module>
     34 #       of the routines that require an ESMF build with these dependencies
     35 
---> 36 with open(esmfmk, 'r') as MKFILE:
     37 
     38     # investigate esmf.mk
FileNotFoundError: [Errno 2] No such file or directory: '/apps/esmf/8.0.1/lib/esmf.mk'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants