Skip to content
Snippets Groups Projects
Commit 67a98d00 authored by Francesco Bottau's avatar Francesco Bottau
Browse files

Adaptation to leonardo run

parent 96a86e85
No related branches found
No related tags found
No related merge requests found
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"
......@@ -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, \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment