Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • cmake (   install cmake   (sudo apt-get install cmake))
  • g++     (   install g++ (sudo apt-get install g++)          )
  • Python 2.7  ( Python 3.0 not tested )

    If you intend to use ecFlow Python API, You will need to install Python. (install python-dev (sudo apt-get install python-dev))

    Please ensure that python is accessible on $PATH otherwise, you may need to customise $BOOST_ROOT/tools/build/v2/site-config.jam . 

    The python installation should include the development packages

    If you do not need the python api, then you can build without it, see below.
  • Xlib, X11, XMotif for ecflowview .

    Do not use Lesstif library to compile ecflowview as a replacement for Motif. 

    OpenMotif can be downloaded from http://www.ist.co.uk/downloads/motif_download.html
    If you do not want use the GUI, then you can configure the build to ignore this dependency.

  • Qt for ecFlowUI (Qt5 preferred).
    For self-installed Qt libraries, consider setting CMAKE_PREFIX_PATH (see below). See also http://doc.qt.io/qt-5/cmake-manual.html for further details.

Setting up the build environment

...

cmake options
doc
default
CMAKE_INSTALL_PREFIXwhere you want to install your ecflow /usr/local
CMAKE_BUILD_TYPE

to select the type of compilation:

  • Debug
  • RelWithDebInfo
  • Release (fully optimised compiler options)
  • Production
Release
CMAKE_CXX_FLAGS More more flags  for the C++ compiler 
ENABLE_PYTHONenable python interfaceon
ENABLE_UIenable build of ecflowUI (requires QTQt)on
CMAKE_PREFIX_PATH

Use use to provide path to install prefix of Qt 5 installation.See http://doc.qt.io/qt-5/cmake-manual.html for further detailsdependent libraries which are installed in a non-system locations.
For example, if you have installed Qt in a non-system location, you should set the path in this variable.

 
ENABLE_GUIenable build of ecflowview (requires X11 and motif)on
ENABLE_ALL_TESTS

enable performance, migration, regression tests.

off
BOOST_ROOT

where to find boost ( if non-standard installation  )

If not specified cmake will look for an environment variable

of the same name.

 

...