Skip to content

Commit

Permalink
issue CmPA#64: MPI should be initialized immediately
Browse files Browse the repository at this point in the history
  • Loading branch information
alecjohnson committed Mar 10, 2014
1 parent 0996301 commit 507e0a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iPic3D.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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++) {
Expand Down

0 comments on commit 507e0a6

Please sign in to comment.