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

Output file location is hardcoded under /tmp #1

Open
christopheredsall opened this issue Jul 11, 2019 · 0 comments
Open

Output file location is hardcoded under /tmp #1

christopheredsall opened this issue Jul 11, 2019 · 0 comments

Comments

@christopheredsall
Copy link

Currently the output files are written under /tmp.

[chris@box perf-libs-tools]$ grep -r /tmp src tools
src/logging.c:  	sprintf(fname, "/tmp/armpllog_%.5d.apl", armpl_get_value_int());
src/summary.c:  sprintf(fname, "/tmp/armplsummary_%.5d.apl", armpl_get_value_int());
tools/process-blas.sh:TMPFILE=/tmp/.inp-$USER
tools/process-blas.sh:OUTFILE=/tmp/armpl.blas
tools/process-dgemm.c:	char *outFname = calloc(strlen("/tmp/armpl.")+strlen(funcNames[funcNameID])+1,sizeof(char));
tools/process-dgemm.c:	strcat(outFname,"/tmp/armpl.");
tools/process-dgemm.sh:TMPFILE=/tmp/.inp-$USER
tools/process-dgemm.sh:echo "   $ ./heat_dgemm.py -i /tmp/armpl.dgemm"
tools/process_summary.py:     fname = '/tmp/armpl.blas'

It would be convenient to be able to write the output in another location

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

1 participant