Skip to content
Snippets Groups Projects
README.md 1.06 KiB
Newer Older
4Neuro - doplnit ASCII

## Dependencies
cmake (version>=3.1), make, Fortran compiler, Linux/Windows

## Installation

#### Windows
1. Clone the repository to your PC
```
Martin Beseda's avatar
Martin Beseda committed
git clone git@code.it4i.cz:moldyn/4Neuro.git
```

2. Go to the repository folder
3. Create folder 'build'
Martin Beseda's avatar
Martin Beseda committed
4. Go to the 'build' folder
Martin Beseda's avatar
Martin Beseda committed
5. Run `cmake` with following parameters
   - `MAKEFILE_TYPE` "MSYS Makefiles" for MSYS, "MinGW Makefiles" for MinGW
Martin Beseda's avatar
Martin Beseda committed
      and "Unix Makefiles" for Cygwin
   - `BUILD_TYPE` Release/Debug
   - `WITH_TIME_PROFILING` 0/1

    ```
    cmake -G MAKEFILE_TYPE -DCMAKE_BUILD_TYPE=BUILD_TYPE -DWITH_TIME_PROFILING:BOOLEAN=WITH_TIME_PROFILING ..  
    ```
Martin Beseda's avatar
Martin Beseda committed
   
6. Run `make`
7. Run `make install` (if you want to have 4Neuro in system paths)
Martin Beseda's avatar
Martin Beseda committed
#### Linux
1. Clone the repository to your PC
```
git clone git@code.it4i.cz:moldyn/4Neuro.git
```

2. Go to the repository folder
3. Set up variables in 'build.sh'
4. Run `./build.sh`

Martin Beseda's avatar
Martin Beseda committed
## Removing installation

#### Windows
1. Go to the repository folder
2. Delete 'build' folder

#### Linux
1. Go to the repository folder
2. Run `./clean.sh`