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

fplib.cpython-38-x86_64-linux-gnu.so: undefined symbol: _ZGVdN4vv_pow #41

Open
surak opened this issue Nov 19, 2020 · 5 comments
Open

Comments

@surak
Copy link

surak commented Nov 19, 2020

When I do a

python setup.py build

and install it, I get this afterwards.

>>> import Ngl
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/p/project/cesmtst/poshyvailo1/PostProcessing_TSMP/PYTHON_post/iris/lib/python3.8/site-packages/Ngl.py", line 1, in <module>
    from ngl import __all__ as _ngl_all
  File "/p/project/cesmtst/poshyvailo1/PostProcessing_TSMP/PYTHON_post/iris/lib/python3.8/site-packages/ngl/__init__.py", line 49, in <module>
    from . import fplib
ImportError: /p/project/cesmtst/poshyvailo1/PostProcessing_TSMP/PYTHON_post/iris/lib/python3.8/site-packages/ngl/fplib.cpython-38-x86_64-linux-gnu.so: undefined symbol: _ZGVdN4vv_pow
@erogluorhan
Copy link
Collaborator

Hi @surak ,

Sorry to hear your inconvenience.

Before diving deeper with the issue itself, I'd like to provide you some information about the NCAR's decision to put PyNGL in "maintenance mode" as well as pay attention and make developments in pure Python ecosystem instead, here is the link: November 2020 Update

That being said, please let us know whether (1) you are a long-time PyNGL user and would prefer to continue using it so that you want to resolve the above issue anyway, or (2) you would find starting with our GeoCAT-examples gallery more beneficial.

Thanks!

Orhan @ GeoCAT

@surak
Copy link
Author

surak commented Nov 20, 2020

Hello @erogluorhan

I read it, thanks for the link (maybe you can put it more prominently on the home of github's project, also on the pip page, and on docu, you got the idea - make people know that the project is in stasis from now on.

About your questions:

  1. No, I am not. In fact, I am the responsible for scientific softwares in our supercomputers. We got a new one recently, which is #7 in the world (irrelevant to the question but I'm still happy hehehe), and I am installing the latest versions of everything. There are many departments of our research institute dealing with Earth Sciences, and they use every library you can imagine, including PyNGL.

That being said, it's upon me to install it or deny and point people to newer things, when that makes sense.

On your GeoCAT-examples, I couldn't find one specific thing, which is (I'm a computer scientists, forgive me for my lack of earth sciences vocabulary) an example of rotated lat-lon to normal lat-lon, curvilinear data. Something like the image below.

The specific thing a number of users asked me about the image is on the following example: https://www.dkrz.de/up/services/analysis/visualization/sw/ncl/pyngl/dkrz-pyngl-example-plot-curvilinear-data

If that is possible with GeoCat, I would be happy to forward that to them, which would answer your question 2).

In any case, I am not happy with the fact that it can't find that library from fplib. I don't know why setup.py fails to link the proper files, and I'm sure other people would stumble on the bug too, so that deserves a look anyway.

You tell me :-)

@KMFleischer
Copy link

KMFleischer commented Nov 20, 2020 via email

@erogluorhan
Copy link
Collaborator

Hi @surak

Thanks a lot for the detailed information; it is very helpful for us!

Your answer to (1) sounds like we could have a great room to help you with GeoCAT-examples. The CORDEX plotting example and the DKRZ code you gave is very helpful for us, as we would like to implement curvilinear plotting examples in our gallery. So, let the GeoCAT team investigate it to see if and when we could put it in our examples; we will keep you posted on this.

In the meantime, we would be happy to have a look at the PyNGL's fplib library dependency for your convenience, but honestly, it is not easy to prioritize it against the current agenda items of the team. We will do our best to help you though.

I hope these would of some use for your team.

Best

@surak
Copy link
Author

surak commented Nov 23, 2020

Forget the old library problems - it's one software less for me to worry about. As long as they can do plots with cartopy, I'm happy!

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

3 participants