-
Below is a section of a bash script that I am using to collect uncore memory counters on a KNL If I uncomment the line which defines CALI_REPORT_CONFIG, my runs fail to collect any data, == CALIPER: (1): default: Report: config parse error: Invalid number of arguments for sum #---------------------------------------------------------------------------------------
#--------------------------------------------------------------------------------------- For the case where the line which defines CALI_REPORT_CONFIG is comment out, data collection appears % cat cali_knl_unc_edc_eclk0::UNC_E_RPQ_INSERTS:cpu=0.json Does anyone have any ideas of why I get the errors about an invalid number of arguments for sum? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Hmmm. Looks like the cut and paste of the bash script snippet did not render very well. |
Beta Was this translation helpful? Give feedback.
-
Hi @dnystrom1 , Yeah, I think the issue is the '=' character in the metric names. You should be able to escape either the character with a backslash or the whole metric name with quotation marks, e.g. like this:
Let me know if it helps! |
Beta Was this translation helpful? Give feedback.
-
Hi @daboehme , Thanks for your suggestion above with the escaped double quotes. Indeed, that does work, i.e. your second solution with escaped double quotes around the whole metric name. Thanks, Dave |
Beta Was this translation helpful? Give feedback.
Hi @dnystrom1 ,
Yeah, I think the issue is the '=' character in the metric names. You should be able to escape either the character with a backslash or the whole metric name with quotation marks, e.g. like this:
Let me know if it helps!