CMake

Dakota requires CMake version 3.12 or higher (3.14 if using the direct NumPy interface).  Binary packages for many platforms are available for download, as is general documentation.

On some platforms, it may be necessary to compile CMake from source following its installation using either a bootstrap process or using an older CMake to build the required CMake version.  For example, RHEL6 does not have a sufficiently new CMake, and we historically installed it as follows:

# If you want to build the Curses-based CMake GUI ccmake, consider 
# first installing RPMs for ncurses, ncurses-devel, ncurses-libs 
[export http_proxy=wwwproxy.domain.com:80]
wget http://www.cmake.org/files/v3.3/cmake-3.3.2.tar.gz
tar xzf cmake-3.3.2.tar.gz 
cd cmake-3.3.2
./bootstrap --prefix=$HOME/local --parallel=4
make -j 4
make install
export PATH=$HOME/local/bin:$PATH