Errors when building a DMP solver in MFIX-22.4 on CentOS 7.2

Hello everyone,

I installed the latest Linux version MFIX-22.4 on Centos 7.2, and found errors when building a custom DMP solver for a tutorial case (silane_pyrolysis_pic_3d), please see attached. Similar errors occurred when building a custom DMP solver for other cases.

But these errors did not occur and a DMP solver can be built successfully when a previous version MFIX-21.1.4 was used.

Who can help me to solve this problem? Thanks very much.

Errors.txt (48.0 KB)

Hi. You are using an old compiler which does not know about the -march=haswell optimization. You can either:

  1. Update your gcc/gfortran

  2. Edit the file


Change line 591 from

591:  set (MARCH "-march=haswell")


591:  set(MARCH "")

Sorry for the trouble.

– Charles

1 Like

Thanks a lot @cgw , it works! :grin: