Following this source I would like to install METIS and the Python wrapper in colab: https://github.com/james77777778/metis_python
The installation steps are listed as the following:
- Download and extract metis-5.1.0.tar.gz from METIS - Serial Graph Partitioning and Fill-reducing Matrix Ordering
- cd metis-5.1.0
- make config shared=1 prefix=~/.local/
- make install
- export METIS_DLL=~/.local/lib/libmetis.so
- pip3 install metis-python
However, I'm not sure how to do steps 2-4 in colab specifically and so I get the following error: RuntimeError: Could not locate METIS dll. Please set the METIS_DLL environment variable to its full path.
Thanks!