View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005645CMakeModulespublic2007-09-03 07:312007-12-17 21:29
ReporterWim Van Hoydonck 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0005645: Linux-ifort.cmake SET(CMAKE_SHARED_LIBRARY_Fortran_FLAGS "-KPIC") does not work with ifort version 10
DescriptionIn file cmake/Modules/Platform/Linux-ifort.cmake, the second line sets
SET(CMAKE_SHARED_LIBRARY_Fortran_FLAGS "-KPIC")

This doesn't work for intel fortran compiler version 10. (ifort
(IFORT) 10.0 20070426) since the option '-K' is not supported any
more:

ifort: command line remark #10148: option '-K' not supported


Could that second line be changed from:

SET(CMAKE_SHARED_LIBRARY_Fortran_FLAGS "-KPIC")

to

SET(CMAKE_SHARED_LIBRARY_Fortran_FLAGS "-fPIC")

which AFAIK works for all versions prior to and including version 10 of the intel fortran compiler?

Greetings,

Wim
TagsNo tags attached.
Attached Files

 Relationships

  Notes
There are no notes attached to this issue.

 Issue History
Date Modified Username Field Change
2007-09-03 07:31 Wim Van Hoydonck New Issue
2007-12-17 21:29 Bill Hoffman Status new => closed
2007-12-17 21:29 Bill Hoffman Resolution open => fixed


Copyright © 2000 - 2018 MantisBT Team