diff --git a/iPic3D.cpp b/iPic3D.cpp index 91129c7b..cff2f756 100644 --- a/iPic3D.cpp +++ b/iPic3D.cpp @@ -9,10 +9,10 @@ using namespace iPic3D; int main(int argc, char **argv) { + MPIdata::init(&argc, &argv); iPic3D::c_Solver KCode; bool b_err = false; - MPIdata::init(&argc, &argv); KCode.Init(argc, argv); for (int i = KCode.FirstCycle(); i < KCode.LastCycle(); i++) {