-
Notifications
You must be signed in to change notification settings - Fork 147
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
/libm.so.6: version `GLIBC_2.29' not found #377
Comments
I have the same issue, also on a SLURM system, but with:
The same behaviour was observed when using the corresponding torch+cpu versions for pyg_lib, torch_cluster, torch_scatter, torch_sparse, torch_spline_conv. |
Looking into this. |
@rusty1s the following could save you some time. After some further digging I did yesterday, the conclusion was as follows: The installation of GLIBC (i.e. the GNU implementation of the C standard library) on our department's HPC cluster is outdated. The installed version is 2.28, while the version required by torch_sparse is >=2.29 and the latest stable release is 2.39. There is not really a way to upgrade GLIBC without also upgrading the OS (in my case: CentOS 8.1), as substantial parts of the OS depend on it. I flagged the issue to the managers of our cluster but I don't have the permissions to upgrade the OS myself. The steps I will take now are:
|
Update: downgrading to the following versions solved the issue for me
Note that only the versions of torch and pyg_lib changed w.r.t. my previous comment. For all other libraries, it's only the build that changed from +pt22cu121 to +pt21cu121. I don't know if the change of the pyg_lib version was even necessary. |
Hi, thanks for your great help! Regarding how to install specific version of required packages, please use (torch_spline_conv as an example):
|
…tems. The most recent versions of pythorch sparse would cause the error "GLIBC Version Issue with PyTorch-Sparse:`GLIBC_2.29' not found". See rusty1s/pytorch_sparse#377 for further discussions on the issue
after install
$ python -c "import torch; print(torch.version)"
2.3.1
$ python -c "import torch; print(torch.version.cuda)"
11.8
(EAsF) [cc7738@haicn1701 cc7738-TAGBench]$ python -c "import torch; print(torch.cuda.is_available())"
True
module load devel/cuda/11.8
pip install pyg_lib torch_scatter torch_sparse torch_cluster torch_spline_conv -f https://data.pyg.org/whl/torch-2.3.1+cu118.html
pip install torch_geometric
I have an repeated error
"/anaconda3/envs/EAsF/lib/python3.10/site-packages/torch_geometric/typing.py:54: UserWarning: An issue occurred while importing 'pyg-lib'. Disabling its usage. Stacktrace: /lib64/libm.so.6: version
GLIBC_2.29' not found (required by /anaconda3/envs/EAsF/lib/python3.10/site-packages/libpyg.so) warnings.warn(f"An issue occurred while importing 'pyg-lib'. " /anaconda3/envs/EAsF/lib/python3.10/site-packages/torch_geometric/typing.py:110: UserWarning: An issue occurred while importing 'torch-sparse'. Disabling its usage. Stacktrace: /lib64/libm.so.6: version
GLIBC_2.29' not found (required by /hkfs/home/haicore/aifb/cc7738/anaconda3/envs/EAsF/lib/python3.10/site-packages/libpyg.so)warnings.warn(f"An issue occurred while importing 'torch-sparse'. ""
ofc this error happends in slurm system, but i am wondering could you provide one immediate solution based on your experience,
older version based on devel/cuda/11.4 is deprecated.
Best, C
The text was updated successfully, but these errors were encountered: