Skip to content

Setting up Linux environment

Chandan Paul edited this page Dec 11, 2024 · 12 revisions

Table oc Contents:

  1. Setting up environment using Intel oneAPI toolkit
  2. Setting up environment using GNU compiler

1. Setting up environment using Intel oneAPI toolkit

To build FDS with the Intel oneAPI compilers, download and install the Base and HPC toolkits at the links below. Install the base toolkit first, then the HPC toolkit.

Add intel compiler to your environment by adding the following lines to your .bashrc file (replace the path with your intel installation path):

# oneAPI setup
source /opt/intel/oneapi/setvars.sh >& /dev/null

2. Setting up environment using GNU compiler

2.1 Set up environment Ubuntu (Debian distros)

sudo apt update
sudo apt install build-essential
sudo apt install gfortran
sudo apt install openmpi-bin openmpi-common libopenmpi-dev

2.2 Set up environment CentOS (RedHat-based distros)

2.3 Other distros

Clone this wiki locally