- Infos im HLRS Wiki sind nicht rechtsverbindlich und ohne Gewähr -
- Information contained in the HLRS Wiki is not legally binding and HLRS is not responsible for any damages that might result from its use -
CRAY XE6 FAQ: Difference between revisions
From HLRS Platforms
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
* [[ Secure Shell ssh#ssh tunnel | How to get my software from a SVN repository? ]] | * [[ Secure Shell ssh#ssh tunnel | How to get my software from a SVN repository? ]] | ||
* [[ I want to use cmake and the Cray compiler wrappers ]] | |||
There is a cmake module available which is targeted to be used for generating an application for the compute nodes on Hermit : | |||
<pre> | |||
hpcander@nid01146:/> module load tools/cmake/2.8.7 | |||
hpcander@nid01146:/> module help tools/cmake/2.8.7 | |||
----------- Module Specific Help for 'tools/cmake/2.8.7' ---------- | |||
In order to use cmake on Hermit, you can create a file with the follwoing 4 lines | |||
cat toolchain_file_hermit.cmake | |||
SET(CMAKE_SYSTEM_NAME Hermit) | |||
SET(CMAKE_C_COMPILER cc) | |||
SET(CMAKE_CXX_COMPILER CC) | |||
SET(CMAKE_Fortran_COMPILER ftn) | |||
and then you use it with | |||
cmake -DCMAKE_TOOLCHAIN_FILE=./toolchain_file_hermit.cmake | |||
hpcander@nid01146:/> | |||
</pre> |
Latest revision as of 10:02, 6 June 2012
There is a cmake module available which is targeted to be used for generating an application for the compute nodes on Hermit :
hpcander@nid01146:/> module load tools/cmake/2.8.7 hpcander@nid01146:/> module help tools/cmake/2.8.7 ----------- Module Specific Help for 'tools/cmake/2.8.7' ---------- In order to use cmake on Hermit, you can create a file with the follwoing 4 lines cat toolchain_file_hermit.cmake SET(CMAKE_SYSTEM_NAME Hermit) SET(CMAKE_C_COMPILER cc) SET(CMAKE_CXX_COMPILER CC) SET(CMAKE_Fortran_COMPILER ftn) and then you use it with cmake -DCMAKE_TOOLCHAIN_FILE=./toolchain_file_hermit.cmake hpcander@nid01146:/>