Skip to content

Commit

Permalink
improve install instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
juliannz committed Aug 27, 2024
1 parent 27646b5 commit f3e3d0f
Showing 1 changed file with 21 additions and 13 deletions.
34 changes: 21 additions & 13 deletions spectral.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,34 @@
# julia

This branch uses [julia](https://julialang.org). It is tested under version 1.10.4.

The required julia packages are listed in `mt-kahypar/partition/refinement/spectral/solvers/julia/dependencies.txt`.

# K-SpecPart dependencies

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
## spdlog

- `git clone --branch v1.8.1 https://github.com/gabime/spdlog.git spdlog-1.8.1`
- install via `cmake` with install prefix

# lemon
## lemon

- download from https://lemon.cs.elte.hu/trac/lemon
- install via `cmake` with install prefix

# or-tools
## or-tools

- `git clone https://github.com/google/or-tools`
- install via `cmake` with install prefix and `BUILD_DEPS=ON`

# boost
## 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
## tcl

- download from http://prdownloads.sourceforge.net/tcl/tcl8.6.14-src.tar.gz
- installation:
Expand All @@ -33,22 +41,22 @@ ln -s tclsh8.6 tclsh
chmod +x tclsh
```

# swig
## swig

- download from https://swig.org/svn.html
- install via `autogen.sh`, `configure` (with install prefix) and `make`

# bison
## bison

- download from http://ftp.gnu.org/gnu/bison/bison-3.8.tar.gz
- install via `configure` with install prefix and `make`

# flex
## 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
## openroad

- download from https://github.com/juliannz/TritonPart_OpenROAD.git
- installation:
Expand All @@ -58,16 +66,16 @@ rm /install/prefix/bin/openroad
ln build/src/openroad /install/prefix/bin/openroad
```

# GKlib
## GKlib

- download from https://github.com/KarypisLab/GKlib
- install via `make` with install prefix

# METIS
## METIS
- download from https://github.com/KarypisLab/METIS
- install via `make` with install prefix

# hmetis
## hmetis

- download from http://glaros.dtc.umn.edu/gkhome/fetch/sw/hmetis/hmetis-1.5-linux.tar.gz
- installation:
Expand All @@ -78,7 +86,7 @@ cd /install/prefix/bin
chmod +x hmetis khmetis shmetis
```

# ilp_partitioner
## ilp_partitioner

- `git clone https://github.com/juliannz/ilp_partitioner.git`
- `cmake .. -DILP_USE_CPLEX=OFF -DCMAKE_INSTALL_PREFIX=/install/prefix/`

0 comments on commit f3e3d0f

Please sign in to comment.