INCF / MUSIC

MUSIC, the MUltiSimulation Coordinator
GNU General Public License v3.0
37 stars 37 forks source link

Compiling PyMusic without MPI? #55

Closed sanjayankur31 closed 5 years ago

sanjayankur31 commented 5 years ago

Hello,

Is pymusic not meant to be used without MPI at all? I see that configure.ac file has a conditional, and then the pymusic Makefile tries to run python3 tests.py which imports mpi4py?

Cheers!

mdjurfeldt commented 5 years ago

Hi Ankur,

The released version of MUSIC as well as the development version in this repository depends on MPI for its communication. Therefore, it would not make sense to use the MUSIC Python wrapper in the directory pymusic without MPI. This may change in a future version, though. Why are you asking?

sanjayankur31 commented 5 years ago

Ah, that makes sense---I hadn't realised.

I am packaging it for NeuroFedora (as I have done NEST, and have submitted libneurosim for review too, so that I can then package up PyNN). I built both NEST and libneurosim with and without MPI support, and was following the same method for MUSIC too.

If MUSIC needs MPI support, I will not build the non-MPI variant, and so I expect this means that MUSIC can only be used with NEST if NEST is built with MPI support?

mdjurfeldt commented 5 years ago

Yes, that is correct. The current version of MUSIC should be used together with MPI and an MPI-enabled NEST. Good luck with your work! Closing issue.

sanjayankur31 commented 5 years ago

Great. Thanks for confirming.