-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
96 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
mt-kahypar/partition/refinement/spectral/solvers/julia/graph/matrices.jl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
mt-kahypar/partition/refinement/spectral/solvers/julia/tree_distill.jl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
mt-kahypar/partition/refinement/spectral/solvers/julia/tree_partition/metis.jl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
mt-kahypar/partition/refinement/spectral/solvers/julia/utils.jl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
include("config.jl") | ||
using DelimitedFiles | ||
|
||
# logging functions | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
To use spectral refinement, you'll need the following steps to install the dependencies to a local folder (just follow the respective official instructions for installation with root): | ||
|
||
# spdlog | ||
|
||
- `git clone --branch v1.8.1 https://github.com/gabime/spdlog.git spdlog-1.8.1` | ||
- install via `cmake` with install prefix | ||
|
||
# lemon | ||
|
||
- download from https://lemon.cs.elte.hu/trac/lemon | ||
- install via `cmake` with install prefix | ||
|
||
# or-tools | ||
|
||
- `git clone https://github.com/google/or-tools` | ||
- install via `cmake` with install prefix and `BUILD_DEPS=ON` | ||
|
||
# boost | ||
|
||
- download from https://www.boost.org/users/history/version_1_80_0.html | ||
- install with `bootstrap.sh --prefix=/install/prefix/`and `b2 install` | ||
|
||
# tcl | ||
|
||
- download from http://prdownloads.sourceforge.net/tcl/tcl8.6.14-src.tar.gz | ||
- installation: | ||
``` | ||
cd unix | ||
configure --prefix=/install/prefix/ | ||
make install install-private-headers | ||
cd /install/prefix/bin | ||
ln -s tclsh8.6 tclsh | ||
chmod +x tclsh | ||
``` | ||
|
||
# swig | ||
|
||
- download from https://swig.org/svn.html | ||
- install via `autogen.sh`, `configure` (with install prefix) and `make` | ||
|
||
# bison | ||
|
||
- download from http://ftp.gnu.org/gnu/bison/bison-3.8.tar.gz | ||
- install via `configure` with install prefix and `make` | ||
|
||
# flex | ||
|
||
- download from https://github.com/westes/flex/files/981163/flex-2.6.4.tar.gz | ||
- install via `configure` with install prefix and `make` | ||
|
||
# openroad | ||
|
||
- download from https://github.com/juliannz/TritonPart_OpenROAD.git | ||
- installation: | ||
``` | ||
cmake .. -DENABLE_TESTS=OFF -DCMAKE_INSTALL_PREFIX=/install/prefix/ -DTCL_LIBRARY=/install/prefix/lib/libtcl8.6.so -DUSE_SYSTEM_OR_TOOLS=ON | ||
rm /install/prefix/bin/openroad | ||
ln build/src/openroad /install/prefix/bin/openroad | ||
``` | ||
|
||
# GKlib | ||
|
||
- download from https://github.com/KarypisLab/GKlib | ||
- install via `make` with install prefix | ||
|
||
# METIS | ||
- download from https://github.com/KarypisLab/METIS | ||
- install via `make` with install prefix | ||
|
||
# hmetis | ||
|
||
- download from http://glaros.dtc.umn.edu/gkhome/fetch/sw/hmetis/hmetis-1.5-linux.tar.gz | ||
- installation: | ||
``` | ||
cp hmetis khmetis shmetis /install/prefix/bin | ||
cp libhmetis.a /install/prefix/lib | ||
cd /install/prefix/bin | ||
chmod +x hmetis khmetis shmetis | ||
``` | ||
|
||
# ilp_partitioner | ||
|
||
- `git clone https://github.com/juliannz/ilp_partitioner.git` | ||
- `cmake .. -DILP_USE_CPLEX=OFF -DCMAKE_INSTALL_PREFIX=/install/prefix/` |