Unverified Commit 63b75d8d authored by Matthias Fey's avatar Matthias Fey Committed by GitHub
Browse files

fix metis (#255)

parent bd7273e2
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
METIS=metis-5.1.0 METIS=metis-5.1.0
curl -k -L "http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/${METIS}.tar.gz" --output "${METIS}.tar.gz" curl -k -L "https://web.archive.org/web/20170712055800/http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/${METIS}.tar.gz" --output "${METIS}.tar.gz"
tar -xvzf "${METIS}.tar.gz" tar -xvzf "${METIS}.tar.gz"
rm -f "${METIS}.tar.gz" rm -f "${METIS}.tar.gz"
cd "${METIS}" || exit cd "${METIS}" || exit
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
METIS=metis-5.1.0 METIS=metis-5.1.0
wget -nv "http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/${METIS}.tar.gz" wget -nv "https://web.archive.org/web/20211119110155/http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/${METIS}.tar.gz"
tar -xvzf "${METIS}.tar.gz" tar -xvzf "${METIS}.tar.gz"
rm -f "${METIS}.tar.gz" rm -f "${METIS}.tar.gz"
cd "${METIS}" || exit cd "${METIS}" || exit
......
...@@ -94,7 +94,7 @@ $ echo $CPATH ...@@ -94,7 +94,7 @@ $ echo $CPATH
>>> /usr/local/cuda/include:... >>> /usr/local/cuda/include:...
``` ```
If you want to additionally build `torch-sparse` with METIS support, *e.g.* for partioning, please download and install the [METIS library](http://glaros.dtc.umn.edu/gkhome/metis/metis/download) by following the instructions in the `Install.txt` file. If you want to additionally build `torch-sparse` with METIS support, *e.g.* for partioning, please download and install the [METIS library](https://web.archive.org/web/20211119110155/http://glaros.dtc.umn.edu/gkhome/metis/metis/download) by following the instructions in the `Install.txt` file.
Note that METIS needs to be installed with 64 bit `IDXTYPEWIDTH` by changing `include/metis.h`. Note that METIS needs to be installed with 64 bit `IDXTYPEWIDTH` by changing `include/metis.h`.
Afterwards, set the environment variable `WITH_METIS=1`. Afterwards, set the environment variable `WITH_METIS=1`.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment