Cann't build solver in Linux

Please select the most relevant MFiX category: | Installation | How to | Bug report | Share | for this topic.
Hi developer, I recently got the following error when building a dmp solver with mfix, but it didn’t occur before, why is this?

Traceback (most recent call last):
  File "/home/mfix/anaconda3/envs/mfix-21.4/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/mfix/anaconda3/envs/mfix-21.4/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/mfix/anaconda3/envs/mfix-21.4/lib/python3.8/site-packages/numpy/f2py/__main__.py", line 5, in <module>
    main()
  File "/home/mfix/anaconda3/envs/mfix-21.4/lib/python3.8/site-packages/numpy/f2py/f2py2e.py", line 704, in main
    run_main(sys.argv[1:])
  File "/home/mfix/anaconda3/envs/mfix-21.4/lib/python3.8/site-packages/numpy/f2py/f2py2e.py", line 441, in run_main
    postlist = callcrackfortran(files, options)
  File "/home/mfix/anaconda3/envs/mfix-21.4/lib/python3.8/site-packages/numpy/f2py/f2py2e.py", line 342, in callcrackfortran
    postlist = crackfortran.crackfortran(files)
  File "/home/mfix/anaconda3/envs/mfix-21.4/lib/python3.8/site-packages/numpy/f2py/crackfortran.py", line 3310, in crackfortran
    postlist = traverse(postlist, hook)
  File "/home/mfix/anaconda3/envs/mfix-21.4/lib/python3.8/site-packages/numpy/f2py/crackfortran.py", line 3382, in traverse
    new_index, new_item = traverse((index, value), visit,
  File "/home/mfix/anaconda3/envs/mfix-21.4/lib/python3.8/site-packages/numpy/f2py/crackfortran.py", line 3390, in traverse
    new_key, new_value = traverse((key, value), visit,
  File "/home/mfix/anaconda3/envs/mfix-21.4/lib/python3.8/site-packages/numpy/f2py/crackfortran.py", line 3382, in traverse
    new_index, new_item = traverse((index, value), visit,
  File "/home/mfix/anaconda3/envs/mfix-21.4/lib/python3.8/site-packages/numpy/f2py/crackfortran.py", line 3390, in traverse
    new_key, new_value = traverse((key, value), visit,
  File "/home/mfix/anaconda3/envs/mfix-21.4/lib/python3.8/site-packages/numpy/f2py/crackfortran.py", line 3382, in traverse
    new_index, new_item = traverse((index, value), visit,
  File "/home/mfix/anaconda3/envs/mfix-21.4/lib/python3.8/site-packages/numpy/f2py/crackfortran.py", line 3390, in traverse
    new_key, new_value = traverse((key, value), visit,
  File "/home/mfix/anaconda3/envs/mfix-21.4/lib/python3.8/site-packages/numpy/f2py/crackfortran.py", line 3382, in traverse
    new_index, new_item = traverse((index, value), visit,
  File "/home/mfix/anaconda3/envs/mfix-21.4/lib/python3.8/site-packages/numpy/f2py/crackfortran.py", line 3390, in traverse
    new_key, new_value = traverse((key, value), visit,
  File "/home/mfix/anaconda3/envs/mfix-21.4/lib/python3.8/site-packages/numpy/f2py/crackfortran.py", line 3390, in traverse
    new_key, new_value = traverse((key, value), visit,
  File "/home/mfix/anaconda3/envs/mfix-21.4/lib/python3.8/site-packages/numpy/f2py/crackfortran.py", line 3390, in traverse
    new_key, new_value = traverse((key, value), visit,
  File "/home/mfix/anaconda3/envs/mfix-21.4/lib/python3.8/site-packages/numpy/f2py/crackfortran.py", line 3369, in traverse
    new_result = visit(obj, parents, result, *args, **kwargs)
  File "/home/mfix/anaconda3/envs/mfix-21.4/lib/python3.8/site-packages/numpy/f2py/crackfortran.py", line 3428, in character_backward_compatibility_hook
    assert parents[-3][0] == 'vars'
AssertionError
make[2]: *** [CMakeFiles/mfixsolver_ext.dir/build.make:74: f2pywrappers/mfixsolvermodule.c] Error 1
==========================================================================
                     BUILD FAILED
==========================================================================
make[1]: *** [CMakeFiles/Makefile2:156: CMakeFiles/mfixsolver_ext.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

This is an unusual error which I haven’t seen before. Can you upload your project? Go to the main menu, select “Submit bug report” and upload the resulting ZIP file.

Also note that the solver build mechanism has been simplified since mfix-21.4, you may have better luck if you upgrade to the most recent (22.4.3) version of MFiX.

Thank you very much! Charles,I modified the mfix version,build successfully.