Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Méso-NH code
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RODIER Quentin
Méso-NH code
Commits
f13fa060
Commit
f13fa060
authored
3 years ago
by
WAUTELET Philippe
Browse files
Options
Downloads
Patches
Plain Diff
Philippe 26/01/2022: improve Rules.LXcray.mk + disable MNH_BITREP by default
parent
a08cd4bf
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
src/Rules.LXcray.mk
+18
-18
18 additions, 18 deletions
src/Rules.LXcray.mk
with
18 additions
and
18 deletions
src/Rules.LXcray.mk
+
18
−
18
View file @
f13fa060
...
...
@@ -9,7 +9,7 @@
##########################################################
#OBJDIR_PATH=/home/escj/azertyuiopqsdfghjklm/wxcvbn/azertyuiopqsdfghjklmwxcvbn
#
OPT_BASE
=
-hpic
-em
-e
f
OPT_BASE
=
-hpic
-emf
OPT_PERF0
=
-O0
-g
OPT_PERF1
=
-O1
-hflex_mp
=
intolerant
-Ofp0
-hnoomp
-hcpu
=
istanbul
-hfp0
-K
trap
=
fp
OPT_PERF2
=
-O2
-hflex_mp
=
intolerant
-Ofp0
-hnoomp
...
...
@@ -56,33 +56,33 @@ endif
#
ifeq
"$(OPTLEVEL)" "OPENACC"
CPPFLAGS
+=
-DMNH_OPENACC
OPT
=
$(
OPT_BASE
)
$(
OPT_
O
PE
NACC
)
$(
OPT_PE
RF2
)
OPT0
=
$(
OPT_BASE
)
$(
OPT_
O
PE
NACC
)
$(
OPT_PE
RF0
)
OPT_NOCB
=
$(
OPT_BASE
)
$(
OPT_
O
PE
NACC
)
$(
OPT_PE
RF2
)
OPT
=
$(
OPT_BASE
)
$(
OPT_PE
RF2
)
$(
OPT_
O
PE
NACC
)
OPT0
=
$(
OPT_BASE
)
$(
OPT_PE
RF0
)
$(
OPT_
O
PE
NACC
)
OPT_NOCB
=
$(
OPT_BASE
)
$(
OPT_PE
RF2
)
$(
OPT_
O
PE
NACC
)
#CXXFLAGS = -acc -Kieee -Mnofma $(OPT_OPENACC)
#OBJS_REPROD= spll_mode_sum_ll.o
#$(OBJS_REPROD) : OPT = $(OPT_BASE) $(OPT_
O
PE
NACC
) $(OPT_PE
RF2
) -Mvect=nosimd -Minfo=all -g
#$(OBJS_REPROD) : OPT = $(OPT_BASE) $(OPT_PE
RF2
) $(OPT_
O
PE
NACC
) -Mvect=nosimd -Minfo=all -g
#OBJS_O1_OPENACC= spll_ice4_tendencies.o spll_turb_ver_thermo_flux.o
#$(OBJS_O1_OPENACC) : OPT = $(OPT_BASE) $(OPT_
O
PE
NACC
) $(OPT_PE
RF1
)
#$(OBJS_O1_OPENACC) : OPT = $(OPT_BASE) $(OPT_PE
RF1
) $(OPT_
O
PE
NACC
)
endif
#
ifeq
"$(OPTLEVEL)" "OPENACCDEFONLY"
CPPFLAGS
+=
-DMNH_OPENACC
-D_FAKEOPENACC
OPT
=
$(
OPT_BASE
)
$(
OPT_
NOOPENACC
)
$(
OPT_PERF2
)
OPT0
=
$(
OPT_BASE
)
$(
OPT_
NOOPENACC
)
$(
OPT_PERF0
)
OPT_NOCB
=
$(
OPT_BASE
)
$(
OPT_
NOOPENACC
)
$(
OPT_PERF2
)
OPT
=
$(
OPT_BASE
)
$(
OPT_
PERF2
)
$(
OPT_NOOPENACC
)
OPT0
=
$(
OPT_BASE
)
$(
OPT_
PERF0
)
$(
OPT_NOOPENACC
)
OPT_NOCB
=
$(
OPT_BASE
)
$(
OPT_
PERF2
)
$(
OPT_NOOPENACC
)
#CXXFLAGS = -Kieee -Mnofma $(OPT_NOOPENACC)
#OBJS_REPROD= spll_mode_sum_ll.o
#$(OBJS_REPROD) : OPT = $(OPT_BASE) $(OPT_
NOOPENACC) $(OPT_PERF2
) -Mvect=nosimd -Minfo=all -g
#$(OBJS_REPROD) : OPT = $(OPT_BASE) $(OPT_
PERF2) $(OPT_NOOPENACC
) -Mvect=nosimd -Minfo=all -g
endif
#
ifeq
"$(OPTLEVEL)" "NOOPENACC"
OPT
=
$(
OPT_BASE
)
$(
OPT_
NOOPENACC
)
$(
OPT_PERF2
)
OPT0
=
$(
OPT_BASE
)
$(
OPT_
NOOPENACC
)
$(
OPT_PERF0
)
OPT_NOCB
=
$(
OPT_BASE
)
$(
OPT_
NOOPENACC
)
$(
OPT_PERF2
)
OPT
=
$(
OPT_BASE
)
$(
OPT_
PERF2
)
$(
OPT_NOOPENACC
)
OPT0
=
$(
OPT_BASE
)
$(
OPT_
PERF0
)
$(
OPT_NOOPENACC
)
OPT_NOCB
=
$(
OPT_BASE
)
$(
OPT_
PERF2
)
$(
OPT_NOOPENACC
)
#CXXFLAGS = -Kieee -Mnofma $(OPT_NOOPENACC)
#OBJS_REPROD= spll_mode_sum_ll.o
#$(OBJS_REPROD) : OPT = $(OPT_BASE) $(OPT_
NOOPENACC) $(OPT_PERF2
) -Mvect=nosimd -Minfo=all -g
#$(OBJS_REPROD) : OPT = $(OPT_BASE) $(OPT_
PERF2) $(OPT_NOOPENACC
) -Mvect=nosimd -Minfo=all -g
endif
#
ifeq
"$(OPTLEVEL)" "O2NOVEC"
...
...
@@ -103,7 +103,7 @@ endif
#
#
FC
=
ftn
FCFLAGS
=
-em
-e
f
FCFLAGS
=
-emf
CC
=
cc
export
FC
CC
FCFLAGS
F90
=
ftn
...
...
@@ -138,7 +138,7 @@ endif
# BITREP flags
#
#if MNH_BITREP exists => compile with the BITREP library
MNH_BITREP
=
YES
MNH_BITREP
=
NO
ifeq
"$(MNH_BITREP)" "YES"
CPPFLAGS_MNH
+=
-DMNH_BITREP
endif
...
...
@@ -169,8 +169,8 @@ MNH_COMPRESS=yes
#
MNH_GRIBAPI
=
no
#
NETCDF_SUPPFLAGS
=
'-em
-e
f'
ECCODES_FFLAGS
=
'-em
-e
f'
NETCDF_SUPPFLAGS
=
'-emf'
ECCODES_FFLAGS
=
'-emf'
##########################################################
# #
# Source of MESONH PACKAGE Distribution #
...
...
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