Problem with MPI


I have problem with parallel running and i have this this error.
can you please give me your suggestion to resolve it.

Thank you.

Hier is the error
It looks like opal_init failed for some reason; your parallel process is likely to abort. There are many reasons that a parallel process can fail during opal_init; some of which are due to configuration or environment problems. This failure appears to be an internal failure; here’s some additional information (which may only be relevant to an Open MPI developer): opal_shmem_base_select failed → Return value -1 instead of OPAL SUCCESS

hier is some info

hashemi@itcp-lx-openfoam-01:~$ mpirun --version
mpirun (Open MPI) 1.8.8

Report bugs to

hashemi@itcp-lx-openfoam-01:~$ mpiCC --showme:compile
-I/home/hashemi/foam/foam-extend-4.0/ThirdParty/packages/openmpi-1.8.8/platforms/linux64GccDPOpt/include -pthread

hashemi@itcp-lx-openfoam-01:~$ mpiCC --showme:link
-pthread -Wl,-rpath -Wl,/home/mehrshad/foam/foam-extend-4.0/ThirdParty/packages/openmpi-1.8.8/platforms/linux64GccDPOpt/lib -Wl,–enable-new-dtags
-L/home/mehrshad/foam/foam-extend-4.0/ThirdParty/packages/openmpi-1.8.8/platforms/linux64GccDPOpt/lib -lmpi_cxx -lmpi -lopen-rte -lopen-pal -lm -lutil

Are you seeing this problem when running the CMAQ CCTM?

Please verify

  1. that you have the correct LD_LIBRARY_PATH specified in your .cshrc,
  2. that you are loading the correct module on your machine

module list
module avail

  1. That you are using the same mpi version to compile netCDF, I/O API, and CCTM.
    verify the paths specified in the config_cmaq.csh

It may be that your program was compiled against from MPICH but then finds the Open MPI version during runtime instead. Having two MPI implementations at the same time often leads to such problems.

1 Like