Commit 12beb131 authored by Youngsung Kim's avatar Youngsung Kim
Browse files

collected papi counters from Cori Haswell of NERSC

parent 09e04223
......@@ -2,3 +2,4 @@ papi_hl_output*
*.o
*.mod
*.exe
*.swp
......@@ -84,6 +84,7 @@ endif
ifeq (${MACH}, cori)
_RUNNER := srun -n
PAPI_DIR=/global/u2/y/youngsun/opt/papi/07272020
ifdef MPI
FC_0 := ftn
......@@ -278,3 +279,6 @@ papiavail:
summit:
python3 getpapi.py papiavail_summit.txt "jsrun -p 1 ./kernel.exe"
corihaswell:
python3 getpapi.py papiavail_corihaswell.txt "./kernel.exe"
......@@ -68,11 +68,15 @@ with open(sys.argv[1]) as f:
shutil.rmtree(outdir)
run(cmds)
for path in os.listdir(outdir):
if path.startswith("rank"):
with open(os.path.join(outdir, path)) as j:
_d = json.load(j)
unpack(event, _d)
if os.path.isdir(outdir):
for path in os.listdir(outdir):
if path.startswith("rank"):
with open(os.path.join(outdir, path)) as j:
_d = json.load(j)
unpack(event, _d)
else:
print("Warning: kernel execution for papi %s is failed." % event)
with open("kernel_papi.log", "w") as kp:
json.dump(data, kp)
{"cpu in mhz": 2301, "region_count": 120, "cycles": [131499512, 131452278, 129773984, 132494280, 131827905, 131409562, 132846506, 130375170, 130651792, 132256568, 130248428, 130842259, 131061247, 131917263, 130425255, 132604583, 130845329, 131929170, 131344071, 130445681, 131436389, 132334635, 131904999, 132999840, 132072227, 130571237, 130912892, 131359184, 131421342, 131072869, 130559017, 131231810, 131930516, 131559439, 131083710, 131754035, 129671174, 131044868, 130832685, 132592602, 130779953, 132707932, 129840766, 131607995, 131295777, 132926721, 130866386, 132431147, 131176702, 130100194, 132276492, 129546118, 131688464, 131416372, 132159312, 131110758], "perf::TASK-CLOCK": [56946905], "PAPI_L1_DCM": 10745155, "PAPI_L1_ICM": 408647, "PAPI_L2_DCM": 3839561, "PAPI_L2_ICM": 404686, "PAPI_L1_TCM": 11154324, "PAPI_L2_TCM": 4260659, "PAPI_L3_TCM": 30452, "PAPI_CA_SNP": 8351583, "PAPI_CA_SHR": 5293311, "PAPI_CA_CLN": 1551753, "PAPI_CA_INV": 8344972, "PAPI_CA_ITV": 8358278, "PAPI_L3_LDM": 11313, "PAPI_TLB_DM": 132346, "PAPI_TLB_IM": 11508, "PAPI_L1_LDM": 3723340, "PAPI_L1_STM": 5089683, "PAPI_L2_LDM": 1688596, "PAPI_L2_STM": 1372867, "PAPI_PRF_DM": 5691884, "PAPI_MEM_WCY": 53204289, "PAPI_STL_ICY": 4912980, "PAPI_FUL_ICY": 46670741, "PAPI_STL_CCY": 111925804, "PAPI_FUL_CCY": 60166502, "PAPI_BR_UCN": 1940321, "PAPI_BR_CN": 16647381, "PAPI_BR_TKN": 10083171, "PAPI_BR_NTK": 6564709, "PAPI_BR_MSP": 187706, "PAPI_BR_PRC": 16458614, "PAPI_TOT_INS": 279410680, "PAPI_LD_INS": 116708272, "PAPI_SR_INS": 31303702, "PAPI_BR_INS": 18587749, "PAPI_RES_STL": 117798563, "PAPI_TOT_CYC": 195923433, "PAPI_L2_DCA": 8879639, "PAPI_L3_DCA": 3830927, "PAPI_L2_DCR": 3700691, "PAPI_L3_DCR": 2352390, "PAPI_L2_DCW": 5150260, "PAPI_L3_DCW": 1366907, "PAPI_L2_ICH": 3379, "PAPI_L2_ICA": 409420, "PAPI_L3_ICA": 405035, "PAPI_L2_ICR": 409614, "PAPI_L3_ICR": 405298, "PAPI_L2_TCA": 9319427, "PAPI_L3_TCA": 4273204, "PAPI_L2_TCR": 4104047, "PAPI_L3_TCR": 2914592, "PAPI_L2_TCW": 5149253, "PAPI_L3_TCW": 1365262, "PAPI_REF_CYC": 128050729}
PAPI_L1_DCM
PAPI_L1_ICM
PAPI_L2_DCM
PAPI_L2_ICM
PAPI_L1_TCM
PAPI_L2_TCM
PAPI_L3_TCM
PAPI_CA_SNP
PAPI_CA_SHR
PAPI_CA_CLN
PAPI_CA_INV
PAPI_CA_ITV
PAPI_L3_LDM
PAPI_TLB_DM
PAPI_TLB_IM
PAPI_L1_LDM
PAPI_L1_STM
PAPI_L2_LDM
PAPI_L2_STM
PAPI_PRF_DM
PAPI_MEM_WCY
PAPI_STL_ICY
PAPI_FUL_ICY
PAPI_STL_CCY
PAPI_FUL_CCY
PAPI_BR_UCN
PAPI_BR_CN
PAPI_BR_TKN
PAPI_BR_NTK
PAPI_BR_MSP
PAPI_BR_PRC
PAPI_TOT_INS
PAPI_LD_INS
PAPI_SR_INS
PAPI_BR_INS
PAPI_RES_STL
PAPI_TOT_CYC
PAPI_LST_INS
PAPI_L2_DCA
PAPI_L3_DCA
PAPI_L2_DCR
PAPI_L3_DCR
PAPI_L2_DCW
PAPI_L3_DCW
PAPI_L2_ICH
PAPI_L2_ICA
PAPI_L3_ICA
PAPI_L2_ICR
PAPI_L3_ICR
PAPI_L2_TCA
PAPI_L3_TCA
PAPI_L2_TCR
PAPI_L3_TCR
PAPI_L2_TCW
PAPI_L3_TCW
PAPI_REF_CYC
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment