hello everyone,
I used mfix-23.1.1 in linux, when build the mfixsolver, it comes the error as below:
cmake --build . --target install -j 36
[ 0%] Building Fortran object model/CMakeFiles/mfixcore.dir/funits_mod.f.o
[ 1%] Building Fortran object model/CMakeFiles/mfixcore.dir/param_mod.f.o
[ 4%] Building Fortran object model/CMakeFiles/mfixcore.dir/param1_mod.f.o
[ 4%] Building Fortran object model/CMakeFiles/mfixcore.dir/GhdTheory/bulk_viscosity.f.o
[ 4%] Building Fortran object model/CMakeFiles/mfixcore.dir/visc_s_mod.f.o
[ 4%] Building Fortran object model/CMakeFiles/mfixcore.dir/fldvar_mod.f.o
[ 6%] Building Fortran object model/CMakeFiles/mfixcore.dir/cartesian_grid/progress_bar_mod.f.o
[ 4%] Building Fortran object model/CMakeFiles/mfixcore.dir/GhdTheory/chi_ij_GHD.f.o
[ 6%] Building Fortran object model/CMakeFiles/mfixcore.dir/vshear_mod.f.o
[ 6%] Building Fortran object model/CMakeFiles/mfixcore.dir/des/resize.f.o
[ 4%] Building Fortran object model/CMakeFiles/mfixcore.dir/parallel_mod.f.o
[ 4%] Building Fortran object model/CMakeFiles/mfixcore.dir/GhdTheory/pressure.f.o
[ 4%] Building Fortran object model/CMakeFiles/mfixcore.dir/adjust_leq.f.o
[ 4%] Building Fortran object model/CMakeFiles/mfixcore.dir/trace_mod.f.o
[ 6%] Building Fortran object model/CMakeFiles/mfixcore.dir/make_upper_case.f.o
[ 6%] Building Fortran object model/CMakeFiles/mfixcore.dir/visc_g_mod.f.o
[ 7%] Building Fortran object model/CMakeFiles/mfixcore.dir/cdist_mod.f.o
[ 7%] Building Fortran object model/CMakeFiles/mfixcore.dir/scales_mod.f.o
[ 7%] Building Fortran object model/CMakeFiles/mfixcore.dir/cartesian_grid/quadric_mod.f.o
[ 5%] Building Fortran object model/CMakeFiles/mfixcore.dir/dmp_modules/compar_mod.f.o
[ 7%] Building Fortran object model/CMakeFiles/mfixcore.dir/mflux_mod.f.o
[ 6%] Building Fortran object model/CMakeFiles/mfixcore.dir/des/particle_filter_mod.f.o
[ 7%] Building Fortran object model/CMakeFiles/mfixcore.dir/tau_g_mod.f.o
[ 7%] Building Fortran object model/CMakeFiles/mfixcore.dir/qmomk/qmomk_tools_mod.f.o
[ 6%] Building Fortran object model/CMakeFiles/mfixcore.dir/des/sq_rotation.f.o
[ 7%] Building Fortran object model/CMakeFiles/mfixcore.dir/cartesian_grid/polygon_mod.f.o
[ 7%] Building Fortran object model/CMakeFiles/mfixcore.dir/tau_s_mod.f.o
[ 7%] Building Fortran object model/CMakeFiles/mfixcore.dir/qmomk/qmomk_parameters_mod.f.o
[ 7%] Building Fortran object model/CMakeFiles/mfixcore.dir/cartesian_grid/dashboard_mod.f.o
[ 7%] Building Fortran object model/CMakeFiles/mfixcore.dir/turb_mod.f.o
[ 7%] Building Fortran object model/CMakeFiles/mfixcore.dir/des/sq_obb.f.o
[ 7%] Building Fortran object model/CMakeFiles/mfixcore.dir/get_walls_bc.f.o
[ 7%] Building Fortran object model/CMakeFiles/mfixcore.dir/remove_comment.f.o
[ 7%] Building Fortran object model/CMakeFiles/mfixcore.dir/des/sq_gmres.f.o
[ 7%] Building Fortran object model/CMakeFiles/mfixcore.dir/dqmom/gaussj.f.o
[ 7%] Building Fortran object model/CMakeFiles/mfixcore.dir/get_flow_bc.f.o
[ 7%] Building Fortran object model/CMakeFiles/mfixcore.dir/usr_mod.f.o
[ 8%] Building Fortran object model/CMakeFiles/mfixcore.dir/dgtsl.f.o
[ 8%] Building Fortran object model/CMakeFiles/mfixcore.dir/rrates.f.o
[ 8%] Building Fortran object model/CMakeFiles/mfixcore.dir/thermochemical/get_values.f.o
[ 8%] Building Fortran object model/CMakeFiles/mfixcore.dir/usr_read_namelist.f.o
[ 8%] Building Fortran object model/CMakeFiles/mfixcore.dir/usr_write_out0.f.o
[ 8%] Building Fortran object model/CMakeFiles/mfixcore.dir/usr_write_out1.f.o
[ 9%] Building Fortran object model/CMakeFiles/mfixcore.dir/write_usr1.f.o
[ 9%] Building Fortran object model/CMakeFiles/mfixcore.dir/write_usr0.f.o
[ 9%] Building C object model/CMakeFiles/mfixcore.dir/xpow.c.o
[ 9%] Building Fortran object model/CMakeFiles/mfixcore.dir/ODEPACK.F.o
/opt/software/anaconda3/envs/mfix-23.1.1/share/mfix/src/model/xpow.c:1:0: error: bad value (haswell) for -march= switch
/* xpow.c - replacement pow() function that detects integer and dyadic exponents
^
gmake[2]: *** [model/CMakeFiles/mfixcore.dir/xpow.c.o] Error 1
gmake[2]: *** Waiting for unfinished jobs…
gmake[1]: *** [model/CMakeFiles/mfixcore.dir/all] Error 2
gmake: *** [all] Error 2
BUILD FAILED
==========================================================================
why is it? and i use the mfix-22.2.2 it works well.