![]() |
The Open FUSION Toolkit 26.9
An open-source framework for fusion and plasma science and engineering
|
This page outlines information helpful for using the Open FUSION Toolkit with PETSc as the linear algebra back end.
By default PETSc either returns errors via ierr of the calling subroutine or prints an error to stderr. This is not uniformly implemented and can cause issues with large output files.
In order to use threading PETSc must be compiled with threads enabled. Currently, this is only correctly supported using the PETSc-dev branch. In order to compile with thread capabilities add the following commands to the configure script.
--with-openmp --with-pthreadclasses --with-threadcomm