At the moment only the MPI process of rank 0 generates the code, so when we have a SumDiscreteForm we generate the code sequentially, this can be improved by using other MPI ranks to generate the code for different parts of the SumDiscreteForm, for this we can pass different root ranks to BasicCodegen class
At the moment only the MPI process of
rank 0
generates the code, so when we have aSumDiscreteForm
we generate the code sequentially, this can be improved by using other MPI ranks to generate the code for different parts of theSumDiscreteForm
, for this we can pass differentroot
ranks to BasicCodegen class