Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
matVecKernels
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
openfoam
matVecKernels
Commits
67a98d00
Commit
67a98d00
authored
8 months ago
by
Francesco Bottau
Browse files
Options
Downloads
Patches
Plain Diff
Adaptation to leonardo run
parent
96a86e85
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
matVecKernels/compileEnv_leo
+32
-0
32 additions, 0 deletions
matVecKernels/compileEnv_leo
postProcessor/joinDbs.py
+11
-0
11 additions, 0 deletions
postProcessor/joinDbs.py
with
43 additions
and
0 deletions
matVecKernels/compileEnv_leo
0 → 100644
+
32
−
0
View file @
67a98d00
export CLUSTER_NAME=leonardo
export NCORE_PER_NODE=112
## Loading PAPI environment
export HAVE_PAPI=yes
export PAPI_DIR="/leonardo/home/userinternal/fbottau0/papi/src/build"
export PATH="$PAPI_DIR/bin:$PATH"
export LD_LIBRARY_PATH="$PAPI_DIR/lib:$LD_LYBRARY_PATH"
## Loading needed modules
module purge
#module load git/2.42.0
#module load cmake/3.27.7
#- loading gcc modules
module load gcc/12.2.0
module load openmpi/4.1.6--gcc--12.2.0
module load zlib/1.3--gcc--12.2.0
module load hdf5/1.14.3--openmpi--4.1.6--gcc--12.2.0
#- loading intel-oneapi modules
#module load intel-oneapi-compilers/2023.2.1
#module load intel-oneapi-mpi/2021.10.0
#module load hdf5/1.14.3--intel-oneapi-mpi--2021.10.0--oneapi--2023.2.0
#module load zlib/1.3--gcc--12.2.0
#- Setting compiler and flags
#export COMPILER_MPI="mpiicc" # "mpiCC"
#export COMPILER_CC="icx" # "gcc"
export COMPILER_MPI="mpiCC"
export COMPILER_CC="gcc"
export COMPILER_CC_FLAGS="-O3 -funroll-loops -mcpu=native -mtune=native -ftree-vectorize"
This diff is collapsed.
Click to expand it.
postProcessor/joinDbs.py
+
11
−
0
View file @
67a98d00
...
...
@@ -68,6 +68,7 @@ if __name__ == '__main__':
dbIns
=
list
(
filter
(
lambda
x
:
"
instrIns
"
in
x
,
databases
))
dbOpsIns
=
list
(
filter
(
lambda
x
:
"
instrOpsIns
"
in
x
,
databases
))
# DGX
dpCacheOps
=
list
(
filter
(
lambda
x
:
"
instrCacheOps
"
in
x
,
databases
))
#E4
dbOps
=
list
(
filter
(
lambda
x
:
"
instrOps
"
in
x
,
databases
))
#Leonardo
dbNoInst
=
list
(
filter
(
lambda
x
:
"
instr
"
not
in
x
,
databases
))
if
dbStlOps
and
(
instrumentation
==
"
stlOps
"
or
not
instrumentation
):
...
...
@@ -129,6 +130,16 @@ if __name__ == '__main__':
nValues
=
28
joinDb
(
os
.
path
.
join
(
basePath
,
"
dbOpsIns.sqlite.db
"
),
dbOpsIns
,
dataNames
,
nValues
)
if
dbOps
and
(
instrumentation
==
"
ops
"
or
not
instrumentation
):
print
(
f
"
n databases for opsIns:
{
len
(
dbOps
)
}
"
)
dataNames
=
"
date text, machine text, compiler text, flags text, hostname text, prefix text, isRCM int, \
nRows int, procID int, kernel text, kernelFlavour text, caseIndex int, mpiIndex int, mpiSize int, \
nRepetitions int, bandWidth double, jumpParam double, warmupElapsedTime double, warmupClockTime double, \
warmupCudaTime double, raceElapsedTime double, raceClockTime double, raceCudaTime double, totalCycles double, \
dpOperation double, dpVectorOperations double
"
nValues
=
26
joinDb
(
os
.
path
.
join
(
basePath
,
"
dbOps.sqlite.db
"
),
dbOps
,
dataNames
,
nValues
)
if
dpCacheOps
and
instrumentation
==
"
cacheOps
"
or
not
instrumentation
:
print
(
f
"
n databases for cacheOps:
{
len
(
dpCacheOps
)
}
"
)
dataNames
=
"
date text, machine text, compiler text, flags text, hostname text, prefix text, isRCM int, \
...
...
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