Unfortunately, I have to withdraw my latest post, as the problems continue with Microsoft MPI and using neuron.
Actually using Microsoft MPI works with other programs (test batch scripts etc) and works when running neuron without the -mpi argument, but as soon as I use
Code: Select all
"C:\Program Files\Microsoft MPI\Bin\mpiexec.exe" -n 4 "C:/nrn/bin/nrniv.exe" -mpi "somesimplescript.hoc"
a few seconds nothing happens (actually I see that 4 nrniv.exe are started but they do not use CPU ressources) and then it returns to command line without anything happened (nrniv.exe are shut down again).
Using NEURON's mpiexec.exe works fine on my machine (unfortunately not on the other Win10 machine, as said before). I also tried to install mpich2 but gave up as they do not compile for Windows anymore and the old versions need some .NET Framework version that refuses to get installed on my machine...
So I tried, if maybe everything works with older NEURON versions, but when using NEURON 7.3 the following way:
Code: Select all
"C:\Program Files\Microsoft MPI\Bin\mpiexec.exe" -n 4 "C:/nrn73/bin/nrniv.exe" -mpi "somesimplescript.hoc"
I get 4 times the following error
[unset]: unable to decode hostport from a862cb30-5a7a-498c-8b6b-ce9c61071579
Fatal error in MPI_Init: Other MPI error, error stack:
MPIR_Init_thread(433):
MPID_Init(139).......: channel initialization failed
MPID_Init(403).......: PMI_Init returned -1
I also tried NEURON 7.0 with nearly the same error code as result:
[unset]: unable to decode hostport from b890666b-35b5-4081-91a2-97d90c5921ec
Fatal error in MPI_Init: Other MPI error, error stack:
MPIR_Init_thread(294): Initialization failed
MPID_Init(82)........: channel initialization failed
MPID_Init(333).......: PMI_Init returned -1