-
Notifications
You must be signed in to change notification settings - Fork 117
[feat] Improve framework messages and the performance report #2618
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
Conversation
- Print `ERROR` and `WARNING` in errors and warnings - Move a selecting subconfig message to `debug2` - Print the log file info always at INFO level
- Text + listings
Codecov ReportBase: 86.69% // Head: 86.27% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #2618 +/- ##
==========================================
- Coverage 86.69% 86.27% -0.43%
==========================================
Files 59 60 +1
Lines 10868 10977 +109
==========================================
+ Hits 9422 9470 +48
- Misses 1446 1507 +61
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
|
I was trying to run the listings on daint and realized that the performance report is not reporting all the progenvs. This is the new performance report from [ReFrame Setup]
version: 4.0.0-dev.1+6c51b548
...
[ RUN ] HelloThreadedExtended2Test /57223829 @daint:mc+cray
[ RUN ] StreamWithRefTest /f925207b @daint:login+gnu
[ RUN ] StreamWithRefTest /f925207b @daint:gpu+gnu
[ RUN ] StreamWithRefTest /f925207b @daint:mc+gnu
...
[ OK ] (16/42) StreamWithRefTest /f925207b @daint:login+gnu
P: Copy: 69777.8 MB/s (r:0, l:None, u:None)
P: Scale: 42953.6 MB/s (r:0, l:None, u:None)
P: Add: 46951.0 MB/s (r:0, l:None, u:None)
P: Triad: 47320.6 MB/s (r:0, l:None, u:None)
[ OK ] (17/42) HelloMultiLangTest %lang=cpp /71bf65a3 @daint:mc+gnu
...
[ OK ] (25/42) StreamWithRefTest /f925207b @daint:mc+gnu
P: Copy: 49051.3 MB/s (r:0, l:None, u:None)
P: Scale: 31809.1 MB/s (r:0, l:None, u:None)
P: Add: 33709.2 MB/s (r:0, l:None, u:None)
P: Triad: 33932.1 MB/s (r:0, l:None, u:None)
[ OK ] (26/42) HelloMultiLangTest %lang=c /7cfa870e @daint:gpu+cray
...
[ OK ] (41/42) StreamWithRefTest /f925207b @daint:gpu+gnu
P: Copy: 50739.1 MB/s (r:0, l:None, u:None)
P: Scale: 34674.5 MB/s (r:0, l:None, u:None)
P: Add: 38353.3 MB/s (r:0, l:None, u:None)
P: Triad: 38683.2 MB/s (r:0, l:None, u:None)
[ OK ] (42/42) HelloThreadedExtended2Test /57223829 @daint:gpu+nvidia
[----------] all spawned checks have finished
[ PASSED ] Ran 42/42 test case(s) from 4 check(s) (0 failure(s), 0 skipped)
[==========] Finished on Wed Oct 5 14:22:30 2022
================================================================================
PERFORMANCE REPORT
--------------------------------------------------------------------------------
[StreamWithRefTest /f925207b @daint:mc:gnu]
num_gpus_per_node: 0
num_tasks: 1
performance:
- Copy: 49051.3 MB/s (r: 0 MB/s l: -inf% u: +inf%)
- Scale: 31809.1 MB/s (r: 0 MB/s l: -inf% u: +inf%)
- Add: 33709.2 MB/s (r: 0 MB/s l: -inf% u: +inf%)
- Triad: 33932.1 MB/s (r: 0 MB/s l: -inf% u: +inf%)
--------------------------------------------------------------------------------
Run report saved in '/home/user/.reframe/reports/run-report-59.json'
Log file(s) saved in '/tmp/rfm-vju06n8f.log' |
|
I have updated the remote listings, but we need to re-run I also needed to change some tests because the @run_before('compile')
def prgenv_nvidia_workaround(self):
ce = self.current_environ.name
if ce == 'nvidia':
self.build_system.cppflags += [
'-D__GCC_ATOMIC_TEST_AND_SET_TRUEVAL'
] |
Good point, it will complicate it without a reason, but perhaps this deserves a nice small tip-n-trick section, where we can show the functionality of disabling the workaround hook. ;-) |
Hmm, that smells like a bug. I will have a look at it. |
|
Btw, what do you think about the |
I honestly don't know what I prefer. Initially I thought about asking to put it in verbose, but I kinda like it and find it useful. I think most people don't run in verbose mode and wouldn't see it probably. But again, I don't have a strong opinion on this.
Hm how about I put it under |
I had the same feelings as well, that's why I asked. I'm glad that we agree! I kinda prefer it in the non-verbose mode as well.
Yes, if that works, that'd be good! |
victorusu
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
ekouts
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some very minor comments. deps_rerun_t6 and deps_rerun_t6 should be run without config file according to gendoclistings. We should update the listingsa or the gendoclistings.py
|
@ekouts The tutorial looks good to me; I just did a little bit of refinement. |
This PR introduces several small improvements that imo enhance the daily experience.
ERRORandWARNINGalways. This makes it easier spot errors and warnings, even when no colors are used.TODOS