I know this is quite along time after the original post. However, I figured it is reasonable to note that you can send in an MPI communicator to the Expression class as a keyword argument, as shown in: Error with IO in parallel - - #4 by dokken
dokken
7
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Unable to compile Fenics Expression in 2019 | 4 | 1403 | December 1, 2019 | |
| Pass Function to C++ expression | 6 | 2828 | July 8, 2021 | |
| Class function not recognized in UserExpression | 2 | 533 | April 22, 2022 | |
| Eval in Expression freezes in parallel | 3 | 258 | March 7, 2024 | |
| Error: Problem with Expression inside an Expression: Missing eval() function (must be overloaded) | 2 | 1510 | July 21, 2021 |