MantisBT - CMake
View Issue Details
0013512CMakeCMakepublic2012-09-03 10:452016-06-10 14:31
Julien Bigot 
Kitware Robot 
normalmajoralways
closedmoved 
BlueGeneQ
CMake 2.8.8 
 
0013512: no platform files are shipped for Blue Gene/Q
there doesn't seem to be any platfom file shipped for Blue Gene/Q

See the attached files as a first attempt at creating such files by modifying the Blue Gene/P files
No tags attached.
tar Platform-BlueGeneQ.tar (30,720) 2012-09-03 10:45
https://public.kitware.com/Bug/file/4450/Platform-BlueGeneQ.tar
? BlueGeneQ-XL-platform.cmake (1,183) 2012-12-21 11:25
https://public.kitware.com/Bug/file/4603/BlueGeneQ-XL-platform.cmake
Issue History
2012-09-03 10:45Julien BigotNew Issue
2012-09-03 10:45Julien BigotFile Added: Platform-BlueGeneQ.tar
2012-12-18 12:31Mark AbrahamNote Added: 0031922
2012-12-21 11:25Julien BigotFile Added: BlueGeneQ-XL-platform.cmake
2012-12-21 11:31Julien BigotNote Added: 0031939
2016-06-10 14:28Kitware RobotNote Added: 0042112
2016-06-10 14:28Kitware RobotStatusnew => resolved
2016-06-10 14:28Kitware RobotResolutionopen => moved
2016-06-10 14:28Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0031922)
Mark Abraham   
2012-12-18 12:31   
Thanks Julien, I'm also looking for BluegeneQ toolchain files.

How do you intend these to be used? BluegeneQ-base recommends the platform file be BluegeneQ-static. BluegeneQ-static includes only BluegeneQ-base, but the call to the function in BluegeneQ-base is made in BluegeneQ-static-xx-xx.
(0031939)
Julien Bigot   
2012-12-21 11:31   
Hi Mark,

Please note that I'm no cmake or bluegene expert, so the way I'm doing this might not be the right way. I'm especially not really sure about the value of the CMAKE_SYSTEM_LIBRARY_PATH variable. It just works for me and on the few BG/Q I have access to.

I'm using the BlueGeneQ-XL-platform.cmake attached as platform file by providing the parameter -DCMAKE_TOOLCHAIN_FILE=BlueGeneQ-XL-platform.cmake when calling cmake.

This file sets the CMAKE_SYSTEM_NAME variable that will take care of using the right platform files depending on the compiler (GNU or XL)
Then it sets CMAKE_MODULE_PATH to find the platform files that in my case are provided with my project inside cmake/Platform and defines the fact that I'm using the XL compiler.

Regards,
Julien
(0042112)
Kitware Robot   
2016-06-10 14:28   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.