sim=LsmMpi(numWorkerProcesses=1, mpiDimList=[1,1,1]) *** The MPI_Comm_size() function was called before MPI_INIT was invoked. *** This is disallowed by the MPI standard. *** Your MPI job will now abort. Problem started in the third line...

Asked by Radhakanta

sim=LsmMpi(numWorkerProcesses=1, mpiDimList=[1,1,1])
*** The MPI_Comm_size() function was called before MPI_INIT was invoked.
*** This is disallowed by the MPI standard.
*** Your MPI job will now abort.

Question information

Language:
English Edit question
Status:
Answered
For:
ESyS-Particle Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Radhakanta (rkoner) said :
#1

from esys.lsm import *
>>> from esys.lsm.util import Vec3, BoundingBox
>>> sim=LsmMpi(numWorkerProcesses=1, mpiDimList=[1,1,1])
*** The MPI_Comm_size() function was called before MPI_INIT was invoked.
*** This is disallowed by the MPI standard.
*** Your MPI job will now abort.
[user:3740] Local abort before MPI_INIT completed successfully; not able to aggregate error messages, and not able to guarantee that all other processes were killed!

Revision history for this message
SteffenAbe (s-abe) said :
#2

Hi Radhaknata,

in order to get an idea about what causes this error I would need some more information about:
- the way esys-particle was invoked, i.e. using mpirun / mpiexec from the command line or via some queueing system (PBS, Torque, ...) , what parameters and so on
- the details of the system this was run on, in particular which OS and which version of MPI

Steffen

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.

Revision history for this message
Dion Weatherley (d-weatherley) said :
#4

Still awaiting a response from OP

Revision history for this message
Dion Weatherley (d-weatherley) said :
#5

Although the OP provided little information to diagnose the problem, I suspect this error arose by invoking ESyS-Particle from within the Python Interpreter instead of using the "esysparticle" wrapper utility. This wrapper initializes MPI before loading the Python Interpreter and is mandatory for all ESyS-Particle simulation scripts.

Cheers,

Dion

Revision history for this message
Dion Weatherley (d-weatherley) said :
#6

Preventing this thread from expiring in 15d...

Can you help with this problem?

Provide an answer of your own, or ask Radhakanta for more information if necessary.

To post a message you must log in.