Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
fleur
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
54
Issues
54
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
fleur
fleur
Commits
af9e8375
Commit
af9e8375
authored
Feb 27, 2019
by
Daniel Wortmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update compilerflags.cmake. Remove -C from intel version 19.0. Should fix
#255
parent
b76ed42a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
cmake/compilerflags.cmake
cmake/compilerflags.cmake
+5
-1
No files found.
cmake/compilerflags.cmake
View file @
af9e8375
...
...
@@ -12,7 +12,11 @@ if (${CMAKE_Fortran_COMPILER_ID} MATCHES "Intel")
set
(
CMAKE_Fortran_FLAGS
"
${
CMAKE_Fortran_FLAGS
}
-mkl -r8 -qopenmp -assume byterecl"
)
endif
()
set
(
CMAKE_Fortran_FLAGS_RELEASE
"
${
CMAKE_Fortran_FLAGS_RELEASE
}
-xHost -O2 -g"
)
set
(
CMAKE_Fortran_FLAGS_DEBUG
"
${
CMAKE_Fortran_FLAGS_DEBUG
}
-C -traceback -O0 -g -ftrapuv -check uninit -check pointers -CB -DCPP_DEBUG"
)
if
(
${
CMAKE_Fortran_COMPILER_VERSION
}
VERSION_LESS
"19.0.0.0"
)
set
(
CMAKE_Fortran_FLAGS_DEBUG
"
${
CMAKE_Fortran_FLAGS_DEBUG
}
-C -traceback -O0 -g -ftrapuv -check uninit -check pointers -DCPP_DEBUG"
)
else
()
set
(
CMAKE_Fortran_FLAGS_DEBUG
"
${
CMAKE_Fortran_FLAGS_DEBUG
}
-CB -traceback -O0 -g -ftrapuv -check uninit -check pointers -DCPP_DEBUG"
)
endif
()
elseif
(
${
CMAKE_Fortran_COMPILER_ID
}
MATCHES
"PGI"
)
message
(
"PGI Fortran detected"
)
set
(
CMAKE_SHARED_LIBRARY_LINK_Fortran_FLAGS
""
)
#fix problem in cmake
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment