# Installation

**URL:** https://discourse.channelflow.ch/c/installation/5.md

[Latest](https://discourse.channelflow.ch/latest.md) · [Categories](https://discourse.channelflow.ch/categories.md)

---

## [About the Installation category](https://discourse.channelflow.ch/t/about-the-installation-category/14)

<div class="topic-metadata">

**Author:** [@john.gibson](https://discourse.channelflow.ch/u/john.gibson)\
**Replies:** 2\
**Last updated:** [August 5, 2019, 12:22pm UTC](https://discourse.channelflow.ch/t/about-the-installation-category/14 "2019-08-05T12:22:29Z")

</div>

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

---

## [Cannot build shared library into /user/local](https://discourse.channelflow.ch/t/cannot-build-shared-library-into-user-local/189)

<div class="topic-metadata">

**Author:** [@duc.nguyen](https://discourse.channelflow.ch/u/duc.nguyen)\
**Replies:** 0\
**Last updated:** [October 2, 2024, 2:10am UTC](https://discourse.channelflow.ch/t/cannot-build-shared-library-into-user-local/189 "2024-10-02T02:10:46Z")

</div>

Hi all, I’m a newbie here. I successfully installed Channelflow 2.0, and passed all tests. When I built it as shared library, I used ‘sudo make install’ “mkdir build cd build cmake …/channelflow -DCMAKE\_CXX\_COMPILER=…

---

## [Installing on ubuntu22](https://discourse.channelflow.ch/t/installing-on-ubuntu22/180)

<div class="topic-metadata">

**Author:** [@Michael](https://discourse.channelflow.ch/u/Michael)\
**Replies:** 1\
**Last updated:** [March 26, 2024, 3:26pm UTC](https://discourse.channelflow.ch/t/installing-on-ubuntu22/180 "2024-03-26T15:26:51Z")

</div>

Hi All, Perhaps someone can share how to successfully install channeflow on Ubuntu22? Installing all the default packages and using the cmake command below cmake /home/user/Tools/channelflow/source -DCMAKE\_BUILD\_TYPE=…

---

## [Make fail: recompile with -fpic](https://discourse.channelflow.ch/t/make-fail-recompile-with-fpic/86)

<div class="topic-metadata">

**Author:** [@Sjter](https://discourse.channelflow.ch/u/Sjter)\
**Replies:** 3\
**Last updated:** [November 18, 2022, 10:10pm UTC](https://discourse.channelflow.ch/t/make-fail-recompile-with-fpic/86 "2022-11-18T22:10:42Z")

</div>

Hi, I am having difficulties installing channelflow. I’ve used the cmake command to build the makefile and instalation files, however when i run make -j it returns an error related to linking static and dynamic libraries…

---

## [Fatal error: fftw3.h: No such file or directory](https://discourse.channelflow.ch/t/fatal-error-fftw3-h-no-such-file-or-directory/165)

<div class="topic-metadata">

**Author:** [@chihin](https://discourse.channelflow.ch/u/chihin)\
**Replies:** 0\
**Last updated:** [April 13, 2022, 6:55pm UTC](https://discourse.channelflow.ch/t/fatal-error-fftw3-h-no-such-file-or-directory/165 "2022-04-13T18:55:04Z")

</div>

Hi all, I’m having trouble installing channelflow. I’ve run cmake succesfully, cmake log in the last section. However, I get the following error when I run make install -j 8 fatal error: fftw3.h: No such file or direct…

---

## [Error adding symbols: DSO missing from command line](https://discourse.channelflow.ch/t/error-adding-symbols-dso-missing-from-command-line/130)

<div class="topic-metadata">

**Author:** [@ritab](https://discourse.channelflow.ch/u/ritab)\
**Replies:** 2\
**Last updated:** [December 3, 2021, 8:22pm UTC](https://discourse.channelflow.ch/t/error-adding-symbols-dso-missing-from-command-line/130 "2021-12-03T20:22:03Z")

</div>

Hi, I need help with installation. I get the following error during the “make” stage. I have tried to link the libm library with -DCMAKE\_C\_FLAGS but can’t make it go past the following stage. \[ 35%\] Built target chflow …

---

## [Issues with MacOS install, Request: Updated Document for MacOS install](https://discourse.channelflow.ch/t/issues-with-macos-install-request-updated-document-for-macos-install/110)

<div class="topic-metadata">

**Author:** [@mjchan](https://discourse.channelflow.ch/u/mjchan)\
**Replies:** 0\
**Last updated:** [February 5, 2021, 1:46am UTC](https://discourse.channelflow.ch/t/issues-with-macos-install-request-updated-document-for-macos-install/110 "2021-02-05T01:46:30Z")

</div>

Hi, I was wondering If it might be possible for the Mac OS X installation document here to be updated? I have reached the section titled “Prepare channelflow for installation,” at which point the text files and directory…

---

## [Make test fails](https://discourse.channelflow.ch/t/make-test-fails/91)

<div class="topic-metadata">

**Author:** [@chihin](https://discourse.channelflow.ch/u/chihin)\
**Replies:** 6\
**Last updated:** [June 4, 2020, 9:43am UTC](https://discourse.channelflow.ch/t/make-test-fails/91 "2020-06-04T09:43:09Z")

</div>

Hi all, I’m new to channelflow and I am using it for my Master’s Thesis. I’ve been trying to install channelflow and have been encountering some difficulties as I can’t get all the subroutines to pass when make test is…

---

## [Cannot find NeTCDF](https://discourse.channelflow.ch/t/cannot-find-netcdf/94)

<div class="topic-metadata">

**Author:** [@gaw](https://discourse.channelflow.ch/u/gaw)\
**Replies:** 2\
**Last updated:** [May 26, 2020, 4:09pm UTC](https://discourse.channelflow.ch/t/cannot-find-netcdf/94 "2020-05-26T16:09:22Z")

</div>

I am trying to do an installation and failing. I installed all packages including netcdf on my fedora machine. I installed with the command sudo install netcdf then when I do the command sudo dnf repoquery -l netcdf I ca…

---

## [Channnelflow 2.0 make fail](https://discourse.channelflow.ch/t/channnelflow-2-0-make-fail/73)

<div class="topic-metadata">

**Author:** [@hemanta](https://discourse.channelflow.ch/u/hemanta)\
**Replies:** 2\
**Last updated:** [January 15, 2020, 10:23pm UTC](https://discourse.channelflow.ch/t/channnelflow-2-0-make-fail/73 "2020-01-15T22:23:04Z")

</div>

I am getting the following error while running “make -j” command, It seems that HDF5 library link error. … \[ 41%\] Linking CXX executable simulateflow …/channelflow/libchflow.so: undefined reference to H5Gopen1' ../cha…

---

## [Memory leak in openmpi-2.1.x (ubuntu 18.04 package)](https://discourse.channelflow.ch/t/memory-leak-in-openmpi-2-1-x-ubuntu-18-04-package/66)

<div class="topic-metadata">

**Author:** [@moritz.linkmann](https://discourse.channelflow.ch/u/moritz.linkmann)\
**Replies:** 4\
**Last updated:** [May 29, 2019, 10:04am UTC](https://discourse.channelflow.ch/t/memory-leak-in-openmpi-2-1-x-ubuntu-18-04-package/66 "2019-05-29T10:04:19Z")

</div>

Dear All, this is a heads-up for ubuntu users: There is a memory leak when channelflow is linked to the default ubuntu openmpi package based on openmpi-2.1.1. The leak is not a channelflow issue, it definitely comes fro…

---

## [Channelflow 2.0 MPI Requirements](https://discourse.channelflow.ch/t/channelflow-2-0-mpi-requirements/31)

<div class="topic-metadata">

**Author:** [@mgudorf](https://discourse.channelflow.ch/u/mgudorf)\
**Replies:** 8\
**Last updated:** [October 2, 2018, 10:29pm UTC](https://discourse.channelflow.ch/t/channelflow-2-0-mpi-requirements/31 "2018-10-02T22:29:20Z")

</div>

Hey all, Is it possible to have the specific MPI related packages listed in INSTALL.md? I can’t seem to get the installation to work with MPI enabled and would like to figure out if its user error or a missing compone…
