Search found 21 matches

by sl
Sat Jun 27, 2009 12:53 pm
Forum: Parallel NEURON
Topic: nhost returning 1 on non-mpi machine
Replies: 6
Views: 3759

Re: nhost returning 1 on non-mpi machine

Are you sure that's necessary? For examples of code that works just fine on single processor boxes without mpi, and on clusters with mpi Yes, indeed they do. As I said, it was my mistake of not calling stdinit() before calling pc.psolve() that was causing my issues. One slight difference remains be...
by sl
Fri Jun 26, 2009 11:50 am
Forum: Parallel NEURON
Topic: nhost returning 1 on non-mpi machine
Replies: 6
Views: 3759

Re: nhost returning 1 on non-mpi machine

I just got psolve() working on a single machine (forgot to call stdinit() before it) so this is no longer a dire need for me.
by sl
Fri Jun 26, 2009 11:13 am
Forum: Parallel NEURON
Topic: nhost returning 1 on non-mpi machine
Replies: 6
Views: 3759

Re: nhost returning 1 on non-mpi machine

It isn't only a problem in the alpha, though. I tested this in the standard distributions on Linux and Windows of NEURON 7.0 and they both return nhost() = 1. I distinctly remember it returning 0 before version 7.0 (and the documentation, of course, requires it to be the case). I looked through the ...
by sl
Wed Jun 24, 2009 4:38 pm
Forum: Parallel NEURON
Topic: nhost returning 1 on non-mpi machine
Replies: 6
Views: 3759

nhost returning 1 on non-mpi machine

When I run the code below in a non-cluster enivornment (i.e. nrniv filename.hoc - ) it prints out 1 instead of 0. objref pc pc = new ParallelContext() print pc.nhost() The documentation says, however, that nhost should return 0 in this setting. I am using the January Alpha 315 installer on Linux, al...
by sl
Thu Mar 26, 2009 4:27 am
Forum: Parallel NEURON
Topic: gap junctions, pointers and multithreading
Replies: 19
Views: 13275

Re: gap junctions, pointers and multithreading

Apologies for the delay in testing this. I compiled the alpha source code (NEURON -- VERSION 7.1 (298+:4d04b5dab7ff+) 2009-03-23) and tried to run my model with it. NEURON crashed with this output: nrniv: ../nrncvode/occvode.cpp:656: void Cvode::fun_thread_transfer_part2(double*, NrnThread*): Assert...
by sl
Thu Jan 29, 2009 8:49 pm
Forum: Parallel NEURON
Topic: gap junctions, pointers and multithreading
Replies: 19
Views: 13275

Re: gap junctions, pointers and multithreading

Ah, thank you very much for that. I shall test this in my model soon.
by sl
Sat Jan 24, 2009 1:06 pm
Forum: Parallel NEURON
Topic: gap junctions, pointers and multithreading
Replies: 19
Views: 13275

Re: gap junctions, pointers and multithreading

Haha, mine only has 264... guess I need to work harder then.

Thank you very much for the clarification and code sample.
by sl
Fri Jan 23, 2009 1:43 pm
Forum: Parallel NEURON
Topic: gap junctions, pointers and multithreading
Replies: 19
Views: 13275

Re: gap junctions, pointers and multithreading

Apologies for resurrecting this rather old thread, but it was only the third one in the forum... so yeah. I was wondering what the status of this question given the recent release of the 7.0 version into the wild. My model too uses quite a number of graduated synapses that require stepwise updates t...
by sl
Thu Oct 02, 2008 2:43 pm
Forum: MSWin
Topic: NEURON 6.2 non-cygwin MPI
Replies: 4
Views: 4734

Re: NEURON 6.2 non-cygwin MPI

Turns out this was a Vista issue. I tested these compiled nrniv exe and dll and they worked fine on the cluster of XP machines. There were some interesting messages about 'dlopen' failing (which read, "dlopen failed - No such process") , which I'll have to investigate, but the MPI tests al...
by sl
Sat Sep 27, 2008 10:48 pm
Forum: MSWin
Topic: NEURON 6.2 non-cygwin MPI
Replies: 4
Views: 4734

NEURON 6.2 non-cygwin MPI

Hello, I am trying to compile NEURON 6.2 standard distribution with a non-cygwin version of MPI. I've used this MPI implementation for NEURON 6.1 so I know it works. Here is my configure command line: ./configure --prefix=`pwd` --with-paranrn --with-mpi --with-multisend CPPFLAGS="-IC:/DeinoMPI/...
by sl
Wed Jul 09, 2008 9:40 pm
Forum: UNIX/Linux
Topic: nrniv auto exiting
Replies: 4
Views: 4262

Starting NEURON by double clicking on a hoc file under Linux

Thank you ted and JimH. You're right `nrngui test.hoc` does work as expected. The reason why I thought it didn't is because of the way the double-click launch works on Ubuntu. What I wanted to do is to replicate the Windows' version functionality of being able to double click on the .hoc file and ha...
by sl
Mon Jul 07, 2008 4:42 pm
Forum: UNIX/Linux
Topic: nrniv auto exiting
Replies: 4
Views: 4262

nrniv auto exiting

There is probably a simple solution for this, but it escapes me. When I run this from the command line: nrniv test.hoc It runs the .hoc file and exits, even though there is no quit() statement in the file. nrngui does the same, and nrnoc just plain refuses to work. I would like the behavour to be ex...
by sl
Thu Jul 03, 2008 9:14 am
Forum: Getting started
Topic: Possible bug in Vector's record function
Replies: 3
Views: 2807

Re: Possible bug in Vector's record function

Ah, I see. I misunderstood what the manual was implying. Thanks for the clarification.
by sl
Wed Jul 02, 2008 2:49 pm
Forum: Getting started
Topic: Possible bug in Vector's record function
Replies: 3
Views: 2807

Possible bug in Vector's record function

I found that if one uses the third form of Vector's record function (the one with the separate time vector) I get no recorded data for either vector. Here's a sample code that reproduces the bug for me: load_file("stdrun.hoc") create soma insert pas objref data_vec, time_vec data_vec = new...
by sl
Fri Jun 20, 2008 12:28 pm
Forum: Getting started
Topic: Detecting the location of the current file
Replies: 6
Views: 4224

Re: Detecting the location of the current file

Naturally. This only applies to DeinoMPI, which I am using for my NEURON MPI work on windows. The idea is that you should set the 'working directory' of the process stager to the location of your primary .hoc file. This encourages NEURON to set its current directory to point to somewhere useful.