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.

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:closed
  • Created 3 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
LuisaWernercommented, Jul 28, 2022

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 torch 1.12.0 torch geometric 2.0.4 torch-scatter 2.0.9 torch-sparse 0.6.14

METIS-support works now for me but I haven’t tested it on M1 chip yet.

0reactions
rusty1scommented, Jul 25, 2022

I can also confirm that you will need clang to install the package.

Read more comments on GitHub >

github_iconTop 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 >

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