Standalone cmake 2.8 on CentOS

Download cmake-2.8.12.2.tar.gz from http://www.cmake.org

Probably load qt module: module load qt/4.8.6
./bootstrap –prefix=/opt/cmake/2.8.12.2 –qt-gui
make -j4
make install

module file /etc/modulefiles/cmake/2.8.12.2

#%Module1.0##########################################
##
##  Discretizer AB modulefile
##
##
prepend-path    PATH    /opt/cmake/2.8.12.2/bin

## Set environment variables
setenv          CMAKE_ROOT_DIR      “/opt/cmake/2.8.12.2”

2 thoughts on “Standalone cmake 2.8 on CentOS

  1. Pingback: install OpenFOAM 2.4.0 on CentOS 6.6 | Discretizer | Future of Open Source CAE

  2. Pingback: Install OpenFOAM v1612+ on CentOS 6.x from source | Discretizer | Future of Open Source CAE

Leave a Reply

Your email address will not be published. Required fields are marked *