Hi Jan,
it seems so, yes. But instead of removing it, it might be worth changing/fixing it so that it is obeyed and sets the output directory for all the results files.
Also, currently the output location of output directory for the homogenization examples cannot be fully configured externally, so when run as tests, the examples store some of the results outside output-tests/. This would be a thing worth fixing as well.
What do you think - will you give it a shot? :)
r.
On 09/01/2016 02:50 PM, Jan Heczko wrote:
Hi,
it seems to me that the command-line parameter -o has no influence on the outcome of the script. E.g. $ ./homogen.py examples/homogenization/linear_homogenization.py $ ls output/ coefs_le.h5 coefs_le.txt corrs_le.h5 corrs_le.vtk linear_homogenization. py and calling the same with the -o option creates the same five files in the same location: $ ./homogen.py -o homog examples/homogenization/linear_homogenization.py $ ls output/ coefs_le.h5 coefs_le.txt corrs_le.h5 corrs_le.vtk linear_homogenization. py
The value of the parameter is passed to HomogenizationApp in the same way as e.g. in simple.py (in which case it works as expected), but seems to be ignored afterwards.
In my opinion, the option can be removed.
Jan