rtcontrib stdout

Dear all,

at least on my computer (and another one), rtcontrib does give different
outputs depending on if it is written in a file with the -o option
or given as standard output. Here are the commands:

vwrays -ff -vta -vp 0 0 2 -vd 0 0 1 -vu 0 1 0 -vh 180 -vv 180 -x 128 -y
128 | rtcontrib -n 1 -ab 2 -ad 1024 -lw 0.0003 -h -ffa $(vwrays -d -vta
-vp 0 0 2 -vd 0 0 1 -vu 0 1 0 -vh 180 -vv 180 -x 128 -y 128) -e MF:1 -f
reinhart.cal -b rbin -o test_file -fo -m sky_glow -w ground.oct

vwrays -ff -vta -vp 0 0 2 -vd 0 0 1 -vu 0 1 0 -vh 180 -vv 180 -x 128 -y
128 | rtcontrib -n 1 -ab 2 -ad 1024 -lw 0.0003 -h -ffa $(vwrays -d -vta
-vp 0 0 2 -vd 0 0 1 -vu 0 1 0 -vh 180 -vv 180 -x 128 -y 128) -e MF:1 -f
reinhart.cal -b rbin -fo -m sky_glow -w ground.oct > test_file

The test_file is different for the two cases! (It shows different
results.) If written in a file, the output is always identical, also with
the %s and %d options.
Can somebody help me with that, please? I couldn't find anything that
explains this behavior.

Thank you very much
Wendelin

···

___________________________________
Mag.rer.nat. Wendelin Sprenger
Division Thermal Systems and Buildings
Fraunhofer Institute for Solar Energy Systems ISE
Heidenhofstr. 2, 79110 Freiburg, Germany
Phone: +49 (0) 7 61/ 45 88-57 45
[email protected]

Hi Wendelin,

What puzzles me is not that you get different results between your two runs, but that rtcontrib produces the _same_ result under some circumstances. There should be at least some small variations due to random sampling in every case, unless you specify the -u- option.

Do you mean that your runs are "mostly similar" with the exception of noise, or "identical" as you say?

-Greg

···

From: [email protected]
Date: February 17, 2012 6:42:38 AM PST

Dear all,

at least on my computer (and another one), rtcontrib does give different outputs depending on if it is written in a file with the -o option
or given as standard output. Here are the commands:

vwrays -ff -vta -vp 0 0 2 -vd 0 0 1 -vu 0 1 0 -vh 180 -vv 180 -x 128 -y 128 | rtcontrib -n 1 -ab 2 -ad 1024 -lw 0.0003 -h -ffa $(vwrays -d -vta -vp 0 0 2 -vd 0 0 1 -vu 0 1 0 -vh 180 -vv 180 -x 128 -y 128) -e MF:1 -f reinhart.cal -b rbin -o test_file -fo -m sky_glow -w ground.oct

vwrays -ff -vta -vp 0 0 2 -vd 0 0 1 -vu 0 1 0 -vh 180 -vv 180 -x 128 -y 128 | rtcontrib -n 1 -ab 2 -ad 1024 -lw 0.0003 -h -ffa $(vwrays -d -vta -vp 0 0 2 -vd 0 0 1 -vu 0 1 0 -vh 180 -vv 180 -x 128 -y 128) -e MF:1 -f reinhart.cal -b rbin -fo -m sky_glow -w ground.oct > test_file

The test_file is different for the two cases! (It shows different results.) If written in a file, the output is always identical, also with the %s and %d options.
Can somebody help me with that, please? I couldn't find anything that explains this behavior.

Thank you very much
Wendelin