JiaweiZhuang / xESMF

Universal Regridder for Geospatial Data
http://xesmf.readthedocs.io/
MIT License
269 stars 49 forks source link

esmpy needs GFortran #43

Closed zxdawn closed 5 years ago

zxdawn commented 5 years ago

It's better to mention that esmpy requires GFortran. Otherwise, someone will get this error. I'm still struggling with that.

JiaweiZhuang commented 5 years ago

Shouldn't gfortran come with conda? Are you trying to compile ESMPy from source code?

zxdawn commented 5 years ago

@JiaweiZhuang I'm using conda install -c conda-forge esmpy. It works on my linux laptop, but fails on the server. Is this appropriate to post environment and error here? Or wait for responding from ESMF?

JiaweiZhuang commented 5 years ago

The error you get might not be a gfortran issue; if gfortran is not working properly then yon won't even be able to install numpy.

I recommend sending the complete error message and your system information to ESMF support (esmf_support@ucar.edu).

JiaweiZhuang commented 5 years ago

If your server is using some strange OS, see if you can get Docker/Singularity containers running...

zxdawn commented 5 years ago

Maybe it's related to the version of gcc. My gcc is 4.3.4 which is too old to use Qt5Agg rendering. It's maybe same for the error about ESMF.

I'll try Docker/Singularity containers. Thank you!

zxdawn commented 5 years ago

I tried again with export LD_LIBRARY_PATH='' and it works now.

JiaweiZhuang commented 5 years ago

I tried again with export LD_LIBRARY_PATH='' and it works now.

If you already have another version of ESMF installed on your system, you might get a conflict like that...