Example using "dragon" start method
In discussions with Tom and Tom, it was unclear where this example involving the use of the "dragon" start method should land. This PR is intended to help further those discussions and ensure we do not lose track of this working example.
This PR is dependent upon PR #554 and is not intended to be merged independent of that PR.
I'm still not sure where the best place to add an example would be. The Dragon documentation would be one option (with a link from the Cubed documentation and examples). Or it could go here, but with the script named matmul-random-dragon.py or something so that it is standalone. We'd also want a link to how to set up Dragon.
@TomNicholas you've been trying out Dragon so perhaps you have thoughts?
Thinking about this more, it should be possible to add a dragon/cubed.yaml file under examples and then run
export CUBED_CONFIG=$(pwd)/dragon/cubed.yaml
python add-asarray.py
This would make it just like the other executors and allow any of the examples to be run on Dragon.
@applio we talked about this at SciPy this year - are you or Colin (whose github handle I don't know) planning to finish this off?
The other thing we discussed that we should probably do is add a test using Dragon to the Cubed CI. That should be simple if we can just pip install Dragon and run it on a single machine.
@TomNicholas I was expecting that I'd be the one to complete the work on this PR. It may be helpful to pull in others on the topic of CI tests perhaps for multi-node runs, even though it is indeed as simple as pip install dragonhpc for the single node run.