Skip to content

Commit

Permalink
Merge branch 'master' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
eisenhauer committed Feb 7, 2023
2 parents 480e5cf + 75688e1 commit 49e9da6
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
5 changes: 5 additions & 0 deletions source/adios2/toolkit/format/bp5/BP5Deserializer.cpp
Expand Up @@ -1801,6 +1801,11 @@ void *BP5Deserializer::GetMetadataBase(BP5VarRec *VarRec, size_t Step,
MetaArrayRec *writer_meta_base = NULL;
if (m_RandomAccessMode)
{
if (Step >= m_ControlArray.size() ||
WriterRank >= m_ControlArray[Step].size())
{
return NULL; // we don't have this rank in this step
}
ControlInfo *CI =
m_ControlArray[Step][WriterRank]; // writer control array
if (((*CI->MetaFieldOffset).size() <= VarRec->VarNum) ||
Expand Down
5 changes: 5 additions & 0 deletions source/adios2/toolkit/sst/dp/rdma_dp.c
Expand Up @@ -293,6 +293,11 @@ static void init_fabric(struct fabric_state *fabric, struct _SstParams *Params,
Svcs->verbose(CP_Stream, DPCriticalVerbose,
"accessing domain failed with %d (%s). This is fatal.\n",
result, fi_strerror(result));
fprintf(
stderr,
"SST RDMA Dataplane failure. fi_domain() has failed, which may "
"mean that libfabric is defaulting to the wrong interface. Check "
"your FABRIC_IFACE environment variable (or specify one).\n");
return;
}
info->ep_attr->type = FI_EP_RDM;
Expand Down
3 changes: 2 additions & 1 deletion source/utils/bpls/bpls.cpp
Expand Up @@ -1534,7 +1534,8 @@ int doList(const char *path)
printf("\nADIOS Open: read header info from %s\n", path);

std::string tpl = helper::LowerCase(transport_params);
bool remoteFile = (tpl.find("awssdk") != std::string::npos);
bool remoteFile = (tpl.find("awssdk") != std::string::npos) ||
(tpl.find("daos") != std::string::npos);
if (remoteFile)
{
if (engine_name.empty())
Expand Down

0 comments on commit 49e9da6

Please sign in to comment.