Skip to content

Commit

Permalink
#1111: active: implment fixes for large message sends
Browse files Browse the repository at this point in the history
  • Loading branch information
lifflander authored and cz4rs committed Dec 21, 2020
1 parent b667eba commit 6c04ed2
Show file tree
Hide file tree
Showing 16 changed files with 879 additions and 207 deletions.
12 changes: 12 additions & 0 deletions src/vt/configs/arguments/args.cc
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ namespace vt { namespace arguments {

/*static*/ bool ArgConfig::parsed = false;

/*static*/ std::size_t ArgConfig::vt_max_mpi_send_size = 1ull << 30;

static std::unique_ptr<char*[]> new_argv = nullptr;

/*static*/ int ArgConfig::parse(int& argc, char**& argv) {
Expand Down Expand Up @@ -549,6 +551,16 @@ static std::unique_ptr<char*[]> new_argv = nullptr;
hca->group(schedulerGroup);
kca->group(schedulerGroup);

/*
* Options for configuring the runtime
*/
auto a1x = app.add_option(
"--vt_max_mpi_send_size", config_.vt_max_mpi_send_size, max_size, true
);

auto configRuntime = "Runtime";
a1x->group(configRuntime);

/*
* Run the parser!
*/
Expand Down
1 change: 1 addition & 0 deletions src/vt/configs/arguments/args.h
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ struct ArgConfig {
static bool vt_debug_objgroup;

static bool vt_debug_print_flush;
std::size_t vt_max_mpi_send_size;

static bool vt_user_1;
static bool vt_user_2;
Expand Down
2 changes: 1 addition & 1 deletion src/vt/configs/types/types_type.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ using VirtualElmOnlyProxyType = uint64_t;
using VirtualElmCountType = int64_t;
using UniqueIndexBitType = uint64_t;
using GroupType = uint64_t;
using MsgSizeType = int32_t;
using MsgSizeType = int64_t;
using PhaseType = uint64_t;
using PipeType = uint64_t;
using ObjGroupProxyType = uint64_t;
Expand Down
Loading

0 comments on commit 6c04ed2

Please sign in to comment.