idaholab / raven

RAVEN is a flexible and multi-purpose probabilistic risk analysis, validation and uncertainty quantification, parameter optimization, model reduction and data knowledge-discovering framework.
https://raven.inl.gov/
Apache License 2.0
216 stars 132 forks source link

Update FARM Submodule for EOY 2023 #2240

Closed wanghy-anl closed 6 months ago

wanghy-anl commented 7 months ago

Pull Request Description

What issue does this change request address? (Use "#" before the issue to link it, i.e., #42.)

Continues #1114

What are the significant changes in functionality due to this change request?

Update FARM Submodule for EOY 2023


For Change Control Board: Change Request Review

The following review must be completed by an authorized member of the Change Control Board.

wanghy-anl commented 7 months ago

@dylanjm @wangcj05 Happy new year Gents. I would like to update the FARM submodule to reflect the changes we made at the end of 2023. This version of FARM works with the recently updated HERON (via #2235). Could you activate the automatic checks for this PR? Thanks, Haoyu

moosebuild commented 7 months ago

Job Test qsubs sawtooth on bb0cc26 : invalidated by @joshua-cogliati-inl

Failed with: DirectoryNotACondaEnvironmentError: The target directory exists, but it is not a conda environment.

wangcj05 commented 7 months ago

@wanghy-anl Some tests in FARM and HERON are failed on Windows machine.

wanghy-anl commented 7 months ago

@wanghy-anl Some tests in FARM and HERON are failed on Windows machine.

Congjian, could you share the Windows test error message? Everything works on my Windows 10 machine... BTW, I saw some tests failed on mac. Could you also share the associated error message? Thanks.

wangcj05 commented 6 months ago

@wanghy-anl Sorry for the late response, I was on travel. Please check the attache file for the plugin tests on Windows machine.
07_Test_Plugins.txt

wangcj05 commented 6 months ago

@wanghy-anl For Mac machine test, the failures are not related to FARM.

wanghy-anl commented 6 months ago

@wanghy-anl Sorry for the late response, I was on travel. Please check the attache file for the plugin tests on Windows machine. 07_Test_Plugins.txt

Congjian, Looking at its wall time, it seems to be an time out error. To further investigate, could you share the following file? \raven\plugins\FARM\tests\heron_validator\FARM_MIMO_selfLearning_fmuUpdate\Sweep_Runs_o\sweep\1\out~inner Thanks, Haoyu

wangcj05 commented 6 months ago

@wanghy-anl Sorry for the late response, I was on travel. Please check the attache file for the plugin tests on Windows machine. 07_Test_Plugins.txt

Congjian, Looking at its wall time, it seems to be an time out error. To further investigate, could you share the following file? \raven\plugins\FARM\tests\heron_validator\FARM_MIMO_selfLearning_fmuUpdate\Sweep_Runs_o\sweep\1\out~inner Thanks, Haoyu

In this case, you may need to change the "max_time=1200" in your "tests" file, or you need to find a way to accelerate the test.

wangcj05 commented 6 months ago

In addition, there are also two failed HERON tests, are these related to your changes?

wanghy-anl commented 6 months ago

@wanghy-anl Sorry for the late response, I was on travel. Please check the attache file for the plugin tests on Windows machine. 07_Test_Plugins.txt

Congjian, Looking at its wall time, it seems to be an time out error. To further investigate, could you share the following file? \raven\plugins\FARM\tests\heron_validator\FARM_MIMO_selfLearning_fmuUpdate\Sweep_Runs_o\sweep\1\out~inner Thanks, Haoyu

In this case, you may need to change the "max_time=1200" in your "tests" file, or you need to find a way to accelerate the test.

I can change the max_time entry, but I am wondering why these tests took almost twice time to finish on the "Mingw" test machine. -- For instance, the HERONvalidator_FARM_MIMO_selfLearning_noUpdate_WindowsOnly took 468.82 secs on a single 2.7GHz core on my machine, but it took 881.16 secs on the "Mingw" test machine.

I saw a line /opt/build_root/raven/: ./run_tests -j 4 -l 4 --plugins in the text file you sent. What does the argument "-l 4" stands for? I have never used this argument before.

wanghy-anl commented 6 months ago

In addition, there are also two failed HERON tests, are these related to your changes?

I don't think so. All the HERON tests can pass on my windows machine. I am using the current submodule version of HERON, commit bec6cb76 on Dec 18.

wanghy-anl commented 6 months ago

@wangcj05 Congjian, Let me know if this new commit passed all the tests. Thanks. Haoyu

wanghy-anl commented 6 months ago

@joshua-cogliati-inl Thank you Joshua for merging. Best, Haoyu