RuntimeError: Not compiled with METIS support
See original GitHub issue❓ Questions & Help
I am trying to use ClusterData and ClusterLoader. However, it results in a runtime error that I can’t seem to find anything online.
What might be causing this problem?
Compute METIS partitioning...
Traceback (most recent call last):
File "/global/homes/p/prashant/metagnn/src/meta_gnn.py", line 397, in <module>
save_dir=dataset.processed_dir)
File "/global/homes/p/prashant/.local/cori/pytorchv1.5.0-gpu/lib/python3.7/site-packages/torch_geometric/data/cluster.py", line 45, in __init__
adj, partptr, perm = adj.partition(num_parts, recursive)
File "/usr/common/software/pytorch/v1.5.0-gpu/lib/python3.7/site-packages/torch_sparse/metis.py", line 37, in partition
recursive)
RuntimeError: Not compiled with METIS support
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
RuntimeError: Not compiled with METIS support #1313 - GitHub
Questions & Help I am trying to use ClusterData and ClusterLoader. However, it results in a runtime error that I can't seem to...
Read more >how to install METIS library for python? - Stack Overflow
The metis-python is just a wrapper, it does not have the core METIS yet, you need to install METIS separately. You can get...
Read more >Metis/Parmetis partitioning limits - FEAP User Forum
I tried to compile feap and petsc using 64-bit integers as suggested using fresh versions of feap and petsc. However this does not...
Read more >Cannot locate METIS_DLL shared library - Super User
I get this error: RuntimeError: Could not locate METIS dll. Please set the METIS_DLL environment variable to its full path. From the second...
Read more >METIS for Python 0.1 documentation
Simple adjacency lists are supported as well. ... If the values do not match what was used to compile the library, Bad Things(TM)...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for the help. In the end, I installed torch-sparse with the instructions given for installing the binaries and made sure that I have the right versions.
pip install torch-scatter torch-sparse -f https://data.pyg.org/whl/torch-1.12.0+${CUDA}.html
Python
3.9
torch1.12.0
torch geometric2.0.4
torch-scatter2.0.9
torch-sparse0.6.14
METIS-support works now for me but I haven’t tested it on M1 chip yet.
I can also confirm that you will need
clang
to install the package.