taucmdr
taucmdr copied to clipboard
select-file logic errors
The select file should be a measurement attribute because different regions may be important for different runs. However, if you add a select file to one measurement, it's added to all of them. Similarly if you delete it from one of them it deletes it from all of them.
@zbeekman As far as I can tell, this is already the case.
$ tau init
...
$ tau meas ed profile --select select.tau
[TAU] Updated measurement 'profile'
$ tau sel profile
[TAU] Created a new experiment 'talapas-ln1-1-profile'
[TAU] Selected experiment 'talapas-ln1-1-profile'.
[TAU] Application rebuild required:
[TAU] - select_file changed from None to 'select.tau'
[TAU] - source_inst changed from 'never' to 'automatic'
[TAU] - compiler_inst changed from 'never' to 'fallback'
$ tau sel source-inst
[TAU] Created a new experiment 'talapas-ln1-1-source-inst'
[TAU] Selected experiment 'talapas-ln1-1-source-inst'.
[TAU] Application rebuild required:
[TAU] - select_file changed from 'select.tau' to None
[TAU] - compiler_inst changed from 'fallback' to 'never'
Can you give an example of how to reproduce what you are seeing?
I believe I copied a measurement with a select.tau file, then deleted it from the new measurement, and it vanished from the old measurement. I need to double check, but have some other things to catch up on today.