Open rythorpe opened 1 year ago
@dylansdaniels can you check to see if you get the same thing with a development installation off of the master branch on Windows?
@rythorpe what distribution of MPI did you install?
I think this logic has to be OS-dependent or MPI dependent since the --use-hwthread-cpus
option is only a feature of OpenMPI, not MSMPI
Oh shoot, I think you might be right :man_facepalming: There are probably many aspects of our MPIBackend
that are currently incompatible with Windows. For instance, the feature I was trying to implement in #506 will probably need a bit of help before working on a Windows platform.
@rythorpe just getting to this. do you still want me to test? Or is it a moot point since windows doesn't support OpenMPI? I'll go ahead and do a fresh fork and get it set up on my windows computer in any case
It's always nice to have more eyes on it, but I wouldn't worry about testing it for now. Maybe once we get the present issue resolved we can both do separate installations and try to break it :)
sounds good i'll be ready for it :)
@rythorpe I would suggest that we copy these lines from the Neuron CIs so we avoid regressions in the future. The CIs will initially fail but you can work backwards making the CI pass like in TDD
It would also be nice to update this document once we figure out how to make it work: https://jonescompneurolab.github.io/hnn-core/stable/parallel.html#mpi
@rythorpe I would suggest that we copy these lines from the Neuron CIs so we avoid regressions in the future. The CIs will initially fail but you can work backwards making the CI pass like in TDD
I'm pretty sure msmpi is distributed with NEURON and is thus automatically installed during our unit test CIs. That's how it ended up on my Windows installation at least.
I'm guessing the reason it doesn't show up is because somehow the --use-hwthread-cpus
option isn't getting called in our tests.
umm ... I don't think so. See here for the last windows CI run on master
see the skipped test on parallel backends
Ugh. Remind me again why we set up the MPIBackend
tests to fail silently? I think we should consider reverting that since the MPIBackend
will most likely be default for new users in workshops, etc.
No they don't fail. They just get skipped if MPI is not installed. It keeps the barrier low for new developers