Commit b6c05bc8 authored by Martin Beseda's avatar Martin Beseda

Update README.md

parent e7110265
4Neuro v.0.1 - doplnit ASCII
## Dependencies
cmake (version>=3.0), make, Fortran compiler, Linux/Windows
- [Git](https://git-scm.com/)
- [cmake](https://cmake.org/) (version >= 3.0)
- [Boost](https://www.boost.org/)
- [exprtk](http://www.partow.net/programming/exprtk/)
## Installation
#### Linux
- `make`
- C++ compiler
#### Windows
1. Clone the repository to your PC
```
git clone git@code.it4i.cz:moldyn/4Neuro.git
```
- [Visual Studio](https://visualstudio.microsoft.com/) (install together with `cl` and `SDK`!)
2. Go to the repository folder
3. Create folder 'build'
4. Go to the 'build' folder
5. Run `cmake` with following parameters
- `MAKEFILE_TYPE` "MSYS Makefiles" for MSYS, "MinGW Makefiles" for MinGW
and "Unix Makefiles" for Cygwin
- `BUILD_TYPE` Release/Debug
- `WITH_TIME_PROFILING` 0/1
## Compilation
- Clone the repository to your PC
```
cmake -G MAKEFILE_TYPE -DCMAKE_BUILD_TYPE=BUILD_TYPE -DWITH_TIME_PROFILING:BOOLEAN=WITH_TIME_PROFILING ..
git clone git@code.it4i.cz:moldyn/lib4neuro.git
```
6. Run `make`
7. Run `make install` (if you want to have 4Neuro in system paths)
- Clone the repository of `exprtk`
```
https://github.com/ArashPartow/exprtk.git
```
#### Linux
1. Clone the repository to your PC
```
git clone git@code.it4i.cz:moldyn/4Neuro.git
```
#### Linux (Debian-based)
- Install package `libboost-all-dev`
2. Go to the repository folder
3. Set up variables in 'build.sh'
4. Run `./build.sh`
```
sudo apt-get install libboost-all-dev
```
- Go to the `lib4Neuro` folder and run
## Removing installation
```
./build.sh
```
#### Windows
1. Go to the repository folder
2. Delete 'build' folder
- Download `Boost` from [this link](https://www.boost.org/users/download/)
- Run the Visual Studio Command Prompt and go to the folder with `Boost`
#### Linux
1. Go to the repository folder
2. Run `./clean.sh`
```
cd FOLDER_WITH_BOOST
bootstrap.bat
b2.exe --build-type=complete
```
- set `BOOST_ROOT` variable to the path of your folder with `Boost`
```
setx BOOST_ROOT YOUR_PATH
```
- go to the `lib4neuro` folder and run
```
build.bat
```
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