MFiX-21.3.2 build error

Hi,
Over the past year, I have been using the mfix-19.2.2. To update the software, yesterday, I downloaded the latest version mfix-21.3.2 and tested the case with udf. But I found that the tutorial case “silane_pyrolysis_tfm_2d” can not be builded using the GUI build solver. In order to find the reason, I also downloaded the version mfix-21.2 and mfix-21.1.4, and the case can be successfully builded by these two versions. Finally, I uninstall and reinstall the mfix-21.3.2, it still presents the error information. Different build/compile options have the same error. The gfortan version in our workstation is GNU fortran(GCC) 4.8.5.

[0%] Building For tran obj ect model/CMakeFiles/mfixcore. dir/dmp_ modules/ comp
[0%] Building For tran obj ect model/CMakeFiles/mfixcore. dir/funits_ mod.f .0
[0%] Building Fortran object model/CMakeFiles/ mfixcore.dir/param_ mod.f .0
[0%] Building Fortran object model/CMakeFiles/ mfixcore.dir/param1
mod.f .0
gfortran: error: unrecognized command line option -ffpe- summary=none
gmake[2]: **[model/CMakeFiles/mfixcore . dir/ dmp_ modules/compar_ mod.f.o] Errc
gmake[2]: *** Waiting for unfinished jobs…
gfortran: error: unrecognized command line option - ffpe- summary=none
gmake [2]:
[model/CMakeFiles/mfixcore.dir/funits_ mod.f.o] Error 1
gfortran: error: unrecognized command line option -ffpe- summary=none
gmake[2]: *** [ model/CMakeFiles/mfixcore.dir/param
mod.f.o] Error 1
BUILD FAILED
gfortran: error: unrecognized command line option -ffpe- summary=none
gmake[2]: *** [model/CMakeFiles/mfixcore.dir/param1
_mod.f.o] Error 1
gmake[1]: *** [model/CMakeFiles/mfixcore.dir/all] Error 2
gmake: ***[all] Error 2

What is the problem?
Thank you!
Jun

Your fortran compiler is too old and does not support the ffpe flag. Either upgrade your compiler or use the workaround in Compilation failure in serial/smp/dmp with MFIX-21.3

1 Like

Thanks. I have fixed it.