Git Product home page Git Product logo

Comments (3)

latug0 avatar latug0 commented on August 18, 2024

Is python3 in your PATH (which python3)?
Can you test the simpler command python3 helloWorld.py that should use a single MPI process and give me the output ?

from pybind_mpi.

mathaefele avatar mathaefele commented on August 18, 2024

Ouch core dump indeed...

mhaefele@mdlspc113:build (master)*$ which python3
/usr/bin/python3

mhaefele@mdlspc113:build (master)*$ python3 helloWorld.py 
[Python] Hello from machine mdlspc113, MPI rank 0 out of 1
[mdlspc113:31758] *** Process received signal ***
[mdlspc113:31758] Signal: Segmentation fault (11)
[mdlspc113:31758] Signal code: Address not mapped (1)
[mdlspc113:31758] Failing at address: 0x44000098
[mdlspc113:31758] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x3ef20)[0x7fde5ec39f20]
[mdlspc113:31758] [ 1] /usr/lib/x86_64-linux-gnu/libmpi.so.20(MPI_Comm_size+0x42)[0x7fde5d3423b2]
[mdlspc113:31758] [ 2] /local/home/mhaefele/ownCloud/work/dev/pybind_mpi/build/mpi_lib.cpython-36m-x86_64-linux-gnu.so(+0x1e38b)[0x7fde4b9ab38b]
[mdlspc113:31758] [ 3] /local/home/mhaefele/ownCloud/work/dev/pybind_mpi/build/mpi_lib.cpython-36m-x86_64-linux-gnu.so(+0x26347)[0x7fde4b9b3347]
[mdlspc113:31758] [ 4] /local/home/mhaefele/ownCloud/work/dev/pybind_mpi/build/mpi_lib.cpython-36m-x86_64-linux-gnu.so(+0xbdf3)[0x7fde4b998df3]
[mdlspc113:31758] [ 5] /local/home/mhaefele/ownCloud/work/dev/pybind_mpi/build/mpi_lib.cpython-36m-x86_64-linux-gnu.so(+0x7cdc)[0x7fde4b994cdc]
[mdlspc113:31758] [ 6] /local/home/mhaefele/ownCloud/work/dev/pybind_mpi/build/mpi_lib.cpython-36m-x86_64-linux-gnu.so(+0x2b148)[0x7fde4b9b8148]
[mdlspc113:31758] [ 7] /local/home/mhaefele/ownCloud/work/dev/pybind_mpi/build/mpi_lib.cpython-36m-x86_64-linux-gnu.so(+0x2b26c)[0x7fde4b9b826c]
[mdlspc113:31758] [ 8] /local/home/mhaefele/ownCloud/work/dev/pybind_mpi/build/mpi_lib.cpython-36m-x86_64-linux-gnu.so(+0x1c15f)[0x7fde4b9a915f]
[mdlspc113:31758] [ 9] python3(_PyCFunction_FastCallDict+0x35c)[0x5674fc]
[mdlspc113:31758] [10] python3[0x50abb3]
[mdlspc113:31758] [11] python3(_PyEval_EvalFrameDefault+0x449)[0x50c5b9]
[mdlspc113:31758] [12] python3[0x509d48]
[mdlspc113:31758] [13] python3[0x50aa7d]
[mdlspc113:31758] [14] python3(_PyEval_EvalFrameDefault+0x449)[0x50c5b9]
[mdlspc113:31758] [15] python3[0x508245]
[mdlspc113:31758] [16] python3(PyEval_EvalCode+0x23)[0x50b403]
[mdlspc113:31758] [17] python3[0x635222]
[mdlspc113:31758] [18] python3(PyRun_FileExFlags+0x97)[0x6352d7]
[mdlspc113:31758] [19] python3(PyRun_SimpleFileExFlags+0x17f)[0x638a8f]
[mdlspc113:31758] [20] python3(Py_Main+0x591)[0x639631]
[mdlspc113:31758] [21] python3(main+0xe0)[0x4b0f40]
[mdlspc113:31758] [22] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x7fde5ec1cb97]
[mdlspc113:31758] [23] python3(_start+0x2a)[0x5b2fda]
[mdlspc113:31758] *** End of error message ***
Erreur de segmentation (core dumped)
mhaefele@mdlspc113:build (master)*$

I did not install packages with spack I must admit. I just installed the ubuntu packages and there might be some incompatibilities... I will have a try with spack and I come back.

from pybind_mpi.

latug0 avatar latug0 commented on August 18, 2024

Without spack, the documentations I read specify that mpi4py should be built on the specific MPI available on the system. Maybe you can try a pip install of mpi4py.

Can you give me the variant/version of mpi you use please ?

from pybind_mpi.

Related Issues (1)

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.