Search found 11 matches
- Thu Sep 01, 2011 11:39 am
- Forum: MSWin
- Topic: Compilation error: neuron python module (e_editor)
- Replies: 8
- Views: 11682
Re: Compilation error: neuron python module (e_editor)
Dear Michael Sorry to repeat this, but maybe it could be useful also for others, searching for solution. As I wrote to you in an e-mail, there is following issue: 1. Cygwin is only shipped as 32-bit. In order to compile therefore a cross-compiler is needed (even in Linux 32-bit a cross-compiler for ...
- Fri Aug 26, 2011 9:55 am
- Forum: NEURON + Python
- Topic: How is neuron python module created
- Replies: 2
- Views: 2599
Re: How is neuron python module created
Because of my problems to compile on Windows, which obviously might related to the compiler and not the configure system, I would have liked to try out some things. However, autotools is unreadable for my eyes and therefore uneditable. I am usually quite quick at putting together a cmake configurati...
- Fri Aug 26, 2011 9:45 am
- Forum: MSWin
- Topic: Compilation error: neuron python module (e_editor)
- Replies: 8
- Views: 11682
Re: Compilation error: neuron python module (e_editor)
Hi Uri and Hines, Thanks for you replies. Uri sent me a document describing the installation process. According to this it does not need two passes (see also my script above). The two pass configure and installation does not seem to work for me at all. I have tried two different mingw compilers (the...
- Fri Aug 26, 2011 8:15 am
- Forum: MSWin
- Topic: Compilation error: neuron python module (e_editor)
- Replies: 8
- Views: 11682
Re: Compilation error: neuron python module (e_editor)
Hi OK. Now I managed to compile neuron for a 32-bit Enthought python, with cygwin-gcc-3. I followed the approach as described in the document by Uri Cohen. It worked fine, except for the environment variables: export PYLIB="-L/cygdrive/c/Users/Bryn/Python/win32/Python26 -lpython26" export ...
- Thu Aug 25, 2011 12:49 pm
- Forum: NEURON + Python
- Topic: How is neuron python module created
- Replies: 2
- Views: 2599
How is neuron python module created
Hi Is the neuron python module created by wrapping C/C++ code automatically (e.g. like boost-python), or is the code wrapped by hand? How much effort would it be to re-write the configure system to use CMake or another, more portable build configure system? Thanks for any hints/ideas... Regards, Bryn
- Thu Aug 25, 2011 11:30 am
- Forum: Getting started
- Topic: Overview of neuron components. Compile without-nmodl?
- Replies: 0
- Views: 2877
Overview of neuron components. Compile without-nmodl?
Hi Is there any documentation anywhere, giving an overview of the source code of Neuron? Specifically, I would like to know which directories and/or options are import for me if I want to compile neuron as a python module only. I have been having troubles compiling it for Windows 7 with native pytho...
- Thu Aug 25, 2011 9:17 am
- Forum: MSWin
- Topic: Compilation error: neuron python module (e_editor)
- Replies: 8
- Views: 11682
Re: Compilation error: neuron python module (e_editor)
(For the alpha release of Neuron) I did some more digging and found that hoc_e.c includes "signal.h". The header file "signal.h" defines e.g. SIGQUIT or SIGHUP, but only if _POSIX is defined. This means hoc_e.c can only be compiled for POSIX systems. Is there any alternative to u...
- Thu Aug 25, 2011 7:27 am
- Forum: MSWin
- Topic: Compilation error: neuron python module (e_editor)
- Replies: 8
- Views: 11682
Re: Compilation error: neuron python module (e_editor)
Now I tried using the alpha version of neuron (nrn-7.2.alpha-524) Again I get an error while compiling the directory e_editor: ../../../nrn-7.2.alpha-524/src/e_editor/hoc_e.c:260: error: 'SIGQUIT' undeclared (first use this function) ... (more errors in hoc_e.c, related to SIGQUIT, SIGHUP) I am usin...
- Thu Aug 25, 2011 7:19 am
- Forum: MSWin
- Topic: Compilation error: neuron python module (e_editor)
- Replies: 8
- Views: 11682
Compilation error: neuron python module (e_editor)
Hi I have been trying to compile neuron as a python module for quite some time now. My system setup is the following: Windows 7, 64-bit CYGWIN_NT-6.1-WOW64 dock 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin gcc-3 (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125) Python from Enthought (EPD-7.2...
- Tue Aug 16, 2011 6:30 am
- Forum: MSWin
- Topic: Neuron as Python Module for Windows
- Replies: 10
- Views: 18726
Re: Neuron as Python Module for Windows
I should have added:
I am trying in Windows 7, 64-bit.
The Cygwin version is a recent one (cygwin_nt-6.1-WOW64).
The gcc compiler is: gcc-3.4.4
I am trying in Windows 7, 64-bit.
The Cygwin version is a recent one (cygwin_nt-6.1-WOW64).
The gcc compiler is: gcc-3.4.4
- Tue Aug 16, 2011 6:24 am
- Forum: MSWin
- Topic: Neuron as Python Module for Windows
- Replies: 10
- Views: 18726
Re: Neuron as Python Module for Windows
Hi, It seems you have managed to get it to compile and run. Could you please share the steps necessary to do it? I have tried to follow the (many different) posts to manage to compile NEURON for Windows, without GUI, for a native Enthought python (2.7.1). However, the configure step fails when tryin...