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”
Pingback: install OpenFOAM 2.4.0 on CentOS 6.6 | Discretizer | Future of Open Source CAE
Pingback: Install OpenFOAM v1612+ on CentOS 6.x from source | Discretizer | Future of Open Source CAE