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
d09c5acb
Commit
d09c5acb
authored
2 years ago
by
ESCOBAR MUNOZ Juan
Browse files
Options
Downloads
Patches
Plain Diff
Juan 01/02/2023:Rules.LXarm.mk, TURPAN modif <-> -mcpu=native & use mnh_expand/spll_new
parent
6d8cadea
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Rules.LXarm.mk
+12
-4
12 additions, 4 deletions
src/Rules.LXarm.mk
with
12 additions
and
4 deletions
src/Rules.LXarm.mk
+
12
−
4
View file @
d09c5acb
...
...
@@ -17,9 +17,11 @@ GFV=123
OPT_BASE
=
-g
-fno-backslash
#OPT_BASE = -g -fPIC -fno-backslash
#
OPT_PERF0
=
-O0
OPT_PERF2
=
-O2
-mcpu
=
thunderx2t99
OPT_PERF3
=
-O3
-mcpu
=
thunderx2t99
-ffp-contract
=
fast
OPT_PERF0
=
-O0
-mcpu
=
native
OPT_PERF2
=
-O2
-mcpu
=
native
# -mcpu=thunderx2t99 neoverse-n1
OPT_PERF3
=
-O3
-mcpu
=
native
#-mcpu=thunderx2t99 -ffp-contract=fast
OPT_CHECK
=
OPT_I8
=
-i8
OPT_R8
=
-r8
...
...
@@ -81,13 +83,18 @@ FX90FLAGS = $(OPT)
#
# preprocessing flags
#
CPP
=
cpp
-P
-traditional
-Wcomment
#CPP = cpp -P -traditional -Wcomment
CPP
=
mnh_expand
#
CPPFLAGS_C
+=
-DLITTLE_endian
CPPFLAGS_SURFEX
=
CPPFLAGS_SURCOUCHE
+=
-DDEV_NULL
CPPFLAGS_RAD
=
CPPFLAGS_NEWLFI
=
-DSWAPIO
-DLINUX
-DLFI_INT
=
${
LFI_INT
}
CPPFLAGS_MNH
=
-DMNH
-DSFX_MNH
CPPFLAGS_MNH
+=
-imacros
MNH_OPENACC_NV_CR.CPP
CPPFLAGS_MNH
+=
-DMNH_EXPAND
ifdef
VER_GA
CPPFLAGS_SURCOUCHE
+=
-DMNH_GA
INC
+=
-I
${
GA_ROOT
}
/include
...
...
@@ -162,3 +169,4 @@ $(OBJS_O0) : OPT = $(OPT_BASE) $(OPT_PERF0)
endif
endif
SPLL
=
spll_new
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