Open carolinafernandezp opened 2 years ago
Do you have MPI installed ? What do you get if you do:
$ which mpiexec
?
Yes it's installed, I get:
/usr/bin/mpiexec
And when I check the version I get:
mpiexec (OpenRTE) 4.0.3
I see that you also installed hnn-core
. Maybe try running this example first:
to see if that works or if you see the same error there?
I suspect this might be an mpi4py
or python environment issue.
$ conda install mpi4py
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).
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?
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?
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).
I would say that it’s not worth it to dig into the old HNN GUI unless someone feels motivated to fix it. We want to encourage users to start using the more maintainable new GUI. Specially in this case since a workaround exists.
On Fri 9 Jun 2023 at 11:05, Darcy Diesburg @.***> wrote:
Hi @jasmainak https://github.com/jasmainak and @rythorpe https://github.com/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).
— Reply to this email directly, view it on GitHub https://github.com/jonescompneurolab/hnn/issues/315#issuecomment-1584735248, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADY6FIVD6S3B2REOZ7TROWDXKM3UHANCNFSM5PIU6CUA . You are receiving this because you were mentioned.Message ID: @.***>
-- Sent from my iPhone
Hello, I was following the online ERP tutorial and after I click on run simulation I get the following error
From GUI: Failed running sim using /home/taylorariko/hnn_out/param/ERPNo100Trials.param. Saved data/figures in: /home/taylorariko/hnn_out/data/ERPNo100Trials
From Terminal: Warning: could not read file: /home/taylorariko/hnn_out/data/ERPNo100Trials/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.