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
b3744bd3
Commit
b3744bd3
authored
6 months ago
by
ESCOBAR MUNOZ Juan
Browse files
Options
Downloads
Patches
Plain Diff
Juan 19/08/2024:Rules.LXcray.mk, add DWARF = -gdwarf-4 option
parent
c513a678
No related branches found
Branches containing commit
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
+10
-9
10 additions, 9 deletions
src/Rules.LXcray.mk
with
10 additions
and
9 deletions
src/Rules.LXcray.mk
+
10
−
9
View file @
b3744bd3
...
@@ -13,7 +13,8 @@ CFV=$(shell crayftn --version | grep -E -m1 -o ' [[:digit:]\.]{2,}( |$$)' | sed
...
@@ -13,7 +13,8 @@ CFV=$(shell crayftn --version | grep -E -m1 -o ' [[:digit:]\.]{2,}( |$$)' | sed
#
#
#OBJDIR_PATH=/home/escj/azertyuiopqsdfghjklm/wxcvbn/azertyuiopqsdfghjklmwxcvbn
#OBJDIR_PATH=/home/escj/azertyuiopqsdfghjklm/wxcvbn/azertyuiopqsdfghjklmwxcvbn
#
#
OPT_BASE
=
-hpic
-emf
-h
acc_model
=
auto_async_none:no_fast_addr:no_deep_copy
-halias
=
none
DWARF
?=
-gdwarf-4
OPT_BASE
=
-hpic
-emf
-h
acc_model
=
auto_async_none:no_fast_addr:no_deep_copy
-halias
=
none
-N
1023
$(
DWARF
)
# -h acc_model=auto_async_none:no_fast_addr:no_deep_copy:unified_mem_all
# -h acc_model=auto_async_none:no_fast_addr:no_deep_copy:unified_mem_all
OPT_PERF0
=
-O0
OPT_PERF0
=
-O0
OPT_PERF1
=
-O1
-hflex_mp
=
intolerant
-Ofp0
-hnofma
-hnoomp
-K
trap
=
fp
-hipa0
OPT_PERF1
=
-O1
-hflex_mp
=
intolerant
-Ofp0
-hnofma
-hnoomp
-K
trap
=
fp
-hipa0
...
@@ -56,7 +57,7 @@ ifeq "$(OPTLEVEL)" "DEBUG"
...
@@ -56,7 +57,7 @@ ifeq "$(OPTLEVEL)" "DEBUG"
OPT
=
$(
OPT_BASE
)
$(
OPT_PERF0
)
$(
OPT_CHECK
)
OPT
=
$(
OPT_BASE
)
$(
OPT_PERF0
)
$(
OPT_CHECK
)
OPT0
=
$(
OPT_BASE
)
$(
OPT_PERF0
)
$(
OPT_CHECK
)
OPT0
=
$(
OPT_BASE
)
$(
OPT_PERF0
)
$(
OPT_CHECK
)
OPT_NOCB
=
$(
OPT_BASE
)
$(
OPT_PERF0
)
OPT_NOCB
=
$(
OPT_BASE
)
$(
OPT_PERF0
)
CFLAGS
+=
-g
-gdwarf-4
CFLAGS
+=
-g
$(
DWARF
)
endif
endif
#
#
ifeq
"$(OPTLEVEL)" "OPENACC"
ifeq
"$(OPTLEVEL)" "OPENACC"
...
@@ -142,8 +143,8 @@ endif
...
@@ -142,8 +143,8 @@ endif
#
#
#
#
FC
=
ftn
FC
=
ftn
FCFLAGS
=
-emf
FCFLAGS
=
-emf
$(
DWARF
)
CC
=
cc
CC
=
g
cc
CXX
=
CC
CXX
=
CC
export
FC
CC
FCFLAGS
export
FC
CC
FCFLAGS
ifeq
"$(VER_MPI)" "MPIAUTO"
ifeq
"$(VER_MPI)" "MPIAUTO"
...
@@ -198,7 +199,7 @@ endif
...
@@ -198,7 +199,7 @@ endif
# Test of bitrep with OMP compilation
# Test of bitrep with OMP compilation
#
#
ifeq
"$(MNH_BITREP_OMP)" "YES"
ifeq
"$(MNH_BITREP_OMP)" "YES"
CXXFLAGS
=
-fopenmp
CXXFLAGS
=
-fopenmp
$(
DWARF
)
CPPFLAGS_MNH
+=
-DMNH_BITREP_OMP
CPPFLAGS_MNH
+=
-DMNH_BITREP_OMP
DIR_MASTER
+=
LIB/BITREP
DIR_MASTER
+=
LIB/BITREP
VPATH
+=
LIB/BITREP
VPATH
+=
LIB/BITREP
...
@@ -253,14 +254,14 @@ INC += $(NETCDF_DIR)/include
...
@@ -253,14 +254,14 @@ INC += $(NETCDF_DIR)/include
CDF_PATH
=
$(
NETCDF_DIR
)
CDF_PATH
=
$(
NETCDF_DIR
)
else
else
NETCDF_SUPPFLAGS
=
'-emf'
NETCDF_SUPPFLAGS
=
'-emf'
ECCODES_FFLAGS
=
-hcpu
=
x86-64
-emf
ECCODES_FFLAGS
=
-hcpu
=
x86-64
-emf
$(
DWARF
)
# -hsystem_alloc
# -hsystem_alloc
ECCODES_CFLAGS
=
-hcpu
=
x86-64
-gdwarf-4
#
ECCODES_CFLAGS= -hcpu=x86-64
$(DWARF)
EC_CONF
=
-DCMAKE_BUILD_TYPE
=
"RELEASE"
-DIEEE_LE
=
1
EC_CONF
=
-DCMAKE_BUILD_TYPE
=
"RELEASE"
-DIEEE_LE
=
1
CDF_CONF
=
CPP
=
cpp
CDF_CONF
=
CPP
=
cpp
HDF_CONF
=
CPP
=
cpp
HDF_CONF
=
CPP
=
cpp
HDF_OPT
?=
-hcpu
=
x86-64
#
HDF_OPT ?= -hcpu=x86-64
$(DWARF)
NETCDF_OPT
?=
-hcpu
=
x86-64
#
NETCDF_OPT ?= -hcpu=x86-64
$(DWARF)
endif
endif
#
#
# Bypat nvidia70 problème
# Bypat nvidia70 problème
...
...
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