-
Notifications
You must be signed in to change notification settings - Fork 0
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
Fix parallel diffusion tests with dace orchestration #572
Conversation
b7e9ffe
to
5ffb372
Compare
cscs-ci run dace |
cscs-ci run default |
launch jenkins spack |
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.
Since the diffusion instance fixture was created just for calling the clear cache function, could you please remove it and restore the corresponding tests to their original form?
Thanks!
Are you sure the fixture doesn't make the tests a little cleaner even so? |
cscs-ci run default |
cscs-ci run dace |
launch jenkins spack |
While it is a nice feature, the code we are replacing is quite minimal, so I would favour to go back to the original setup, just for the sake of uniformity with the rest of the tests. |
@@ -382,7 +383,8 @@ def test_run_diffusion_single_step( | |||
config = construct_diffusion_config(experiment, ndyn_substeps) | |||
additional_parameters = diffusion.DiffusionParams(config) | |||
|
|||
diffusion_granule = diffusion_instance # the fixture makes sure that the orchestrator cache is cleared properly between pytest runs -if applicable- | |||
exchange = definitions.create_exchange(processor_props, decomposition_info) |
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.
For the non-MPI tests, I would do the following:
diffusion.Diffusion(backend=backend)
and let Diuffusion use the default exchange object.
The same comment applies to the other places as well.
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.
the processor_props,decomposition_info
are not needed. Because for these tests we do not need to pass an exchange object, i.e. the default one is ok.
The same comment applies to the other tests in this file.
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.
Makes sense
3cbd48d
to
3f04d3b
Compare
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
cscs-ci run default |
launch jenkins spack |
cscs-ci run dace |
Can we merge this? |
It is ready to be merged. The CI works again? |
cscs-ci run default |
launch jenkins spack |
cscs-ci run dace |
cscs-ci run default |
launch jenkins spack |
cscs-ci run dace |
cscs-ci run default |
cscs-ci run dace |
launch jenkins spack |
cscs-ci run default |
launch jenkins spack |
cscs-ci run dace |
cscs-ci run default |
launch jenkins spack |
cscs-ci run default |
Mandatory Tests Please make sure you run these tests via comment before you merge!
Optional Tests To run benchmarks you can use:
To run tests and benchmarks with the DaCe backend you can use:
In case your change might affect downstream icon-exclaim, please consider running
For more detailed information please look at CI in the EXCLAIM universe. |
cscs-ci run default |
launch jenkins spack |
* filter out unused connectivities * remove diffusion_instance fixture * update member blacklist in Diffusion.orchestration_uid
Make sure unused connectivities are not passed to the compiled sdfg as kwargs.