mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-09 21:50:45 +01:00
Hadrons: application parameter for resilient I/O
This commit is contained in:
parent
136d3802cb
commit
05aec72887
@ -108,6 +108,9 @@ void Application::run(void)
|
|||||||
HADRONS_ERROR(Definition, "run id is empty");
|
HADRONS_ERROR(Definition, "run id is empty");
|
||||||
}
|
}
|
||||||
LOG(Message) << "RUN ID '" << getPar().runId << "'" << std::endl;
|
LOG(Message) << "RUN ID '" << getPar().runId << "'" << std::endl;
|
||||||
|
BinaryIO::latticeWriteMaxRetry = getPar().parallelWriteMaxRetry;
|
||||||
|
LOG(Message) << "Attempt(s) for resilient parallel I/O: "
|
||||||
|
<< BinaryIO::latticeWriteMaxRetry << std::endl;
|
||||||
vm().setRunId(getPar().runId);
|
vm().setRunId(getPar().runId);
|
||||||
vm().printContent();
|
vm().printContent();
|
||||||
env().printContent();
|
env().printContent();
|
||||||
|
@ -56,7 +56,9 @@ public:
|
|||||||
TrajRange, trajCounter,
|
TrajRange, trajCounter,
|
||||||
VirtualMachine::GeneticPar, genetic,
|
VirtualMachine::GeneticPar, genetic,
|
||||||
std::string, runId,
|
std::string, runId,
|
||||||
std::string, graphFile);
|
std::string, graphFile,
|
||||||
|
int, parallelWriteMaxRetry);
|
||||||
|
GlobalPar(void): parallelWriteMaxRetry{-1} {}
|
||||||
};
|
};
|
||||||
public:
|
public:
|
||||||
// constructors
|
// constructors
|
||||||
|
Loading…
x
Reference in New Issue
Block a user