# About the Installation category

**URL:** <https://discourse.channelflow.ch/t/about-the-installation-category/14>\
**Category:** Installation\
**Created:** [August 24, 2018, 5:12pm UTC](https://discourse.channelflow.ch/t/about-the-installation-category/14 "2018-08-24T17:12:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![john.gibson](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.channelflow.ch/john.gibson/32/11_2.png) [@john.gibson](https://discourse.channelflow.ch/u/john.gibson)\
**Post date:** [August 24, 2018, 5:12pm UTC](https://discourse.channelflow.ch/t/about-the-installation-category/14/1 "2018-08-24T17:12:09Z")

</div>

Questions and discussions related to installing channelflow, e.g. downloading, git, build system, required libraries.

---

<div class="post-metadata">

**Author:** ![kalon](https://avatars.discourse-cdn.com/v4/letter/k/a5b964/32.png) [@kalon](https://discourse.channelflow.ch/u/kalon)\
**Post date:** [March 3, 2019, 3:47am UTC](https://discourse.channelflow.ch/t/about-the-installation-category/14/2 "2019-03-03T03:47:27Z")

</div>

Hey all,  
It is my first time to use Channelflow ,but I install this so many times and failed .  
I install this follow the installation steps from github’s installation.

```auto
mkdir build
cd build
cmake PATH_TO_SOURCE -DCMAKE_BUILD_TYPE=debug (/release) (configuration options)
make -j
make install

```

Here is my command line:  
cmake /home/sunny/ykl/channelflow -DCMAKE\_BUILD\_TYPE=release -DCMAKE\_INSTALL\_PREFIX=/home/sunny/ykl/channelflow2.0 -DWITH\_PYTHON=ON -DWITH\_HDF5CXX=ON

## but it didn’t work. cmake: /usr/local/lib/libcurl.so.4: no version information available (required by cmake)

## – configuring channelflow version 2.0.2 – Using GNU compiler options

– Starting system introspection  
– Found FFTW  
– FFTW\_LIBRARY=/usr/lib/x86\_64-linux-gnu/libfftw3.so  
– FFTW\_OMP\_LIBRARY=/usr/lib/x86\_64-linux-gnu/libfftw3\_omp.so  
– FFTW\_MPI\_LIBRARY=FFTW\_MPI\_LIBRARY-NOTFOUND  
CMake Warning at cmake/Modules/FindFFTW.cmake:32 (message):  
The locations of fftw\_mpi and fftw library are not the same. This is  
probably something you don’t want!  
Call Stack (most recent call first):  
CMakeLists.txt:102 (find\_package)

– MPI libs: /usr/lib/openmpi/lib/libmpi\_cxx.so;/usr/lib/openmpi/lib/libmpi.so  
– FFTW\_MPI library: FFTW\_MPI\_LIBRARY-NOTFOUND  
CMake Error at CMakeLists.txt:125 (message):  
Option USE\_MPI is set and MPI is found, but cmake couldn’t find  
libfftw\_mpi, which is required. If you do not want to use MPI, clean up  
and rerun cmake with -DUSE\_MPI=off.

– Configuring incomplete, errors occurred!  
See also “/home/sunny/ykl/channelflow/build/CMakeFiles/CMakeOutput.log”.  
See also “/home/sunny/ykl/channelflow/build/CMakeFiles/CMakeError.log”.

I tried many times ,but i don’t know how to fix it.I use the linux not well ,because I use the windows system all the time.maybe the problem is easy to solve ,I think that is differences in profession makes one feel worlds apart.  
I am looking forward to your reply.  
-kalon

---

<div class="post-metadata">

**Author:** ![hemanta](https://avatars.discourse-cdn.com/v4/letter/h/a87d85/32.png) [@hemanta](https://discourse.channelflow.ch/u/hemanta)\
**Post date:** [August 5, 2019, 12:22pm UTC](https://discourse.channelflow.ch/t/about-the-installation-category/14/3 "2019-08-05T12:22:29Z")

</div>

Hi,  
add FFTW path to cmake using -DCMAKE\_PREFIX\_PATH cmake flag  
the following worked for me:

```
mkdir build
cd build
cmake ../channelflow -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=$HOME/opt/channelflow -DCMAKE_PREFIX_PATH="/home/ssray/opt/fftw/3.3.8;/home/hemanta.kumar/opt/netcdf_c/4.6.3;/home/hemanta.kumar/opt/hdf5/1.10.5" -DCMAKE_CXX_COMPILER=/share/openmpi/bin/mpicxx
```
