-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathINSTALL
More file actions
17 lines (13 loc) · 796 Bytes
/
INSTALL
File metadata and controls
17 lines (13 loc) · 796 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
### Installation of matred
0. **Dependencies**
* CMake (version 3.1.0 or later): it is used to build matred.
* hypre (version 2.19 or later): more information on its installation can be found at https://github.com/hypre-space/hypre.
1. **Configure:**
* Copy the configuration template: `cp config/config_template.sh config.sh`
* Edit `config.sh` appropriately. In particular, set `HYPRE_DIR` to the path to your hypre installation.
* Configure the build: `sh config.sh`. By default, a `build` directory will be created.
2. **Build:**
* Compile the project in the `build` directory: `cd build; make -j`
* The compiled library `libmatred.a` can be found in `build/src`.
3. **Install (if applicable):**
* If an install target is provided, run `make install`.