Install Python and PyQt5. For Windows, the Anaconda Python distribution is convenient. It comes with most required packages and the latest versions have PyQt5 by default. PyQt5 is easily installed with Anaconda, but the packaging seems to vary of other versions of Python and operating conditions, so including it as a requirement in the installer is not very easy.
If possible, it is convenient to set the Anaconda Python application to open
*.py files on Windows. The foqus.py script is installed later in Anaconda's
scripts directory and can be executed by just typing foqus.py
, but it will be
executed by the interpreter that Windows associates with Python files.
If you do not have a git client install one. If you have Anaconda the easiest way is
conda install git
This step can be done automatically once the CCSI repositories are open by including Turbine Client as a requirment.
pip install git+https://github.com/CCSI-toolset/turb_client@master
There are 2 ways to install FOQUS the first is preferred if you are a developer or want to modify FOQUS. The second way is probably easiest for other users.
- Developers
- Clone the FOQUS repository
python setup.py develop
- Other Users
pip install git+https://github.com/CCSI-toolset/foqus@master
Additional components not currently include with FOQUS or the FOQUS bundle are:
- PSUADE for uncertainty quantification and optimization under uncertainty analyses
- DRM-Builder for building dynamic reduced models
- iREVEAL building surrogate models for CFD with kriging
- Data management framework
- Turbine Hydro, used by the Turbine Gateway to move simulation files from the main Turbine database to TurbineLite instances on worker nodes
PSUADE is short for Problem Solving environment for Uncertainty Analysis and Design Exploration. It is a software toolkit containing a rich set of tools for performing uncertainty analysis, global sensitivity analysis, design optimization, model calibration, and more.
PSUADE install instructions are on the psuade github. For Windows users, there is an executable for your convenience.
NLopt is an optional optimization library, which can be used by FOQUS. Unfortunately the Python module is not available to be installed with pip. For installation instructions see https://nlopt.readthedocs.io/en/latest/. The Python module is required.