Giter Club home page Giter Club logo

Comments (8)

jasmainak avatar jasmainak commented on June 5, 2024 1

from hnn.

jasmainak avatar jasmainak commented on June 5, 2024

Do you have MPI installed ? What do you get if you do:

$ which mpiexec

?

from hnn.

carolinafernandezp avatar carolinafernandezp commented on June 5, 2024

Yes it's installed, I get:
/usr/bin/mpiexec
And when I check the version I get:
mpiexec (OpenRTE) 4.0.3

from hnn.

jasmainak avatar jasmainak commented on June 5, 2024

I see that you also installed hnn-core. Maybe try running this example first:

https://jonescompneurolab.github.io/hnn-core/stable/auto_examples/howto/plot_simulate_mpi_backend.html#sphx-glr-auto-examples-howto-plot-simulate-mpi-backend-py

to see if that works or if you see the same error there?

from hnn.

rythorpe avatar rythorpe commented on June 5, 2024

I suspect this might be an mpi4py or python environment issue.

  1. Is it possible that you have two versions of OpenMPI installed, one at /usr/bin and another within your Anaconda environment (assuming you're using Anaconda)?
  2. Do you have mpi4py installed in your Anaconda environment? If not, try
$ conda install mpi4py

from hnn.

carolinafernandezp avatar carolinafernandezp commented on June 5, 2024

I did a full wipe of the computer and reinstalled the hnn GUI, so the only thing installed in the computer at the moment is HNN (anaconda is not installed).

I also made sure that mpi4py is installed.

But I'm getting the same error:

Warning: could not read file: /home/joshuabruce/hnn_out/data/default/dpl.txt
Warning: could not read file: /home/joshuabruce/hnn_out/data/default/spk.txt
Warning: could not read file: /home/joshuabruce/hnn_out/data/default/dpl.txt
Warning: could not read file: /home/joshuabruce/hnn_out/data/default/spk.txt
Starting simulation (8 cores). . .
INFO: Failed starting mpiexec, retrying with 4 cores
Simulation exited with return code 134. Stderr from console:
Invalid MIT-MAGIC-COOKIE-1 key--------------------------------------------------------------------------
mpiexec was unable to find the specified executable file, and therefore
did not launch the job. This error was first reported for process
rank 0; it may have occurred for other processes as well.

NOTE: A common cause for this error is misspelling a mpiexec command
line parameter option (remember that mpiexec interprets the first
unrecognized command line token as the executable).

Node: pop-os
Executable: nrniv

Warning: could not read file: /home/joshuabruce/hnn_out/data/default/dpl.txt
Warning: could not read file: /home/joshuabruce/hnn_out/data/default/spk.txt
Warning: could not read file: /home/joshuabruce/hnn_out/data/default/dpl.txt
Warning: could not read file: /home/joshuabruce/hnn_out/data/default/spk.txt

Any ideas on what could be going on?

from hnn.

jasmainak avatar jasmainak commented on June 5, 2024

I would really suggest trying to run the hnn-core example that uses MPI first. That way you can rule out problems due to something specific in the GUI code. I don't know if anyone is actively maintaining the GUI code, so it's easier for us to start with HNN-core to troubleshoot the problem.

See:

https://jonescompneurolab.github.io/hnn-core/stable/parallel.html

What OS are you using?

from hnn.

darcywaller avatar darcywaller commented on June 5, 2024

Hi @jasmainak and @rythorpe, I wanted to follow up on an error I just encountered and found a workaround for which generated nearly identical error messages to the one described here.

I've noticed that HNN displays buggy behavior when trying to load a simulation that has previously been canceled manually or by killing the terminal running HNN GUI during the run, which I always assumed is due to corruption of the associated simulation output files in the hnn_out/data folder, which it still tries to load the next time the associated parameter file is loaded. We solved this by renaming the associated folder in hnn_out/data, so it didn't attempt to load the output files anymore and were able to get it to load in the parameter file again (albeit with no ouput yet until the sim is run). I don't know if you think this constitutes an issue with the manual shutdown option of an ongoing simulation that you would like me to open an issue for or not (if it doesn't exist already).

from hnn.

Related Issues (20)

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.