It’s work! But another error was reported. Openmpi 4.1.5 is installed.
Running python -m mfixgui.build_mfixsolver -j --dmp -DMPI_Fortran_COMPILER=mpifort
Building custom solver for silane_pyrolysis_pic_3d.mfx
Running cmake command:
cmake -DMPI_Fortran_COMPILER=mpifort -DENABLE_PYMFIX=ON -DENABLE_MPI=1 -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/root/silane_pyrolysis_pic_3d -DUDF_DIR=/root/silane_pyrolysis_pic_3d -DVERSION=23.2 /root/anaconda3/envs/mfix-23.2/share/mfix/src
-- Setting build type to 'RelWithDebInfo' as none was specified.
-- MFIX build settings summary:
-- Build type = RelWithDebInfo
-- CMake version = 3.26.4
-- Fortran compiler =
-- Fortran flags =
-- ENABLE_MPI = 1
-- ENABLE_OpenMP = OFF
-- ENABLE_CTEST = OFF
-- ENABLE_COVERAGE = OFF
-- The Fortran compiler identification is GNU 13.1.0
-- The C compiler identification is GNU 13.1.0
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Check for working Fortran compiler: /root/anaconda3/envs/mfix-23.2/bin/gfortran - skipped
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /root/anaconda3/envs/mfix-23.2/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Performing Test ffpe_trap
-- Performing Test ffpe_trap - Success
-- Performing Test ffpe_summary
-- Performing Test ffpe_summary - Success
-- Checking for module 'mpi-c'
-- No package 'mpi-c' found
-- Could NOT find MPI_C (missing: MPI_C_LIB_NAMES MPI_C_WORKS)
-- Could NOT find MPI_Fortran (missing: MPI_Fortran_LIB_NAMES MPI_Fortran_WORKS)
CMake Error at /root/anaconda3/envs/mfix-23.2/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find MPI (missing: MPI_C_FOUND MPI_Fortran_FOUND)
Call Stack (most recent call first):
/root/anaconda3/envs/mfix-23.2/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
/root/anaconda3/envs/mfix-23.2/share/cmake-3.26/Modules/FindMPI.cmake:1837 (find_package_handle_standard_args)
model/CMakeLists.txt:661 (find_package)
-- Configuring incomplete, errors occurred!
MFiX: 23.2
Python: 3.10.12 | packaged by conda-forge | (main, Jun 23 2023, 22:40:32) [GCC 12.3.0]
gfortran: GNU Fortran (conda-forge gcc 13.1.0-0) 13.1.0
openmpi: mpirun (Open MPI) 4.1.5
Qt wrapper: PyQt5
Qt: 5.15.8
qtpy: 2.3.1
numpy: 1.23.5
nodeworks: Unavailable
flask: 2.3.2
psutil: 5.9.5
VTK: 9.2.6
OpenGL backend: 2
System info: Linux-3.10.0-1160.el7.x86_64-x86_64-with-glibc2.17
Install location: /root/anaconda3/envs/mfix-23.2/share/mfix
Default solver: /root/anaconda3/envs/mfix-23.2/bin/mfixsolver
Solver source: /root/anaconda3/envs/mfix-23.2/share/mfix/src