Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libfortran-support
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
icon-libraries
libfortran-support
Merge requests
!84
Fix OpenACC configuration for LUMI
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fix OpenACC configuration for LUMI
openacc_for_lumi
into
master
Overview
0
Commits
1
Pipelines
3
Changes
2
Merged
Yen-Chen Chen
requested to merge
openacc_for_lumi
into
master
1 year ago
Overview
0
Commits
1
Pipelines
3
Changes
2
Expand
Edited
1 year ago
by
Jonas Jucker
0
0
Merge request reports
Compare
master
version 2
49b66764
1 year ago
version 1
5253e781
1 year ago
master (base)
and
latest version
latest version
a7c570b9
1 commit,
1 year ago
version 2
49b66764
1 commit,
1 year ago
version 1
5253e781
1 commit,
1 year ago
2 files
+
7
−
4
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
src/CMakeLists.txt
+
7
−
2
Options
@@ -84,8 +84,13 @@ check_macro_defined(HAS_OPENACC_MACRO _OPENACC QUIET)
@@ -84,8 +84,13 @@ check_macro_defined(HAS_OPENACC_MACRO _OPENACC QUIET)
if
(
FS_ENABLE_OPENACC
)
if
(
FS_ENABLE_OPENACC
)
# If _OPENACC is defined, assume that the required compiler flags are already
# If _OPENACC is defined, assume that the required compiler flags are already
# provided, e.g. in CMAKE_Fortran_FLAGS:
# provided, e.g. in CMAKE_Fortran_FLAGS:
if
(
NOT HAS_OPENACC_MACRO
)
if
(
NOT HAS_OPENACC_MACRO
)
find_package
(
OpenACC REQUIRED
)
# On LUMI, we only have OpenACC_Fortran, but no OpenACC_C
find_package
(
OpenACC QUIET
)
if
(
NOT OpenACC_Fortran_FOUND
)
message
(
FATAL_ERROR
"Could NOT find OpenACC_Fortran."
)
endif
()
target_compile_options
(
fortran-support PRIVATE
${
OpenACC_Fortran_OPTIONS
}
)
target_compile_options
(
fortran-support PRIVATE
${
OpenACC_Fortran_OPTIONS
}
)
# This make sures that unit tests (FortUTF) compiles without the need of
# This make sures that unit tests (FortUTF) compiles without the need of
# passing OpenACC compile option.
# passing OpenACC compile option.
Loading