StochasticNumerics / mimclib

A software library for UQ methods
GNU General Public License v2.0
6 stars 8 forks source link

Problem with output #18

Closed litvinen closed 8 years ago

litvinen commented 8 years ago

What is correct ./echo_test_cmd_alex.py | bash > 111output.log or ./echo_test_cmd_alex.py | bash &> 111output.log

Both of them do not work in my case

litvinen commented 8 years ago

I found solution. Two things 1) I added option "-u" python -u run.py ... and 2) at the end > 111.txt Example: base = "-u run.py -mimc_TOL {TOL} -mimc_max_TOL 0.5 \ -qoi_sigma 0.1 -qoi_mu 1 -qoi_seed {seed} \ -mimc_dim 1 -mimc_w 2 -mimc_s 4 -mimc_gamma 3 -mimc_beta 2 \ -mimc_bayesian {bayesian}"

cmd_multi = "python " + base + "-mimc_verbose False -db True -db_tag {tag} " + " -db_host {} ".format(args.db_host) cmd_single = "python " + base + " -mimc_verbose True -db False > 111.txt"

litvinen commented 8 years ago

But this is only a part of output

TOL 0.4

Doing 10 of level [0]

Doing 10 of level [1]

Where is the rest (usual MLMC output)?