Skip to content

Commit

Permalink
Merge branch '110-fix-mpi-communicator' into 'master'
Browse files Browse the repository at this point in the history
Resolve "Fix MPI communicator"

Closes #110

See merge request OPAL/Libraries/ippl!118
  • Loading branch information
srikrrish committed Dec 23, 2021
2 parents 9e9add1 + d66fb5d commit 62eb436
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Communicate/Communicate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ namespace ippl {


Communicate::Communicate(int& argc, char**& argv, const MPI_Comm& comm)
: comm_m(comm)
{
MPI_Init(&argc, &argv);
MPI_Comm_rank(comm_m, &rank_m);
Expand Down

0 comments on commit 62eb436

Please sign in to comment.