Unable to Build Solver in Linux version

Hi @frankgao welcome to the MFiX forum!

A few answers for you:

  1. module load mpi is specific to the Joule supercomputer cluster at NETL. This does not apply to you.

  2. You will need to install GNU make. There are two approaches here:

    a) Install it in your OS (using apt, yum, or similar - I think CentOS uses dnf) - this requires administrator privileges

    b) Use conda to install CMake in the MFiX environment:

 $ conda activate mfix-23.2
 (mfix-23.2)$ conda install -c conda-forge make

(replace conda command with mamba if using mamba)

  1. “Qt: Session management error” usually happens when running the software remotely, you may need to use VirtualGL (vglrun). If that is not the case, then do a Google search for "“Qt: Session management error: None of the authentication protocols specified are supported” - this is not an MFiX-specific problem (it’s an issue with the Qt library, used by MFiX). Some postings suggest
    unset SESSION_MANAGER
    as a fix for this.

  2. As in item 2 - there is additional software you need to install. You can install it in the OS or in the Conda environment. For the next release, I think we will include CMake and GFortran in the Conda package so they will be guaranteed to be present (also, Conda-forge has a nice, recent version of GFortran 12, more up to date that most distro packages). So you can either use dnf to get the CentOS packages, or use conda install -c conda-forge to get the packages from conda-forge. Note that CentOS packages will install into /usr/bin while the Conda packages install into the MFiX Conda environment.

With dnf:

$ sudo dnf install cmake make gfortran openmpi

With conda/mamba

$ conda activate mfix-23.2
(mfix-23.2) conda install -c conda-forge cmake make gfortran openmpi

I recommend the conda method because it will get you more up-to-date packages (CentOS 8 is a bit behind the curve), but it’s really up to you.

Good luck!