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
f9ae387e
Commit
f9ae387e
authored
Jul 13, 2019
by
Daniel Wortmann
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of iffgit.fz-juelich.de:fleur/fleur into develop
parents
f20d075c
07ac085d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
cmake/compilerflags.cmake
cmake/compilerflags.cmake
+3
-2
No files found.
cmake/compilerflags.cmake
View file @
f9ae387e
...
@@ -16,7 +16,8 @@ if (${CMAKE_Fortran_COMPILER_ID} MATCHES "Intel")
...
@@ -16,7 +16,8 @@ if (${CMAKE_Fortran_COMPILER_ID} MATCHES "Intel")
else
()
else
()
set
(
CMAKE_Fortran_FLAGS
"
${
CMAKE_Fortran_FLAGS
}
-mkl -qopenmp -assume byterecl"
)
set
(
CMAKE_Fortran_FLAGS
"
${
CMAKE_Fortran_FLAGS
}
-mkl -qopenmp -assume byterecl"
)
endif
()
endif
()
set
(
CMAKE_Fortran_FLAGS_RELEASE
"
${
CMAKE_Fortran_FLAGS_RELEASE
}
-xHost -O2 -g"
)
#set(CMAKE_Fortran_FLAGS_RELEASE "${CMAKE_Fortran_FLAGS_RELEASE} -xHost -O2 -g")
set
(
CMAKE_Fortran_FLAGS_RELEASE
"
${
CMAKE_Fortran_FLAGS_RELEASE
}
-xMIC-AVX512 -O2"
)
if
(
${
CMAKE_Fortran_COMPILER_VERSION
}
VERSION_LESS
"19.0.0.0"
)
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 -warn all"
)
set
(
CMAKE_Fortran_FLAGS_DEBUG
"
${
CMAKE_Fortran_FLAGS_DEBUG
}
-C -traceback -O0 -g -ftrapuv -check uninit -check pointers -DCPP_DEBUG -warn all"
)
else
()
else
()
...
@@ -27,7 +28,7 @@ elseif(${CMAKE_Fortran_COMPILER_ID} MATCHES "PGI")
...
@@ -27,7 +28,7 @@ elseif(${CMAKE_Fortran_COMPILER_ID} MATCHES "PGI")
message
(
"PGI Fortran detected"
)
message
(
"PGI Fortran detected"
)
set
(
CMAKE_SHARED_LIBRARY_LINK_Fortran_FLAGS
""
)
#fix problem in cmake
set
(
CMAKE_SHARED_LIBRARY_LINK_Fortran_FLAGS
""
)
#fix problem in cmake
#CPU
#CPU
set
(
CMAKE_Fortran_FLAGS
"
${
CMAKE_Fortran_FLAGS
}
-mp
-Mr8 -Mr8intrinsics
"
)
set
(
CMAKE_Fortran_FLAGS
"
${
CMAKE_Fortran_FLAGS
}
-mp"
)
#GPU
#GPU
#set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -mp -Mcuda=cuda9.0,cc60 -Mcudalib=cublas")
#set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -mp -Mcuda=cuda9.0,cc60 -Mcudalib=cublas")
#set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -mp -Mcuda:kepler+ -ta:tesla:cuda7.5 -DUSE_STREAMS -DNUM_STREAMS=${N_STREAMS} -Minfo=accel -acc")
#set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -mp -Mcuda:kepler+ -ta:tesla:cuda7.5 -DUSE_STREAMS -DNUM_STREAMS=${N_STREAMS} -Minfo=accel -acc")
...
...
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