Update distributed app
This commit is contained in:
parent
ae8de9e25d
commit
da38ff2a61
@ -393,11 +393,11 @@ int main(int argc, char* argv[])
|
|||||||
<< " forwardSummary=" << forwardSummary << std::endl
|
<< " forwardSummary=" << forwardSummary << std::endl
|
||||||
<< " nblocks=" << numBlocks << std::endl
|
<< " nblocks=" << numBlocks << std::endl
|
||||||
#ifdef ENABLE_HDFIO
|
#ifdef ENABLE_HDFIO
|
||||||
<< " dataset=" << dataset_name << std::endl
|
<< " dataset=" << dataset_name << " (HDF5 only)" << std::endl
|
||||||
<< " blocksPerDim=" << blocksPerDimIn[0] << "," << blocksPerDimIn[1] << ","
|
<< " blocksPerDim=" << blocksPerDimIn[0] << "," << blocksPerDimIn[1] << ","
|
||||||
<< blocksPerDimIn[2] << std::endl
|
<< blocksPerDimIn[2] << " (HDF5 only)" << std::endl
|
||||||
<< " selectSize=" << selectSize[0] << "," << selectSize[1] << ","
|
<< " selectSize=" << selectSize[0] << "," << selectSize[1] << ","
|
||||||
<< selectSize[2] << std::endl
|
<< selectSize[2] << " (HDF5 only)" << std::endl
|
||||||
#endif
|
#endif
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@ -528,27 +528,31 @@ int main(int argc, char* argv[])
|
|||||||
readOk = false;
|
readOk = false;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
readOk = readSingleBlockFile<ValueType>(
|
else
|
||||||
// inputs
|
{
|
||||||
rank,
|
readOk = readSingleBlockFile<ValueType>(
|
||||||
size,
|
// inputs
|
||||||
filename,
|
rank,
|
||||||
numBlocks,
|
size,
|
||||||
blocksPerRank,
|
filename,
|
||||||
// outputs
|
numBlocks,
|
||||||
nDims,
|
blocksPerRank,
|
||||||
useDataSet,
|
// outputs
|
||||||
globalSize,
|
nDims,
|
||||||
blocksPerDim,
|
useDataSet,
|
||||||
localBlockIndices,
|
globalSize,
|
||||||
localBlockOrigins,
|
blocksPerDim,
|
||||||
localBlockSizes,
|
localBlockIndices,
|
||||||
// output timers
|
localBlockOrigins,
|
||||||
dataReadTime,
|
localBlockSizes,
|
||||||
buildDatasetTime);
|
// output timers
|
||||||
|
dataReadTime,
|
||||||
|
buildDatasetTime);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (!readOk)
|
if (!readOk)
|
||||||
{
|
{
|
||||||
|
VTKM_LOG_S(vtkm::cont::LogLevel::Error, "Data read failed.");
|
||||||
MPI_Finalize();
|
MPI_Finalize();
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user