Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

select-file logic errors #319

Open
zbeekman opened this issue Mar 6, 2019 · 2 comments
Open

select-file logic errors #319

zbeekman opened this issue Mar 6, 2019 · 2 comments
Assignees

Comments

@zbeekman
Copy link
Member

zbeekman commented Mar 6, 2019

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.

@khsa1
Copy link
Contributor

khsa1 commented Mar 9, 2019

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

@zbeekman
Copy link
Member Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@zbeekman @khsa1 and others