taucmdr icon indicating copy to clipboard operation
taucmdr copied to clipboard

select-file logic errors

Open zbeekman opened this issue 6 years ago • 2 comments

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 avatar Mar 06 '19 18:03 zbeekman

@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?

khsa1 avatar Mar 09 '19 20:03 khsa1

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.

zbeekman avatar Mar 15 '19 19:03 zbeekman