I'm preforming Monte Carlo around a model I implemented in Fenics. Monte Carlo (MC) is embarrassingly parallel --- I'm running each model evaluation in serial (only one node). It works fine if I don't use the parallel code, however, if I try to run MC in parallel I get the error:
*** Error: Unable to creating EigenVector.
*** Reason: EigenVector does not support parallel communicators.
*** Where: This error was encountered inside EigenVector.cpp.
I don't have fenics linked to Petsc, which I think is the reason that I get this error. However, since the actual PDE solve is not in parallel, is there an easy work around?