I am using a profiling tool called TAU which allows me to set an environment variable called TAU_METRICS with a number of PAPI events which I wish to measure during a run. I have found that I can set the CMASK for a particular PAPI event by appending ":c=n" where n=1,2,3, etc to the end of the event name. An example of what I have been trying is below for c=2:
setenv TAU_METRICS PAPI_NATIVE_OFFCORE_REQUESTS\\:DEMAND_RFO\\:c=2
The code will run when I set the metrics in this way, but unfortunately it does not count any events except when the CMASK is c=1. For all other values, the counter is zero.
If you have any advice on how I might fix this, I would certainly appreciate it!
