Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
clusters
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
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
nse-configs
nse-builds
clusters
Commits
3723d900
Commit
3723d900
authored
1 year ago
by
Debolskiy Andrey
Browse files
Options
Downloads
Patches
Plain Diff
Update local-ubuntu.cmake
parent
08499f96
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cluster_configs/local-ubuntu.cmake
+10
-1
10 additions, 1 deletion
cluster_configs/local-ubuntu.cmake
with
10 additions
and
1 deletion
cluster_configs/local-ubuntu.cmake
+
10
−
1
View file @
3723d900
...
...
@@ -22,7 +22,16 @@ if ( COMPILER STREQUAL "intel")
endif
()
if
(
COMPILER STREQUAL
"intel_oneapi"
)
messege
(
ERROR
"ONEAPI is not supported on IFA cluster"
)
if
(
NO_MPI
)
set
(
CMAKE_C_COMPILER icx CACHE STRING
"C compiler"
FORCE
)
# C compiler for serial build
set
(
CMAKE_CXX_COMPILER icpx CACHE STRING
"CXX compiler"
FORCE
)
# C++ compiler for serial build
set
(
CMAKE_Fortran_COMPILER ifort CACHE STRING
"Fortran compiler"
FORCE
)
# Fortran compiler for serial build
else
()
set
(
CMAKE_C_COMPILER mpiicc -cc=icx CACHE STRING
"C compiler"
FORCE
)
# C compiler for parallel build
set
(
CMAKE_CXX_COMPILER mpiicpc -cxx=icpx CACHE STRING
"CXX compiler"
FORCE
)
# C++ compiler for parallel build
set
(
CMAKE_Fortran_COMPILER mpiifort -fc=ifx CACHE STRING
"Fortran compiler"
FORCE
)
# Fortran compiler for parallel build
endif
()
set
(
comp_flags -O3 -no-ansi-alias -funroll-loops -mavx -xavx -Wno-tautological-constant-compare CACHE STRING
"comp_flags to add"
FORCE
)
endif
()
if
(
COMPILER STREQUAL
"gnu"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment