The problem of building the solver on centos7

Dear Developer, hello! I wanted to use DMP for parallel computation, but the build solver ran into the following error. Many attempts have been made, but the following error still occurs: Hope to get your advice!
image

It looks like your version of openmpi (mpifort) is too old.

Can you update openmpi?

Thank you for your reply! I have a new problem. Here’s what it looks like: The build solver process succeeded, but it didn’t run. Hope to get your advice!



I have a same problem with you. Do you solve it? :sob:

I’m not sure why MFiX is looking for libmpi_usempi.so.40, on my system there is no such file. I’m using:

$ mpirun --version
mpirun (Open MPI) 4.1.4

Your problems look like they may be due to an old or incorrectly installed OpenMPI package. Can you compile and run a simple OpenMPI test program such as this “Hello World” example? hello_world_mpi

It would also be helpful to see what your environment variables look like: copy and paste the output of the env command.

Thanks so much. I find a solution:
$ cat /etc/ld.so.conf
include ld.so.conf.d/*.conf
$ echo “/usr/local/lib” >> /etc/ld.so.conf
$ ldconfig
“/usr/local/lib” is the route of libmpi_usempi.so.40