mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 07:55:35 +00: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;
|
||||
vm().setRunId(getPar().runId);
|
||||
vm().printContent();
|
||||
if (!getPar().graphFile.empty())
|
||||
{
|
||||
makeFileDir(getPar().graphFile, env().getGrid());
|
||||
vm().dumpModuleGraph(getPar().graphFile);
|
||||
}
|
||||
env().printContent();
|
||||
schedule();
|
||||
printSchedule();
|
||||
|
@ -55,7 +55,8 @@ public:
|
||||
GRID_SERIALIZABLE_CLASS_MEMBERS(GlobalPar,
|
||||
TrajRange, trajCounter,
|
||||
VirtualMachine::GeneticPar, genetic,
|
||||
std::string, runId);
|
||||
std::string, runId,
|
||||
std::string, graphFile);
|
||||
};
|
||||
public:
|
||||
// constructors
|
||||
|
Loading…
Reference in New Issue
Block a user