MantisBT - CMake
View Issue Details
0015050CMakeCMakepublic2014-07-31 03:492015-01-05 08:39
Erik Lindahl 
 
lowfeatureN/A
closedsuspended 
Fujitsu Sparc64 (K computer)Linux2.6.18
CMake 3.0 
 
0015050: Enable OpenMP flag detection with Fujitsu compilers
The Fujitsu compilers use the flag "-KopenMP" to enable OpenMP, which presently isn't checked by CMake. The attached patch to FindOpenMP.cmake adds it.
No tags attached.
related to 0015049closed  Add detection for Fujitsu compilers 
related to 0015051closed  Detect more fujitsu compiler warnings 
patch FindOpenMP.cmake.patch (263) 2014-07-31 03:49
https://public.kitware.com/Bug/file/5205/FindOpenMP.cmake.patch
Issue History
2014-07-31 03:49Erik LindahlNew Issue
2014-07-31 03:49Erik LindahlFile Added: FindOpenMP.cmake.patch
2014-07-31 04:03Rolf Eike BeerNote Added: 0036510
2014-07-31 04:13Erik LindahlNote Added: 0036511
2014-07-31 04:41Rolf Eike BeerRelationship addedrelated to 0015049
2014-07-31 08:48Brad KingRelationship addedrelated to 0015051
2014-07-31 09:07Brad KingNote Added: 0036529
2014-07-31 09:07Brad KingStatusnew => resolved
2014-07-31 09:07Brad KingResolutionopen => suspended
2015-01-05 08:39Robert MaynardNote Added: 0037600
2015-01-05 08:39Robert MaynardStatusresolved => closed

Notes
(0036510)
Rolf Eike Beer   
2014-07-31 04:03   
This will cause this flag to always being checked last. If there is a CMAKE_COMPILER_ID for the Fujitsu compiler it would be good to add a OMP_FLAG_FUJITSU (or whatever it is called) variable. This would lead to this flag being checked first if a Fujitsu compiler is detected, but still being checked last for every other one if no other flag works before.
(0036511)
Erik Lindahl   
2014-07-31 04:13   
Sounds like a better alternative! I uploaded a patch to enable detection of the Fujitsu compilers in issue 0015049 yesterday.
(0036529)
Brad King   
2014-07-31 09:07   
Once the compiler-id is worked out on-list please follow up with a patch for this that takes advantage of having the id available.

Resolving as "suspended" pending further discussion on the developer list.
(0037600)
Robert Maynard   
2015-01-05 08:39   
Closing resolved issues that have not been updated in more than 4 months