question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to run quspin without GLIBC_2.17

See original GitHub issue

I have installed quspin in my institute cluster, to which I don’t have administrator privileges. I have created a virtual environment in the conda and installed quspin in it. Once I try to run “python example0.py” I am getting this error.

python: /lib64/libc.so.6: version `GLIBC_2.15' not found (required by python)
python: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by python)
python: /lib64/libc.so.6: version `GLIBC_2.17' not found (required by python)

I tried to install GLIBC-2.18 in my local directory and added it to LD_LIBRARY_PATH. After that ls, ssh, and many such basic functions are giving

Segmentation fault (core dumped).

I understood that GCC and this version of GLIBC are clashing. I have found this answer, https://stackoverflow.com/a/44710599which suggested to use, patchelf, I tried installing using the steps in the, https://github.com/NixOS/patchelf which gave build-id.sh failed error in the “make check” stage.

I want to know while compiling CPP code or C code, one can use, -Wl, --rpath="/local/lib", is there a way to do the same with python. Please help with what to do to run the quspin code.

  • OS: Distributor ID: CentOS Description: CentOS release 6.7 (Final) Release: 6.7 Codename: Final

Additional context Add any other context about the problem here.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
mgbukovcommented, Aug 8, 2021

This looks weird; are you sure it’s not an issue with your python/conda installation?

Have you tried installing miniconda from scratch in your local cluster home directory?

The conda version of quspin uses precompiled CPP libraries so I guess any issues with glib are related to your local conda/python installation or environment.

Maybe it’s worthwhile to contact the cluster administrator?

On Fri, Aug 6, 2021, 10:54 PM Ganesh Chandra Lakkaraju < @.***> wrote:

I have installed quspin in my institute cluster, to which I don’t have administrator privileges. I have created a virtual environment in the conda and installed quspin in it. Once I try to run “python example0.py” I am getting this error.

python: /lib64/libc.so.6: version GLIBC_2.15' not found (required by python) python: /lib64/libc.so.6: version GLIBC_2.14’ not found (required by python) python: /lib64/libc.so.6: version `GLIBC_2.17’ not found (required by python)

I tried to install GLIBC-2.18 in my local directory and added it to LD_LIBRARY_PATH. After that ls, ssh, and many such basic functions are giving

Segmentation fault (core dumped).

I understood that GCC and this version of GLIBC are clashing. I have found this answer, https://stackoverflow.com/a/44710599 http://urlwhich suggested to use, patchelf, I tried installing using the steps in the, https://github.com/NixOS/patchelf http://url which gave build-id.sh failed error in the “make check” stage.

I want to know while compiling CPP code or C code, one can use, -Wl, –rpath=“/local/lib”, is there a way to do the same with python. Please help with what to do to run the quspin code.

  • OS: Distributor ID: CentOS Description: CentOS release 6.7 (Final) Release: 6.7 Codename: Final

Additional context Add any other context about the problem here.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/weinbe58/QuSpin/issues/438, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADHSUBXTMXTJPZEPD7M6WW3T3Q4XLANCNFSM5BWQLAVQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

0reactions
mgbukovcommented, Dec 14, 2022

new release is out; I’m closing this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to run quspin without GLIBC_2.17 · Issue #438 - GitHub
I have created a virtual environment in the conda and installed quspin in it. Once I try to run "python example0.py" I am...
Read more >
Installation — QuSpin 0.3.7 documentation - GitHub Pages
To update the code just run this command regularly. Installing Manually. Installing the package manually is not recommended unless the above method failed....
Read more >
Error while importing Tensorflow in Python 2.7 in Ubuntu ...
I've just managed to install tensorflow 0.12rc0 on CentOS 6.5 with glibc 2.12, without having root privileges. Simply installing tensorflow binary via pip ......
Read more >
QuSpin - bytemeta
QuSpin repo issues. ... Example 17 not parallelized. SeaNanny. SeaNanny CLOSED · Updated 6 months ago ... Unable to run quspin without GLIBC_2.17....
Read more >
quspin-vqa - PyPI
pip install quspin-vqa ... Before installing this package, make sure quspin is installed ... cd examples/QAOA $ python run.py ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found