### FDS Installation Options Prompt Source: https://github.com/firemodels/fds/wiki/Installing-and-Running-FDS-under-macOS This prompt appears after running the installer script, offering options to start the installation or extract files. ```text Installing FDS and Smokeview for macOS Options: 1) Press to begin installation [default] 2) Type "extract" to copy the installation files to: FDS6.7.4_SMV6.7.14_osx.tar.gz ``` -------------------------------- ### Execute MKL Installer Source: https://github.com/firemodels/fds/wiki/Linking-to-Intel-Math-Kernel-Libraries-in-Linux-and-macOS Run the MKL installer script from the extracted directory. This command initiates the graphical installation process. ```bash $ ./install_GUI.sh ``` -------------------------------- ### Configure, Build, and Install OpenMPI Source: https://github.com/firemodels/fds/blob/master/Utilities/openmpi/README.md Execute the build script to configure and compile OpenMPI, followed by installation. ```bash ./CONF_MAKE.sh ``` ```bash sudo make install ``` -------------------------------- ### Install Spyder IDE Source: https://github.com/firemodels/fds/wiki/Spyder-IDE-Setup-for-FDS-Python-Utilities Install the Spyder IDE in an activated fds_python_env. This is a one-time setup for users who do not have Spyder installed. ```bash pip install spyder ``` -------------------------------- ### Compile and Install Open MPI Source: https://github.com/firemodels/fds/wiki/Installing-Open-MPI-on-a-Linux-Cluster Compile and install Open MPI after configuration. This step is part of building Open MPI from source. ```bash make sudo make install ``` -------------------------------- ### Check Java Installation Source: https://github.com/firemodels/fds/wiki/The-BFG-Repo-Cleaner Verify that Java is installed and accessible from the command line. This is a prerequisite for using BFG. ```bash java -version ``` -------------------------------- ### Build and Install HDF5 Library Source: https://github.com/firemodels/fds/wiki/Working-with-VTK-Files Builds the HDF5 library using make with parallel jobs and then installs it to the specified prefix directory. ```bash make -j 8 make install ``` -------------------------------- ### Install Git and CMake on Ubuntu Source: https://github.com/firemodels/fds/wiki/Setting-up-Linux-environment Installs git and CMake on Ubuntu systems using apt package manager. Ensure your package list is updated before installation. ```bash sudo apt update -y sudo apt install git -y sudo apt install cmake -y ``` -------------------------------- ### Install Git and CMake with Homebrew Source: https://github.com/firemodels/fds/wiki/Setting-up-macOS-Environment Installs Git and CMake using Homebrew. Ensure CMake version 3.21 or later is used. ```bash $ brew update $ brew install git $ brew install cmake ``` -------------------------------- ### Install Prerequisites for HDF5 Compilation Source: https://github.com/firemodels/fds/wiki/Working-with-VTK-Files Installs essential development libraries required for compiling HDF5 with support for VTKHDF output on Ubuntu Linux. ```bash sudo apt install zlib1g-dev cmake libhwloc-dev ``` -------------------------------- ### Run FDS Installer Script Source: https://github.com/firemodels/fds/wiki/Installing-and-Running-FDS-under-macOS Execute the FDS installer script with administrator privileges. Ensure you use the correct filename for the downloaded bundle. ```bash sudo bash FDS6.7.4_SMV6.7.14_osx.sh ``` -------------------------------- ### Set up Intel oneAPI Environment Source: https://github.com/firemodels/fds/wiki/Setting-up-Linux-environment Source the Intel oneAPI environment script to add compilers and libraries to your PATH. This is typically done after installing the oneAPI Base and HPC toolkits. ```bash # oneAPI setup source /opt/intel/oneapi/setvars.sh >& /dev/null ``` -------------------------------- ### Install Spyder Kernels Source: https://github.com/firemodels/fds/wiki/Spyder-IDE-Setup-for-FDS-Python-Utilities Install the spyder-kernels package in an activated fds_python_env. This is required if Spyder IDE is already installed. ```bash pip install spyder-kernels ``` -------------------------------- ### Get qfds.sh Help Source: https://github.com/firemodels/fds/wiki/Installing-and-Running-FDS-on-a-Linux-Cluster Displays the available options and usage instructions for the qfds.sh utility script. ```bash qfds.sh -H ``` -------------------------------- ### Install environment-modules on Ubuntu Source: https://github.com/firemodels/fds/wiki/Modules Install the environment-modules package on Ubuntu using apt-get. This command installs the package from external repositories. ```bash $ sudo apt-get update $ sudo apt-get upgrade $ sudo apt-get install environment-modules* ``` -------------------------------- ### Configure FDS Startup Files (with Modules) Source: https://github.com/firemodels/fds/wiki/Installing-and-Running-FDS-on-a-Linux-Cluster Add these lines to your .bashrc file if your system uses modules. Ensure the paths reflect your FDS installation directory. ```bash export MODULEPATH=$HOME/FDS/FDS6/bin/modules:$MODULEPATH module load FDS6 module load SMV6 ``` -------------------------------- ### FDS Installation Confirmation Prompt Source: https://github.com/firemodels/fds/wiki/Installing-and-Running-FDS-under-macOS Confirm the installation directory and proceed with the installation. You may be prompted to overwrite an existing directory. ```text Installation directory: /Applications/FDS/FDS6 Proceed? (yes/no) yes Installation beginning The directory, /Applications/FDS/FDS6, already exists. Do you wish to overwrite it? (yes/no) yes The installation directory, /Applications/FDS/FDS6, has been created. Copying FDS installation files to /Applications/FDS/FDS6 Copy complete. Creating directory /Applications/FDS/FDS6/bin/modules The installation directory, /Applications/FDS/FDS6/bin/modules, has been created. ``` -------------------------------- ### Install GCC, GFortran, and OpenMPI on Ubuntu Source: https://github.com/firemodels/fds/wiki/Setting-up-Linux-environment Installs essential build tools (build-essential), the GNU Fortran compiler, and OpenMPI for parallel processing on Ubuntu systems. ```bash sudo apt update -y sudo apt install build-essential -y sudo apt install gfortran -y sudo apt install openmpi-bin openmpi-common libopenmpi-dev -y ``` -------------------------------- ### Compile FDS Verification Guide (Shell) Source: https://github.com/firemodels/fds/wiki/FDS-Verification-Process Compiles the FDS Verification Guide. This process generates plots and images necessary for the guide. ```shell ./make_guide.sh ``` -------------------------------- ### Extract FDS Installation Files Source: https://github.com/firemodels/fds/wiki/Installing-and-Running-FDS-under-macOS Use this command to extract the FDS installation files from the compressed archive. This is part of Option 2 for installation. ```bash extract ``` -------------------------------- ### Initialize Modules for Bash on Ubuntu Source: https://github.com/firemodels/fds/wiki/Modules Add this line to your startup file to define the 'module' procedure and make it available in your session. This ensures modules can be managed. ```bash source /usr/share/modules/init/bash ``` -------------------------------- ### Install Modules Package on macOS with Homebrew Source: https://github.com/firemodels/fds/wiki/Modules Install the environment-modules package on macOS using Homebrew. Update, upgrade, and then install the 'modules' package. ```bash $ brew update $ brew upgrade $ brew install modules ``` -------------------------------- ### Navigate to Build Directory Source: https://github.com/firemodels/fds/wiki/FDS-Daily-Workflow Change directory into the 'Build' folder to access compilation platforms. ```bash $ cd Build $ ls ... ``` -------------------------------- ### Install Git and CMake on CentOS Source: https://github.com/firemodels/fds/wiki/Setting-up-Linux-environment Installs git and CMake on CentOS systems using dnf package manager. Ensure your system is updated before installation. ```bash sudo dnf update -y sudo dnf install git -y sudo dnf install cmake -y ``` -------------------------------- ### Initial Python Environment Setup Script Source: https://github.com/firemodels/fds/wiki/Python-Setting-Up-Your-Environment Execute the setup script to create and configure the FDS Python environment. Use the appropriate script for your operating system. ```bash $ cd /fds/Utilities/Python $ source ./setup_python_env.sh # For Windows: call setup_python_env.bat ``` -------------------------------- ### Install Python with Homebrew (macOS) Source: https://github.com/firemodels/fds/wiki/Python-Setting-Up-Your-Environment Install Python using Homebrew if the current version is insufficient. This includes updating Homebrew, installing Python, and checking its info. ```bash $ brew update $ brew install python $ brew info python ``` -------------------------------- ### Install GNU Compilers and OpenMPI on CentOS Source: https://github.com/firemodels/fds/wiki/Setting-up-Linux-environment Installs the GNU toolset (including compilers) and OpenMPI on CentOS systems. It also enables the installed toolset for the current session. ```bash sudo dnf update -y sudo dnf install gcc-toolset-14 source /opt/rh/gcc-toolset-14/enable sudo dnf install openmpi openmpi-devel -y ```