Code Monkey home page Code Monkey logo

Comments (4)

RemiLehe avatar RemiLehe commented on July 18, 2024

Hi @rezaplasma
Did you try to run

mpirun -np 2 python -c "from mpi4py.MPI import COMM_WORLD"

as suggested by the above messages?
If yes, do you get an error message when running the above command?

from fbpic.

rezaplasma avatar rezaplasma commented on July 18, 2024

hi @RemiLehe

thanks for your answer
yes, I tried and again got below error

(base) ubuntu@ubuntu-virtual-machine:~$ mpirun -np 2 python -c "from mpi4py.MPI import COMM_WORLD"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: libmpi.so.12: cannot open shared object file: No such file or directory
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: libmpi.so.12: cannot open shared object file: No such file or directory
-------------------------------------------------------
Primary job  terminated normally, but 1 process returned
a non-zero exit code.. Per user-direction, the job has been aborted.
-------------------------------------------------------
--------------------------------------------------------------------------
mpirun detected that one or more processes exited with non-zero status, thus causing
the job to be terminated. The first process to do so was:

  Process name: [[50412,1],0]
  Exit code:    1
--------------------------------------------------------------------------

from fbpic.

RemiLehe avatar RemiLehe commented on July 18, 2024

OK, thanks.
The above test shows that your MPI installation has a problem. (Note that the test mpirun -np 2 python -c "from mpi4py.MPI import COMM_WORLD" does not involve FBPIC: this is purely an MPI issue.)
I would recommend trying to reinstall MPI. If the problem persist, please contact MPI developers.

Since the problem is not specific to FBPIC, I will close this issue for now.

from fbpic.

rezaplasma avatar rezaplasma commented on July 18, 2024

Hi @RemiLehe

I installed the lower version of conda and mpi was installed separately then the problem was resolved.
I don't know if it has anything to do with the problem or not, but the problem is solved

Thanks

from fbpic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.