Search found 52 matches

by csh
Sat Mar 12, 2016 2:06 pm
Forum: UNIX/Linux
Topic: Issue compiling ...geometry3d/surfaces.cpp NEURON v7.4
Replies: 3
Views: 8755

Re: Issue compiling ...geometry3d/surfaces.cpp NEURON v7.4

hines wrote:An update of cython may fix the problem.
Ran into the same issue and a downgrade of cython from 0.23.4 to 0.21.1 fixed it.
by csh
Sat May 17, 2014 6:44 am
Forum: NEURON + Python
Topic: [PATCH] Fix nrnpython_getline signature
Replies: 0
Views: 1128

[PATCH] Fix nrnpython_getline signature

With the latest 'Release 7.3' release branch, I get the following build error: libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/nrnoc -I../../src/oc -I../../src/parallel -I../../src/nrnjava -I../../src/nrncvode -I../../src/ivos -I../../src/sundials -I. -I../../src/nrniv -I../../src/ivoc...
by csh
Mon Jul 29, 2013 11:51 am
Forum: OS X
Topic: Respect DESTDIR during install
Replies: 6
Views: 5345

Re: Respect DESTDIR during install

Thanks again. I pushed the patches (slightly modified so that the absence of a DESTDIR does not affect setup.py). http://www.neuron.yale.edu/hg/neuron/nrn/rev/5ab4d7b9ecb1 Oops, didn't realize that os.getenv returns None if it can't find the variable, thanks for catching that. There's also the opti...
by csh
Mon Jul 29, 2013 10:29 am
Forum: OS X
Topic: Respect DESTDIR during install
Replies: 6
Views: 5345

Re: Respect DESTDIR during install

Thanks for the patches. I was unaware of DESTDIR. I do have a question, though, before I commit. In nrn/src/Makefile.am in four places you replace $(prefix) with $(DESTDIR)/$(bindir) and I am wondering about the extra '/' and whether it should be $(DESTDIR)$(bindir) Just a few weeks ago I had a pro...
by csh
Sun Jul 28, 2013 7:19 pm
Forum: OS X
Topic: NEURON Portfile for MacPorts
Replies: 0
Views: 5451

NEURON Portfile for MacPorts

MacPorts is a package manager that simplifies software installation on OS X. I've put together a Portfile to build NEURON with Python and parallelization support. After installation of MacPorts , NEURON can be installed with an installation script that downloads the Portfiles and adds them to the M...
by csh
Sun Jul 28, 2013 4:59 pm
Forum: OS X
Topic: Respect DESTDIR during install
Replies: 6
Views: 5345

Re: Respect DESTDIR during install

One more patch for Python 3 builds:

https://www.dropbox.com/s/5lku2stnznco6 ... -py3.patch
by csh
Sun Jul 28, 2013 3:14 pm
Forum: OS X
Topic: Respect DESTDIR during install
Replies: 6
Views: 5345

Respect DESTDIR during install

Here's a small patch against the 'Release 7.3' branch to account for the DESTDIR environment variable during install:

https://www.dropbox.com/s/lf58yyn8kdhh15f/destdir.patch

This is essential for MacPorts (see the destroot entry here), but may also be useful for packaging on other platforms.
by csh
Mon Jan 02, 2012 7:02 am
Forum: UNIX/Linux
Topic: NEURON on Android
Replies: 3
Views: 2643

Re: NEURON on Android

Some features that have recently been added: Squid AP simulation with user-defined conductance settings Improved terminal sessions (now providing termcap through ncurses) Speed improvements It's almost as useful as iBeer, but without ads. Available from the Market ( https://market.android.com/detail...
by csh
Tue Jun 21, 2011 3:01 pm
Forum: UNIX/Linux
Topic: Neuron on ubuntu 11.04 and sockets
Replies: 10
Views: 3034

Re: Neuron on ubuntu 11.04 and sockets

thanks for your answer, I want to communicate NEURON with other software without a swap file, (with sockets) it's like if the software controlle Neuron. ;) You could use Python as the glue between NEURON and your program. Here's a very simple Python script: #! /usr/bin/python from neuron import hoc...
by csh
Mon Jun 20, 2011 4:35 am
Forum: UNIX/Linux
Topic: Neuron on ubuntu 11.04 and sockets
Replies: 10
Views: 3034

Re: Neuron on ubuntu 11.04 and sockets

angela wrote:and thanks for your answers but :) is til dont know if is it possible to connect my programme (C++) to neuron via sockets :)????????
I don't think that neuron natively supports sockets. What do you want to achieve?

C
by csh
Sat Jun 04, 2011 7:57 pm
Forum: UNIX/Linux
Topic: NEURON on Android
Replies: 3
Views: 2643

Re: NEURON on Android

That's cute and quite unexpected :) Modify src/nrnoc/Makefile to use your local hoc_e and nocmodl builds rather than the cross-compiled ones. I'm sure there's a more elegant way to do this. I never figured out an elegant single step cross-compile using autotools. However the two step process should...
by csh
Sun May 29, 2011 10:22 pm
Forum: UNIX/Linux
Topic: NEURON on Android
Replies: 3
Views: 2643

NEURON on Android

Here are some files to patch, configure and cross-compile NEURON for Android on a Linux host: http://code.google.com/p/neurodroid Prebuilt-binaries are also provided. There's no GUI because X doesn't run (easily) on Android. The port is poorly tested and could obviously be improved if there's any ne...
by csh
Thu Aug 20, 2009 6:09 pm
Forum: NEURON + Python
Topic: null pointer in nrnpy_nrn.cpp
Replies: 2
Views: 789

Re: null pointer in nrnpy_nrn.cpp

Is this forum the preferred place for patches and bug reports BTW?
by csh
Tue Aug 18, 2009 2:53 pm
Forum: NEURON + Python
Topic: null pointer in nrnpy_nrn.cpp
Replies: 2
Views: 789

null pointer in nrnpy_nrn.cpp

Hi, there's an untested pointer in nrnpy_nrn.cpp that may lead to a seg fault under certain conditions. I've attached two sample files below to reproduce this behaviour. The problem will appear when exiting Python. I've tested Python 2.5 on GNU/Linux. Here's the stack trace: 0xb7d0c054 in NPySecObj_...
by csh
Wed Mar 11, 2009 8:18 am
Forum: ModelDB and other online sources of models
Topic: Problem with ModelDB availability
Replies: 5
Views: 13530

Problem with ModelDB availability

Hi,
I have some problems accessing the ModelDB in recent times. The server seems to be unavailable or down. Has the URL changed? I'm currently using:
http://senselab.med.yale.edu/senselab/modeldb
which resolves to 128.36.123.34
Best,
Christoph