Repository navigation
Add lbmpy-pssrt test - #308
Conversation
…pletion is still less than one minute
|
Still need to set a reasonable memory requirement and a docstring to describe the test case |
|
|
|
||
| launcher = 'local' # no MPI module is loaded in this test | ||
|
|
||
| # ReFrame will generate a test for each module that matches the regex `mpi4py` |
There was a problem hiding this comment.
Not mpi4py, should be lbmpy_pssrt.
| @@ -0,0 +1,114 @@ | |||
| """ | |||
| This module tests mpi4py's MPI_Reduce call | |||
There was a problem hiding this comment.
Please modify this since this is inaccurate. Test is not for mpi4py .
| check needs to be updated. The reference does _not_ change with the number of threads. | ||
| """ | ||
|
|
||
| # LPC3D is only parallelized with OpenMP, so no multi-node tests should be ran |
|
|
||
| device_type = DEVICE_TYPES.CPU | ||
|
|
||
| # LPC3D is only OpenMP parallel, so launch only one task on a node |
All tests passed on |
|
Answer to my own question regarding the performance drop when we run on a full node is as follows: Is it feasible to add further env variables when this is the case at the level of mixin class or should we do this on a test to test basis? This is because the nature of the binding can also affect performance based on the kind of the binding provided. Difference in performance on Snellius is clear: with binding vs without binding. |
|
Hmmm, I did see performance drops, but not this massive. I did notice things were much better if i used a few threads less. Eg 124 instead of 128. I assumed there might have been background threads active, causing a small oversubscription, which causes thread movement and cache trashing. That could still be the case. But mitigated by the binding due to the threads not moving. The tricky part is that binding can sometimes also penalize performance for certain software (eg tensorflow) because all threads get bound to the first core there. So I'm not sure about putting it in the mixing class. Though we could still make it configurable through a property I guess. I'll think about it |
Indeed, I also think that the type of OpenMP spreading also depends on the application and sometimes also the architecture that one is running on but we can indeed make it configurable. If it is good for their application and the arch, then people can include it and modify it based on the best performance that can be achieved. |
|
@satishskamath I've fixed the docstrings and set compact thread binding - much better performance now at full node scale. Rome Genoa |
After thread binding the performance is more consistent. |
To run this, you need
lbmpy-pssrtinstalled. Easiest way to do it is building it on top with the following EasyConfigs:pystencils-1.4-gfbf-2023b.eb
lbmpy-pssrt-1.4-foss-2023b.eb
Then, install one-by-one with
Make sure to load
EESSI-extendin the batch evironment, either by modifying you're partitionsprepare_cmdsin the reframe config, or just puttingin your
.bashrctemporarily.