}
/* Output to string stream */
- if(d_options[options::verbosity] == 0
- || d_options[options::separateOutput]) {
- assert(d_ostringstreams.size() == 0);
- for(unsigned i = 0; i < d_numThreads; ++i) {
- d_ostringstreams.push_back(new ostringstream);
- d_threadOptions[i].set(options::out, d_ostringstreams[i]);
-
- // important even for muzzled builds (to get result output right)
- *d_threadOptions[i][options::out]
- << Expr::setlanguage(d_threadOptions[i][options::outputLanguage]);
- }
+ assert(d_ostringstreams.size() == 0);
+ for(unsigned i = 0; i < d_numThreads; ++i) {
+ d_ostringstreams.push_back(new ostringstream);
+ d_threadOptions[i].set(options::out, d_ostringstreams[i]);
+
+ // important even for muzzled builds (to get result output right)
+ *d_threadOptions[i][options::out]
+ << Expr::setlanguage(d_threadOptions[i][options::outputLanguage]);
}
}
}/* CommandExecutorPortfolio::lemmaSharingInit() */
cmd : cmd->exportTo(d_exprMgrs[d_lastWinner], *(d_vmaps[d_lastWinner]) );
bool ret = smtEngineInvoke(d_smts[d_lastWinner],
cmdExported,
- d_threadOptions[d_lastWinner][options::out]);
+ d_options[options::verbosity] >= -1 ? d_threadOptions[d_lastWinner][options::out] : NULL);
if(d_lastWinner != 0) delete cmdExported;
return ret;
} else if(mode == 1) { // portfolio
fns[i] = boost::bind(smtEngineInvoke,
d_smts[i],
seqs[i],
- d_threadOptions[i][options::out]
+ d_options[options::verbosity] >= -1 ? d_threadOptions[i][options::out] : NULL
);
}
cmd : cmd->exportTo(d_exprMgrs[d_lastWinner], *(d_vmaps[d_lastWinner]) );
bool ret = smtEngineInvoke(d_smts[d_lastWinner],
cmdExported,
- d_threadOptions[d_lastWinner][options::out]);
+ d_options[options::verbosity] >= -1 ? d_threadOptions[d_lastWinner][options::out] : NULL);
if(d_lastWinner != 0) delete cmdExported;
return ret;
} else {
Thread configuration (a string to be passed to parseOptions)
option thread_id int :default -1
Thread ID, for internal use in case of multi-threaded run
-option separateOutput bool :default false
- In multi-threaded setting print output of each thread at the end of run, separated by a divider ("----").
+#option separateOutput bool :default false
+# In multi-threaded setting print output of each thread at the end of run, separated by a divider ("----").
option sharingFilterByLength --filter-lemma-length=N int :default -1 :read-write
don't share (among portfolio threads) lemmas strictly longer than N
option fallbackSequential --fallback-sequential bool :default false