@@ -61,6 +61,41 @@ detectContent()
61
61
62
62
}
63
63
64
+ justOne ()
65
+ {
66
+ local filePrefix type1
67
+ filePrefix=$1
68
+ type1=$2
69
+
70
+ echo " python3 ${scriptsHome} /plotRanks.py ${type1} --set dataDir=${extractedFilesLoc} plotPrefix=${currPlotDest} /${filePrefix} jsonAttr=ES"
71
+ python3 " ${scriptsHome} " /plotRanks.py " ${type1} " --set dataDir=" ${extractedFilesLoc} " plotPrefix=" ${currPlotDest} " /" ${filePrefix} " jsonAttr=ES
72
+
73
+ python3 " ${scriptsHome} " /plotRanks.py " ${type1} " --set dataDir=" ${extractedFilesLoc} " plotPrefix=" ${currPlotDest} " /" ${filePrefix} " jsonAttr=ES_AWD
74
+ python3 " ${scriptsHome} " /plotRanks.py " ${type1} " --set dataDir=" ${extractedFilesLoc} " plotPrefix=" ${currPlotDest} " /" ${filePrefix} " jsonAttr=ES_AWD logScale=x
75
+ python3 " ${scriptsHome} " /plotRanks.py " ${type1} " --set dataDir=" ${extractedFilesLoc} " plotPrefix=" ${currPlotDest} " /" ${filePrefix} " jsonAttr=ES_aggregate_info levelAxis=True logScale=x
76
+
77
+ python3 " ${scriptsHome} " /plotRanks.py " ${type1} " --set dataDir=" ${extractedFilesLoc} " plotPrefix=" ${currPlotDest} " /" ${filePrefix} " jsonAttr=FixedMetaInfoGather logScale=xy
78
+ python3 " ${scriptsHome} " /plotRanks.py " ${type1} " --set dataDir=" ${extractedFilesLoc} " plotPrefix=" ${currPlotDest} " /" ${filePrefix} " jsonAttr=FixedMetaInfoGather logScale=y
79
+ python3 " ${scriptsHome} " /plotRanks.py " ${type1} " --set dataDir=" ${extractedFilesLoc} " plotPrefix=" ${currPlotDest} " /" ${filePrefix} " jsonAttr=FixedMetaInfoGather
80
+
81
+ python3 " ${scriptsHome} " /plotRanks.py " ${type1} " --set dataDir=" ${extractedFilesLoc} " plotPrefix=" ${currPlotDest} " /" ${filePrefix} " jsonAttr=MetaInfoBcast
82
+
83
+ python3 " ${scriptsHome} " /plotRanks.py " ${type1} " --set dataDir=" ${extractedFilesLoc} " plotPrefix=" ${currPlotDest} " /" ${filePrefix} " jsonAttr=PDW
84
+ python3 " ${scriptsHome} " /plotRanks.py " ${type1} " --set dataDir=" ${extractedFilesLoc} " plotPrefix=" ${currPlotDest} " /" ${filePrefix} " jsonAttr=PP logScale=x
85
+
86
+ python3 " ${scriptsHome} " /plotRanks.py " ${type1} " --set dataDir=" ${extractedFilesLoc} " plotPrefix=" ${currPlotDest} " /" ${filePrefix} " jsonAttr=transport_0.wbytes whichKind=MB
87
+
88
+ if [[ $type1 == async* ]] ; then
89
+ python3 " ${scriptsHome} " /plotRanks.py " ${type1} " --set dataDir=" ${extractedFilesLoc} " plotPrefix=" ${currPlotDest} " /" ${filePrefix} " jsonAttr=BS_WaitOnAsync
90
+ python3 " ${scriptsHome} " /plotRanks.py " ${type1} " --set dataDir=" ${extractedFilesLoc} " plotPrefix=" ${currPlotDest} " /" ${filePrefix} " jsonAttr=DC_WaitOnAsync1 logScale=x
91
+ python3 " ${scriptsHome} " /plotRanks.py " ${type1} " --set dataDir=" ${extractedFilesLoc} " plotPrefix=" ${currPlotDest} " /" ${filePrefix} " jsonAttr=DC_WaitOnAsync2 logScale=x
92
+ fi
93
+
94
+ echo " ==> plot all the times spent on rank 0: python3 ${scriptsHome} /plotStack.py ${type1} ${type2} --set dataDir=${extractedFilesLoc} whichRank=0 plotPrefix=${currPlotDest} /${filePrefix} "
95
+ python3 " ${scriptsHome} " /plotStack.py " ${type1} " --set dataDir=" ${extractedFilesLoc} " whichRank=0 plotPrefix=" ${currPlotDest} " /" ${filePrefix} "
96
+ # fi
97
+ }
98
+
64
99
compareTwo ()
65
100
{
66
101
local filePrefix type1 type2
@@ -170,7 +205,7 @@ checkPossibilities()
170
205
elif ${has_key2} ; then
171
206
validType=$typeB
172
207
fi
173
- compareTwo " ${validType} " " ${validType} " # # first input is file prefix
208
+ justOne " ${validType} " " ${validType} " # # first input is file prefix
174
209
fi
175
210
}
176
211
0 commit comments