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

Minor issue with -od flag relative to ../ #257

Open
jonesholger opened this issue Aug 3, 2022 · 2 comments
Open

Minor issue with -od flag relative to ../ #257

jonesholger opened this issue Aug 3, 2022 · 2 comments
Assignees
Labels

Comments

@jonesholger
Copy link
Contributor

Reproduce on branch develop (dfde024)
cd into build/bin
./raja-perf.exe -k Basic_NESTED_INIT -od ../test1 --checkrun -sp
ls
RAJAPerf-checksum.txt RAJAPerf-fom.csv RAJAPerf-kernels.csv RAJAPerf-speedup-Average.csv RAJAPerf-timing-Average.csv raja-perf.exe

ls ../test1
ls: cannot access '../test1': No such file or directory

rm *.txt *.csv
./raja-perf.exe -k Basic_NESTED_INIT -od $(pwd)/../test1 --checkrun -sp

ls
raja-perf.exe

ls ../test1
RAJAPerf-checksum.txt RAJAPerf-fom.csv RAJAPerf-kernels.csv RAJAPerf-speedup-Average.csv RAJAPerf-timing-Average.csv

@jonesholger
Copy link
Contributor Author

I commented out initial logic to remove . or ./ in recursiveMkdir and it works fine for the few tests I ran. But, we should find out the orig rationale.

@rhornung67
Copy link
Member

That maybe hasn't been used in a while and it may be out of sync with all the changes that have happened in recent months. I'll take a look to see if I can fix it.

@rhornung67 rhornung67 self-assigned this Aug 3, 2022
@rhornung67 rhornung67 added the bug label Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants