Error with running mpi code and python

57 views
Skip to first unread message

Jared Seehusahai

unread,
Sep 10, 2024, 4:35:50 PM9/10/24
to NetPyNE Q&A forum
Hello, I'm pretty new to this all, but was able to install netpyne, neuron and mpi and run the tutorial 1 code on netpynes website using the command "mpiexec -n 4 nrniv -python -mpi tut1.py ".

However, when I try to run code from a paper I'm working on understanding (TACS_effects_network/README.md at main · OpitzLab/TACS_effects_network · GitHub) using the command "mpiexec -n 4 -python run_2C_tACS_network_par.py" I get the error: mpiexec: Error: unknown option "-python"                                                                                                                           Type 'mpiexec --help' for usage.      

Any ideas what could be going on?

I'm doing this all on a windows computer using WSL ubuntu

Valery Bragin

unread,
Sep 11, 2024, 1:07:23 PM9/11/24
to NetPyNE Q&A forum
Hello,

It seems you're missing `nrniv` option. Please try:
mpiexec -n 4 nrniv -python run_2C_tACS_network_par.py

Best,
Valery
Reply all
Reply to author
Forward
0 new messages