Using figure_of_merit_context with multiple lines of output #307
Replies: 2 comments
-
@amklinv-nnl Do you need it to be a context? IIRC SNAP doesn't print out multiple parallelization parameters in a given execution, so it is set explicitly for each ramble experiment. In HPL, you give it a range of N, NB, P, and Q values, and HPL itself sweeps over all of them (which is where the context stuff comes in). However, currently, contexts can only be defined by a specific line. Can you share the full output that you're looking to parse and I might have more useful feedback for you? |
Beta Was this translation helpful? Give feedback.
-
Hey just wanted to follow up on this too, as I'd like to understand it better. A few details our end: What your requesting certainly seems very reasonable, and it's something we've talked about before but never had a super concrete use case. The idea of a context today is more like "capture things that change within a run and give a way to group stuff that emits multiple values per run". Similar to what Doug said, I think something like they way you parameterized your decomp/parallel run/etc is likely not a context (and the HPL example is a bit misleading about that) For something like When we do a scaling study we change things like @amklinv-nnl with all the above in mind, does SNAP have a good example of needing multi line contexts, or do you think capturing things like |
Beta Was this translation helpful? Give feedback.
-
I am trying to add a new package for SNAP and am grateful for the help y'all have provided so far. I am now able to successfully run my benchmark, but I'm struggling to capture the output in the way I'd like. I ran HPL and
ramble workspace analyze
produced the following outputI would like to do something similar for SNAP, but the process grid unfortunately is output over multiple lines.
This may just be a regular expression issue, but I can't for the life of me figure out how to capture that info for figure_of_merit_context. Can you please provide guidance?
Beta Was this translation helpful? Give feedback.
All reactions