Make decorator that executes an agenda in parallel#1117
Make decorator that executes an agenda in parallel#1117riclarsson merged 8 commits intoatmtools:mainfrom
Conversation
|
@olemke, there is a bug in the code here. I am not sure how to solve it, so I have disabled "Any" outside of agendas. I did not know how to find the actual cause here. The issue: casting is nanobind to a py::object that is invalid for "Any" might cause segfault. To reproduce under current ARTS3: |
|
So |
Now you can do
The two methods are executed in parallel. Note that this will come with overhead, and the example above is clearly faster to run serial.