Use the following commands to use a newer version of cmake which is available via spack and modules:
$ bash
$ export MODULEPATH=/afs/slac.stanford.edu/package/spack/share/spack/modules/linux-rhel6-x86_64:/usr/share/Modules/modulefiles:/etc/modulefiles
$ module load cmake-3.9.0-gcc-5.3.0-6ic4wgl
$ cmake --version
After setting MODULEPATH, you can also use this command to see the software available via environment modules:
$ module avail
Related articles
1 Comment
Faisal Abu-Nimeh
on tcsh
or for rich experience