Skip to content

Commit

Permalink
Fixing problems in MPI parcelport.
Browse files Browse the repository at this point in the history
 - Potential problem with bootstrapping firing an assert about mismatching
   endpoints
 - Properly initializing performance counter timings
  • Loading branch information
Thomas Heller committed Sep 11, 2017
1 parent 7bc54fe commit ab51af0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions hpx/plugins/parcelport/mpi/sender_connection.hpp
Expand Up @@ -100,6 +100,7 @@ namespace hpx { namespace parcelset { namespace policies { namespace mpi
HPX_ASSERT(!handler_);
HPX_ASSERT(!postprocess_handler_);
HPX_ASSERT(!buffer_.data_.empty());
buffer_.data_point_.time_ = util::high_resolution_clock::now();
request_ptr_ = nullptr;
chunks_idx_ = 0;
tag_ = acquire_tag(sender_);
Expand Down
3 changes: 2 additions & 1 deletion plugins/parcelport/mpi/parcelport_mpi.cpp
Expand Up @@ -102,7 +102,8 @@ namespace hpx { namespace parcelset
return
parcelset::locality(
locality(
util::mpi_environment::rank()
util::mpi_environment::enabled() ?
util::mpi_environment::rank() : -1
)
);
}
Expand Down

0 comments on commit ab51af0

Please sign in to comment.