Search found 9 matches

by shhong
Mon Oct 05, 2015 6:07 am
Forum: NEURON hacks
Topic: Printing different views of a shape plot
Replies: 1
Views: 13800

Printing different views of a shape plot

I am trying to generate many shape plots with different focuses and magnifications and save them by a python script. I managed to make the plots using .view, but discovered that .printfile only saves only the first view. Is there any way around this?
by shhong
Thu May 23, 2013 5:48 pm
Forum: OS X
Topic: Compiling NEURON 7.3 with clang
Replies: 1
Views: 7399

Compiling NEURON 7.3 with clang

I tried to compile NEURON 7.3 via clang instead of gcc. While compiling iv was as straightforward as replacing gcc by clang, I came across with two errors in compiling NEURON. 1. xerrwv_ in src/scopmath/csoda.c is defined with 10 arguments but is called with 11. clang calls this an error while gcc (...
by shhong
Tue Aug 16, 2011 12:25 am
Forum: OS X
Topic: Python module error in Mac OS X Lion
Replies: 9
Views: 14475

Python module error in Mac OS X Lion

In Mac OS 10.7 aka Lion, importing the python module causes an exception as follows: (NEURON version: 536:c4eed98bb84b, Python: 2.7.1, compiler: i686-apple-darwin11-llvm-gcc-4.2) In [1]: import neuron --------------------------------------------------------------------------- ImportError Traceback (...
by shhong
Wed Sep 09, 2009 12:09 am
Forum: OS X
Topic: An error in 10.6 Snow Leopard
Replies: 8
Views: 7544

Re: An error in 10.6 Snow Leopard

I also discovered that build.sh of iv cannot generate config.*, which makes configure fail.
by shhong
Tue Sep 08, 2009 10:58 pm
Forum: OS X
Topic: An error in 10.6 Snow Leopard
Replies: 8
Views: 7544

Re: An error in 10.6 Snow Leopard

I got the same error with the mercurial repository sources (344). nrniv seems to work, but also stops when nrngui.hoc is loaded.
by shhong
Tue Sep 08, 2009 12:15 am
Forum: OS X
Topic: An error in 10.6 Snow Leopard
Replies: 8
Views: 7544

An error in 10.6 Snow Leopard

I got the following error in 10.6 bash$ nrniv /Applications/NEURON/nrn/share/nrn/lib/hoc/stdrun.hoc NEURON -- Release 7.0 (285:80827e3cd201) 2009-01-16 Duke, Yale, and the BlueBrain Project -- Copyright 1984-2008 See http://www.neuron.yale.edu/credits.html nrniv(53939) malloc: *** error for object 0...
by shhong
Fri Jan 16, 2009 2:02 am
Forum: OS X
Topic: Segmentation violation with gcc -finline-functions
Replies: 5
Views: 5265

Re: Segmentation violation with gcc -finline-functions

Thanks a lot. But the trick did not work in mac and so I had to remove fadvance.lo, too.
by shhong
Thu Jan 08, 2009 12:41 am
Forum: OS X
Topic: Segmentation violation with gcc -finline-functions
Replies: 5
Views: 5265

Re: Segmentation violation with gcc -finline-functions

In linux, I used gcc 4.1.0 (SUSE Linux) and ./configure --prefix=$HOME/local/NEURON-6.2/nrn --with-iv=$HOME/local/NEURON-6.2/iv CFLAGS='-O2 -m64 -finline-functions' CPPFLAGS='-O2 -m64 -finline-functions' In mac, I will take the 6.2.3 case back, but the 7.0-232 still causes segmentation violations. I...
by shhong
Wed Jan 07, 2009 7:03 am
Forum: OS X
Topic: Segmentation violation with gcc -finline-functions
Replies: 5
Views: 5265

Segmentation violation with gcc -finline-functions

I am getting segmentation violation both in version 7alpha and 6.2 when NEURON is compiled with gcc and -finline-functions option, which is a part of -O3 optimization. A similar thing happens also in our linux cluster, which generates more outputs as: $ nrngui NEURON -- Release 6.2.3 (2203) 2008-08-...