Page 1 of 1

Running NEURON on AIX 5.1/PowerPC

Posted: Thu Jan 25, 2007 10:58 am
by csh
Hi,
has anyone ever tried to run NEURON on AIX (more specifically, AIX 5L 5.1)? I can configure and make NEURON 6.0.821, however, when I try to run it, I get a

Code: Select all

Segmentation fault(coredump)
right away (both with ./nrniv and ./special). I have configured as follows:

Code: Select all

./configure --without-x --without-mpi --without-nrnjava
config.log or any other information can be supplied upon request. Any help would be appreciated.
Christoph

Posted: Thu Jan 25, 2007 11:49 am
by hines
NEURON should certainly work on that machine with that os.
The best way I know to diagnose that problem is with gdb. If your machine is not behind a firewall I can do it with a guest login. Or you can tell me what the result is for

Code: Select all

gdb <prefix>/<cpu>/bin/nrniv
run
#get a segmentation violation?
where
#shows the stack trace.
Other clues can be obtained by compiling with optimization off. Without a login, this may be the beginning of a long iterative process that is best handled by email.

Posted: Fri Jan 26, 2007 2:44 am
by csh
If anyone encounters similar problems, here is a short follow-up:
Michael Hines helped me sort out this problem. I had to explicitly disable shared libraries during configure, so here is what I did:

Code: Select all

./configure --prefix='pwd' --disable-shared --without-x --without-nrnjava
As far as I tested it, everything runs fine (albeit with some subtle differences in interpreting hoc as compared to i686-builds).