Skip to content

Commit

Permalink
Merge pull request #3235 from STEllAR-GROUP/fix_libfabric_pp
Browse files Browse the repository at this point in the history
Fixing Libfabric Parcelport
  • Loading branch information
msimberg committed Mar 19, 2018
2 parents 6127c4c + 94fca3d commit 09eeee3
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions plugins/parcelport/libfabric/header.hpp
Expand Up @@ -8,6 +8,7 @@
#ifndef HPX_PARCELSET_POLICIES_LIBFABRIC_HEADER_HPP
#define HPX_PARCELSET_POLICIES_LIBFABRIC_HEADER_HPP

#include <plugins/parcelport/parcelport_logging.hpp>
#include <hpx/runtime/parcelset/parcel_buffer.hpp>
#include <hpx/util/assert.hpp>
//
Expand Down
4 changes: 2 additions & 2 deletions plugins/parcelport/libfabric/libfabric_controller.hpp
Expand Up @@ -717,7 +717,7 @@ namespace libfabric
}
else if (ret == -FI_EAVAIL) {
struct fi_cq_err_entry e = {};
int err_sz = fi_cq_readerr(txcq_, &e ,0);
/*int err_sz =*/ fi_cq_readerr(txcq_, &e ,0);
// flags might not be set correctly
if (e.flags == (FI_MSG | FI_SEND)) {
LOG_ERROR_MSG("txcq Error for FI_SEND with len " << hexlength(e.len)
Expand Down Expand Up @@ -787,7 +787,7 @@ namespace libfabric
}
else if (ret == -FI_EAVAIL) {
struct fi_cq_err_entry e = {};
int err_sz = fi_cq_readerr(rxcq_, &e ,0);
/*int err_sz =*/ fi_cq_readerr(rxcq_, &e ,0);
LOG_ERROR_MSG("rxcq Error with flags " << hexlength(e.flags)
<< "len " << hexlength(e.len));
}
Expand Down
1 change: 1 addition & 0 deletions plugins/parcelport/libfabric/locality.hpp
Expand Up @@ -8,6 +8,7 @@

#include <hpx/runtime/parcelset/locality.hpp>
#include <hpx/runtime/serialization/serialize.hpp>
#include <hpx/runtime/serialization/array.hpp>
//
#include <utility>
#include <cstring>
Expand Down
1 change: 0 additions & 1 deletion plugins/parcelport/libfabric/receiver.cpp
Expand Up @@ -129,7 +129,6 @@ namespace libfabric
// potentially block all background threads.
const long max_receivers =
HPX_PARCELPORT_LIBFABRIC_MAX_PREPOSTS;
std::size_t k = 0;
if (threads::threadmanager_is_at_least(state_running)
&& hpx::threads::get_self_ptr())
{
Expand Down
2 changes: 1 addition & 1 deletion plugins/parcelport/libfabric/rma_receiver.cpp
Expand Up @@ -306,7 +306,7 @@ namespace libfabric
// count reads
++rma_reads_;

hpx::util::yield_while([this, get_region]()
hpx::util::yield_while([this, get_region, remoteAddr, rkey]()
{
LOG_EXCLUSIVE(
// write a pattern and dump out data for debugging purposes
Expand Down
2 changes: 1 addition & 1 deletion plugins/parcelport/libfabric/sender.cpp
Expand Up @@ -166,7 +166,7 @@ namespace libfabric
}

return false;
}, "sender::async_write")
}, "sender::async_write");
}
else
{
Expand Down

0 comments on commit 09eeee3

Please sign in to comment.