mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-09 21:50:45 +01:00
Hadrons: application option to save graph
This commit is contained in:
parent
08c47328ba
commit
c4115544a5
@ -110,6 +110,11 @@ void Application::run(void)
|
|||||||
LOG(Message) << "RUN ID '" << getPar().runId << "'" << std::endl;
|
LOG(Message) << "RUN ID '" << getPar().runId << "'" << std::endl;
|
||||||
vm().setRunId(getPar().runId);
|
vm().setRunId(getPar().runId);
|
||||||
vm().printContent();
|
vm().printContent();
|
||||||
|
if (!getPar().graphFile.empty())
|
||||||
|
{
|
||||||
|
makeFileDir(getPar().graphFile, env().getGrid());
|
||||||
|
vm().dumpModuleGraph(getPar().graphFile);
|
||||||
|
}
|
||||||
env().printContent();
|
env().printContent();
|
||||||
schedule();
|
schedule();
|
||||||
printSchedule();
|
printSchedule();
|
||||||
|
@ -55,7 +55,8 @@ public:
|
|||||||
GRID_SERIALIZABLE_CLASS_MEMBERS(GlobalPar,
|
GRID_SERIALIZABLE_CLASS_MEMBERS(GlobalPar,
|
||||||
TrajRange, trajCounter,
|
TrajRange, trajCounter,
|
||||||
VirtualMachine::GeneticPar, genetic,
|
VirtualMachine::GeneticPar, genetic,
|
||||||
std::string, runId);
|
std::string, runId,
|
||||||
|
std::string, graphFile);
|
||||||
};
|
};
|
||||||
public:
|
public:
|
||||||
// constructors
|
// constructors
|
||||||
|
Loading…
x
Reference in New Issue
Block a user