@@ -13,19 +13,21 @@ tests:
1313- :ref: `regression_test_windows `
1414
1515Each locally computed result is compared to a static set of baseline
16- results. To account for system, hardware, and compiler
17- differences, the regression test attempts to match the current machine and
18- compiler type to the appropriate solution set from these combinations:
16+ results. The results are computed using the following OS, compiler, and hardware
17+ combination:
1918
2019================== ============== ============================
2120 Operating System Compiler Hardware
2221================== ============== ============================
23- macOS 10.15 GNU 10.2 2020 MacbookPro
24- Ubuntu 20.04 Intel oneAPI Docker
25- Ubuntu 20.04 GNU 10.2 Docker
26- Windows 10 Intel oneAPI Dell Precision 3530
22+ Ubuntu 22.04 GNU 12.3.0 GitHub actions
2723================== ============== ============================
2824
25+ Note that if you run the regression tests locally, there may small numerical
26+ differences due to your compiler and hardware combination that may cause a few
27+ tests to fail. If you use the ``bokeh `` package while running the tests, you
28+ will see a resulting *html * file with plots showing the differences for any
29+ tests that fail (these differences should be small).
30+
2931The compiler versions, specific math libraries, and more info on hardware used
3032to generate the baseline solutions are documented in the
3133`r-test repository documentation <https://github.com/openFAST/r-test >`__. Currently,
@@ -62,17 +64,56 @@ reported as failed. The failure criteria is outlined below.
6264 else :
6365 pass = False
6466
67+
68+ Testing Environment
69+ -------------------
70+ We recommend using ``conda `` to create a local environment to install the
71+ required packages for *OpenFAST * testing. You can use the following process as a
72+ rough guide for setting up the necessary environment on Linux/MacOS based
73+ systems.
74+
75+ 1. create a new ``conda `` environment for *OpenFAST * testing and install python:
76+
77+ - ``conda install python ``
78+
79+ 2. from the ``<openfast>/build `` directory, setup the environment with the
80+ following commands:
81+
82+ - ``pip install ../requirements.txt ``
83+
84+ Installs basic dependencies for testing.
85+
86+ - ``pip install -e ../glue-codes/python/. ``
87+
88+ Installs the ``pyOpenFAST `` package from *OpenFAST * repository
89+
90+ - ``pip install -e ../openfast_io/. ``
91+ Installs the ``openfast_io `` package from *OpenFAST * repository
92+
93+
6594Dependencies
6695------------
6796The following packages are required for regression testing (see also the
6897``requirements.txt `` file in the root directory for the python modules):
6998
70- - CMake and CTest (Optional)
71- - Python >=3.7,<=3.11
99+ - CMake and CTest
100+ - Python >=3.7
72101- numpy
73102- vtk
74103- bokeh>=2.4,!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3 (Optional)
75104
105+ In addition to the above packages, two packages from the *OpenFAST * repository
106+ are required. We recommend installing these in a ``conda `` enviroment as
107+ described in the above section so that it will not interfere with your system
108+ Python installation. Using the ``pip install -e `` command will install using
109+ the local directory instead placing them within the system Python directories.
110+
111+ - ``pyOpenFAST `` is a package for interfacing Python to the c-bindings libraries
112+ of *OpenFAST * modules. This is used in some testing at the module level.
113+ - ``openfast_io `` is a package for reading and writing *OpenFAST * input files.
114+ This is used in some of the testing.
115+
116+
76117.. _python_driver :
77118
78119Executing with Python driver
0 commit comments