2015-02-26 15:02:31 +00:00
|
|
|
|
2015-06-01 15:28:29 +00:00
|
|
|
#include "trick/MonteCarlo.hh"
|
|
|
|
#include "trick/message_proto.h"
|
|
|
|
#include "trick/message_type.h"
|
2015-02-26 15:02:31 +00:00
|
|
|
|
|
|
|
/** @par Detailed Design: */
|
|
|
|
void Trick::MonteCarlo::dryrun() {
|
|
|
|
|
|
|
|
/** <ul><li> For all runs: run the pre run jobs. */
|
|
|
|
MonteRun * curr_run;
|
|
|
|
while ((curr_run = get_next_dispatch())) {
|
|
|
|
prepare_run(curr_run);
|
|
|
|
}
|
|
|
|
|
|
|
|
/** <ul><li> Run the master shutdown jobs */
|
|
|
|
run_queue(&master_shutdown_queue, "in master_shutdown queue") ;
|
|
|
|
|
|
|
|
message_publish(MSG_INFO, "Monte [Master] Dry run complete.\n") ;
|
|
|
|
|
|
|
|
exit(0) ;
|
|
|
|
}
|