Hi,
I use mfix-21.3.2 and I want to run the case silane_pyrolysis_2d in the tutorial. However, when I built the solver by button in GUI, it reported error:
Running build_mfixsolver -j -DCMAKE_Fortran_COMPILER=gfortran
Building custom solver for silane_pyrolysis_tfm_2d.mfx
Running cmake command:
cmake -DCMAKE_Fortran_COMPILER=gfortran -DENABLE_PYMFIX=ON -DPython3_EXECUTABLE=D:\Conda\envs\mfix-21.3.2\python.exe -DPython3_ROOT_DIR=D:\Conda\envs\mfix-21.3.2 -G MinGW Makefiles -DCMAKE_INSTALL_PREFIX=E:\MFix\Test2_silane_pyrolysis_2d\silane_pyrolysis_tfm_2d -DUDF_DIR=E:\MFix\Test2_silane_pyrolysis_2d\silane_pyrolysis_tfm_2d -DVERSION=21.3.2 D:\Conda\envs\mfix-21.3.2\share\mfix\src
– Setting build type to ‘RelWithDebInfo’ as none was specified.
– MFIX build settings summary:
– Build type = RelWithDebInfo
– CMake version = 3.21.3
– Fortran compiler = gfortran
– Fortran flags =
– ENABLE_MPI = OFF
– ENABLE_OpenMP = OFF
– ENABLE_CTEST = OFF
– ENABLE_COVERAGE = OFF
– The C compiler identification is GNU 5.3.0
– The Fortran compiler identification is GNU 5.3.0
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Check for working C compiler: D:/Conda/envs/mfix-21.3.2/Library/mingw-w64/bin/gcc.exe - skipped
– Detecting C compile features
– Detecting C compile features - done
– Detecting Fortran compiler ABI info
– Detecting Fortran compiler ABI info - done
– Check for working Fortran compiler: D:/Conda/envs/mfix-21.3.2/Library/mingw-w64/bin/gfortran.exe - skipped
– Checking whether D:/Conda/envs/mfix-21.3.2/Library/mingw-w64/bin/gfortran.exe supports Fortran 90
– Checking whether D:/Conda/envs/mfix-21.3.2/Library/mingw-w64/bin/gfortran.exe supports Fortran 90 - yes
– Found Git: D:/Conda/envs/mfix-21.3.2/Library/bin/git.exe (found version “2.34.1.windows.1”)
– Found PythonInterp: D:/Conda/envs/mfix-21.3.2/python.exe (found version “3.8.12”)
Found UDFs:
E:/MFix/Test2_silane_pyrolysis_2d/silane_pyrolysis_tfm_2d/usr0.f;E:/MFix/Test2_silane_pyrolysis_2d/silane_pyrolysis_tfm_2d/usr1.f;E:/MFix/Test2_silane_pyrolysis_2d/silane_pyrolysis_tfm_2d/usr_init_namelist.f;E:/MFix/Test2_silane_pyrolysis_2d/silane_pyrolysis_tfm_2d/usr_mod.f;E:/MFix/Test2_silane_pyrolysis_2d/silane_pyrolysis_tfm_2d/usr_rates.f;D:/Conda/envs/mfix-21.3.2/share/mfix/src/model/usr_read_namelist.f;E:/MFix/Test2_silane_pyrolysis_2d/silane_pyrolysis_tfm_2d/species.inc
– Found Python3: D:\Conda\envs\mfix-21.3.2\python.exe (found version “3.8.12”) found components: Interpreter NumPy Development.Module
– Configuring done
– Generating done
– Build files have been written to: E:/MFix/Test2_silane_pyrolysis_2d/silane_pyrolysis_tfm_2d/build
Build command:
cmake --build . --target install -j 4
Scanning dependencies of target mfixcore
[ 0%] Building Fortran object model/CMakeFiles/mfixcore.dir/dmp_modules/compar_mod.f.obj
[ 0%] Building Fortran object model/CMakeFiles/mfixcore.dir/funits_mod.f.obj
[ 0%] Building Fortran object model/CMakeFiles/mfixcore.dir/param_mod.f.obj
[ 0%] Building Fortran object model/CMakeFiles/mfixcore.dir/param1_mod.f.obj
[ 0%] Building Fortran object model/CMakeFiles/mfixcore.dir/cdist_mod.f.obj
[ 0%] Building Fortran object model/CMakeFiles/mfixcore.dir/fldvar_mod.f.obj
[ 1%] Building Fortran object model/CMakeFiles/mfixcore.dir/visc_s_mod.f.obj
[ 1%] Building Fortran object model/CMakeFiles/mfixcore.dir/GhdTheory/bulk_viscosity.f.obj
[ 2%] Building Fortran object model/CMakeFiles/mfixcore.dir/parallel_mod.f.obj
[ 2%] Building Fortran object model/CMakeFiles/mfixcore.dir/scales_mod.f.obj
[ 3%] Building Fortran object model/CMakeFiles/mfixcore.dir/mflux_mod.f.obj
[ 3%] Building Fortran object model/CMakeFiles/mfixcore.dir/GhdTheory/chi_ij_GHD.f.obj
[ 3%] Building Fortran object model/CMakeFiles/mfixcore.dir/GhdTheory/pressure.f.obj
[ 3%] Building Fortran object model/CMakeFiles/mfixcore.dir/trace_mod.f.obj
[ 4%] Building Fortran object model/CMakeFiles/mfixcore.dir/adjust_leq.f.obj
[ 4%] Building Fortran object model/CMakeFiles/mfixcore.dir/vshear_mod.f.obj
[ 4%] Building Fortran object model/CMakeFiles/mfixcore.dir/cartesian_grid/progress_bar_mod.f.obj
[ 4%] Building Fortran object model/CMakeFiles/mfixcore.dir/make_upper_case.f.obj
[ 4%] Building Fortran object model/CMakeFiles/mfixcore.dir/remove_comment.f.obj
[ 4%] Building Fortran object model/CMakeFiles/mfixcore.dir/turb_mod.f.obj
[ 4%] Building Fortran object model/CMakeFiles/mfixcore.dir/visc_g_mod.f.obj
[ 4%] Building Fortran object model/CMakeFiles/mfixcore.dir/des/particle_filter_mod.f.obj
[ 4%] Building Fortran object model/CMakeFiles/mfixcore.dir/des/resize.f.obj
[ 4%] Building Fortran object model/CMakeFiles/mfixcore.dir/usr_mod.f.obj
[ 4%] Building Fortran object model/CMakeFiles/mfixcore.dir/cartesian_grid/quadric_mod.f.obj
[ 5%] Building Fortran object model/CMakeFiles/mfixcore.dir/cartesian_grid/polygon_mod.f.obj
[ 5%] Building Fortran object model/CMakeFiles/mfixcore.dir/qmomk/qmomk_parameters_mod.f.obj
[ 5%] Building Fortran object model/CMakeFiles/mfixcore.dir/tau_g_mod.f.obj
[ 5%] Building Fortran object model/CMakeFiles/mfixcore.dir/tau_s_mod.f.obj
[ 5%] Building Fortran object model/CMakeFiles/mfixcore.dir/cartesian_grid/dashboard_mod.f.obj
[ 5%] Building Fortran object model/CMakeFiles/mfixcore.dir/dqmom/gaussj.f.obj
[ 5%] Building Fortran object model/CMakeFiles/mfixcore.dir/get_flow_bc.f.obj
[ 5%] Building Fortran object model/CMakeFiles/mfixcore.dir/get_walls_bc.f.obj
[ 5%] Building Fortran object model/CMakeFiles/mfixcore.dir/qmomk/qmomk_tools_mod.f.obj
[ 5%] Building Fortran object model/CMakeFiles/mfixcore.dir/BLAS.f.obj
[ 6%] Building Fortran object model/CMakeFiles/mfixcore.dir/dgtsl.f.obj
[ 6%] Building Fortran object model/CMakeFiles/mfixcore.dir/rrates.f.obj
[ 6%] Building Fortran object model/CMakeFiles/mfixcore.dir/thermochemical/get_values.f.obj
[ 6%] Building Fortran object model/CMakeFiles/mfixcore.dir/usr_read_namelist.f.obj
[ 6%] Building Fortran object model/CMakeFiles/mfixcore.dir/usr_write_out0.f.obj
[ 6%] Building Fortran object model/CMakeFiles/mfixcore.dir/usr_write_out1.f.obj
[ 6%] Building Fortran object model/CMakeFiles/mfixcore.dir/write_usr0.f.obj
[ 6%] Building Fortran object model/CMakeFiles/mfixcore.dir/write_usr1.f.obj
[ 6%] Building Fortran object model/CMakeFiles/mfixcore.dir/ODEPACK.F.obj
[ 6%] Building Fortran object model/CMakeFiles/mfixcore.dir/drag_mod.f.obj
[ 6%] Building Fortran object model/CMakeFiles/mfixcore.dir/is_mod.f.obj
f951.exe: Fatal Error: Reading module ‘param’ at line 15 column 8: Unexpected EOF
compilation terminated.
model\CMakeFiles\mfixcore.dir\build.make:4232: recipe for target ‘model/CMakeFiles/mfixcore.dir/drag_mod.f.obj’ failed
mingw32-make.exe[2]: *** [model/CMakeFiles/mfixcore.dir/drag_mod.f.obj] Error 1
mingw32-make.exe[2]: *** Waiting for unfinished jobs…
[ 7%] Building Fortran object model/CMakeFiles/mfixcore.dir/residual_mod.f.obj
f951.exe: Fatal Error: Reading module ‘param’ at line 15 column 8: Unexpected EOF
compilation terminated.
model\CMakeFiles\mfixcore.dir\build.make:4708: recipe for target ‘model/CMakeFiles/mfixcore.dir/is_mod.f.obj’ failed
mingw32-make.exe[2]: *** [model/CMakeFiles/mfixcore.dir/is_mod.f.obj] Error 1
f951.exe: Fatal Error: Reading module ‘param’ at line 15 column 8: Unexpected EOF
compilation terminated.
model\CMakeFiles\mfixcore.dir\build.make:5926: recipe for target ‘model/CMakeFiles/mfixcore.dir/residual_mod.f.obj’ failed
mingw32-make.exe[2]: *** [model/CMakeFiles/mfixcore.dir/residual_mod.f.obj] Error 1
CMakeFiles\Makefile2:181: recipe for target ‘model/CMakeFiles/mfixcore.dir/all’ failed
mingw32-make.exe[1]: *** [model/CMakeFiles/mfixcore.dir/all] Error 2
mingw32-make.exe: *** [all] Error 2
Makefile:134: recipe for target ‘all’ failed
BUILD FAILED
==========================================================================
when I built the solver in command line, it reported the same error.
I checked some information, but I still can’t solve this problem, so I came to forum for help.
Thank you very much for your help!
Pan