running .so file wrapped by cython parallellized by mpi in yade
Hello
I am trying to couple my 3-D LBM(Lattice Boltzmann Method) code, parallelized with MPI and written in C++, with yade. I used Cython for wrapping the C++ code. At the moment I can import my parallel and serial (without MPI header) code to python and run it. Also, I can import my serial code to Yade but when it reaches to parallel code I am not able to run it in Yade.
The error I am getting is:
///////
Welcome to Yade 2018.02b
TCP python prompt on localhost:9000, auth cookie `dakyus'
XMLRPC info provider on http://
Running script ex1.py
-------
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_
--> Returned value -2 instead of OPAL_SUCCESS
-------
-------
It looks like MPI_INIT failed for some reason; your parallel process is
likely to abort. There are many reasons that a parallel process can
fail during MPI_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):
ompi_mpi_init: opal_init_util failed
--> Returned "(null)" (-2) instead of "Success" (0)
-------
*** An error occurred in MPI_Init_thread
*** on a NULL communicator
*** MPI_ERRORS_
*** and potentially your MPI job)
[ata-B:6940] Local abort before MPI_INIT completed completed successfully, but am not able to aggregate error messages, and not able to guarantee that all other processes were killed!
///////
Do you have any recommendations and suggestions?
Thanks in advance for your help.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Chareyre
- Solved:
- Last query:
- Last reply: