Difference between revisions of "CMake"

From UFRC
Jump to navigation Jump to search
m (Text replace - "<!--Location--> {{App_Location|app={{#var:app}}|{{#var:ver}}}}" to "")
m (Text replace - "==Running the application using modules==" to "==Execution Environment and Modules==")
Line 27: Line 27:
 
* 2.8.5
 
* 2.8.5
 
<!--Modules-->
 
<!--Modules-->
{{#if: {{#var: mod}}|==Running the application using modules==
+
{{#if: {{#var: mod}}|==Execution Environment and Modules==
 
{{App_Module|app={{#var:app}}|intel={{#var:intel}}|mpi={{#var:mpi}}}}|}}
 
{{App_Module|app={{#var:app}}|intel={{#var:intel}}|mpi={{#var:mpi}}}}|}}
 
<!--Add additional HPC_FOO_BIN and other ENV VARIABLES below-->
 
<!--Add additional HPC_FOO_BIN and other ENV VARIABLES below-->

Revision as of 02:02, 10 August 2012

Description

cmake website  

CMake is a cross-platform, open-source build system. CMake is a family of tools designed to build, test and package software. CMake is used to control the software compilation process using simple platform and compiler independent configuration files. CMake generates native makefiles and workspaces that can be used in the compiler environment of your choice.

Available versions

  • 2.8.5

Execution Environment and Modules

To use cmake with the environment modules system at HPC the following commands are available:

Get module information for cmake:

$module spider cmake

Load the default application module:

$module load cmake

The modulefile for this software adds the directory with executable files to the shell execution PATH and sets the following environment variables:

  • HPC_CMAKE_DIR - directory where cmake is located.
  • HPC_CMAKE_BIN - executable directory
  • HPC_CMAKE_DOC - documentation directory
  • HPC_CMAKE_INC - includes directory