The command window reported “Error: solver crash! & Error STOP” when I tried to run the tutorial case “FB_SQP” with a built DMP solver in MFIX-23.1. I cannot find a solution.
Thank you for your response! @cgw I followed your instructions and was able to upgrade gfortran and OpenMPI easily. However, a similar error as previous still occurred, it seemed that the old-version Openmpi was not be replaced by the updated version according to the files of bug report (attached below). I am not a expert on this issue at all, would you please give me some additional advice? fb_sqp_2023-04-25T221245.083289.zip (28.1 KB)
It’s running the same mpirun --version command that you typed in, but getting a different result. I do not understand this. Are you sure this is running in the same environment?
But don’t do the module load mpi, that’s overriding the MPI we installed with some version on your cluster. Or else get the cluster admins to update the MPI module to something more current!
Thanks for your time, @cgw. I follow your instructions and the attached files contain all the build output information (without and with the command “module load mpi” ). With_module-load-mpi.txt (548.6 KB) Without_module-load-mpi.txt (2.2 KB)
With the command “module load mpi” , the DMP solver can be built without any mistakes occurring. But when I try to run the simulation with the built solver, the mfix-gui reports like:
AND I didn’t get any errors if I used previous versions (like mfix-22.4.1 & mfix-22.4.3), no matter it’s a case created by myself or the tutorial case.
-- Found MPI_C: /usr/lib64/openmpi/lib/libmpi.so (found version "3.0")
-- Found MPI_Fortran: /usr/lib64/openmpi/lib/libmpi_usempi.so (found version "3.0")
-- Found MPI: TRUE (found version "3.0")
This is using the MPI Fortran that is on your cluster, which looks to be version 3.0.
If you do not load the module, then we should use the MPI and Fortran that you installed in the Conda env:
In the “without load module mpi” file we see:
-- The Fortran compiler identification is GNU 4.8.5
-- Found MPI_C: /home/LGQ/anaconda3/envs/mfix-23.1/lib/libmpi.so (found version "3.1")
-- Could NOT find MPI_Fortran (missing: MPI_Fortran_WORKS)
CMake Error at /home/LGQ/anaconda3/envs/mfix-23.1/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find MPI (missing: MPI_Fortran_FOUND) (found version "3.1")
This is strange for several reasons. It should be finding the gfortran 12.2.0 that you installed into the conda env, but it’s reporting 4.8.5.
And then it’s saying that it found MPI Fortran 3.1 but it “doesn’t work” (I’m not sure what tests CMake is doing to decide whether the compiler works or not - CMake is big and complicated and tries too hard).
Can you activate the mfix-23.1 environment and type conda list and show me the output (text please, not screenshot). Thanks!