Thanks for the output.txt file, it’s more helpful than the screenshots since screenshots only show a small portion of the text.
The key line is here:
/opt/anaconda3/envs/mfix-23.1/share/mfix/src/model/xpow.c:1:0:
error: bad value (haswell) for -march= switch
The compiler version you are using-
-- The Fortran compiler identification is GNU 4.8.5
is almost 10 years old and does not support the -march=haswell flag.
It would be best to upgrade your compiler. More recent versions of GFortran produce code which is optimized for modern CPUs and will run faster.
If it’s not feasable to upgrade the compiler you can try this workaround:
$ conda activate mfix-23.1
$ cd $CONDA_PREFIX/share/mfix/src/model
$ nano CMakeLists.txt # use editor of choice
find this section at line 588:
if (APPLE)
set (MARCH "")
else()
set (MARCH "-march=haswell")
endif()
change this to:
if (APPLE)
set (MARCH "")
else()
set (MARCH "")
endif()