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

Feature request: Redirect TALP output to file #4

Open
jgraciahlrs opened this issue Apr 18, 2023 · 3 comments
Open

Feature request: Redirect TALP output to file #4

jgraciahlrs opened this issue Apr 18, 2023 · 3 comments

Comments

@jgraciahlrs
Copy link

TALP reports are currently written to STDOUT (presumably). In many cases this adds noise and may disturb existing workflows which expect certain data in certain positions of the output.

I suggest to add an option to redirect TALP output to a file. (Personally, I like mpiP's approach to construct the filename.)

@vlopezh
Copy link
Contributor

vlopezh commented Apr 18, 2023

This feature is already implemented, although not yet documented. Our documentation is lagging behind lately due to lack of time.

You can see the flag executing dlb -h:

DLB is configured by setting these flags in the DLB_ARGS environment variable.
Possible options are listed below:

Option                  Current value   Possible value (type) / [choice] / {val1:val2}
--------------------------------------------------------------------------------------
...
--talp-output-file:			(path)

Or in the extended help dlb -hh:

--talp-output-file:			(path)
    Write TALP metrics to a file. If this option is not provided,
    the output is printed to stderr.
    Accepted formats: *.json, *.xml, *.csv. Any other for plain text.

Let us know if this flag covers your needs.

@jgraciahlrs
Copy link
Author

Cool! This seems to be exactly what I am looking for.

This does not seem to be available in v3.2, though. I guess it is on the main branch. Please confirm and I will test it.

@vlopezh
Copy link
Contributor

vlopezh commented Apr 18, 2023

Yes, this was not available in the last release, but it is in the main branch.

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

2 participants