Search found 127 matches

by Keivan
Wed Sep 16, 2009 5:03 pm
Forum: MSWin
Topic: gcc bug: ___gxx_personality_v0 undefined
Replies: 19
Views: 13731

Re: gcc bug: ___gxx_personality_v0 undefined

compile finished successfully and nrniv loaded without error. bingoooooooo. Now I'm gooing to test. -->neurondemo works fine and my test model loaded and run without error.

Thank you hines. you are great. :)

I would test it further later
by Keivan
Wed Sep 16, 2009 4:54 pm
Forum: MSWin
Topic: gcc bug: ___gxx_personality_v0 undefined
Replies: 19
Views: 13731

Re: gcc bug: ___gxx_personality_v0 undefined

I am trying to test, but I have difficulties with autotools. cygwin has different versions of these tools and they conflict with each other. I decided to uninstall cygwin autotools and compile them from source (the requested versions as in NEURON's Latest Advances ). after running ./build.sh I confi...
by Keivan
Tue Sep 15, 2009 2:57 am
Forum: MSWin
Topic: gcc bug: ___gxx_personality_v0 undefined
Replies: 19
Views: 13731

Re: gcc bug: ___gxx_personality_v0 undefined

What I don't know is whether you were able to use the configure statements I indicated above to make a working version. i.e no python and no mpi and no flags other than the ones I indicated. I can compile successfully with ./configure --prefix=`pwd` CC=gcc-4 CXX=g++-4 LDFLAGS='-Wl,--enable-auto-imp...
by Keivan
Mon Sep 14, 2009 5:08 pm
Forum: MSWin
Topic: gcc bug: ___gxx_personality_v0 undefined
Replies: 19
Views: 13731

Re: gcc bug: ___gxx_personality_v0 undefined

Were you able to reproduce my successful build? i.e after 'make mswin' you can execute c:/marshalnrn/nrn/bin/nrniv double clicking on the c:/marshalnrn/nrn/bin/nrniv.exe (4.5 KB in size) --> leads to error message: "This application has failed to start because nrniv.dll was not found. Re-insta...
by Keivan
Mon Sep 14, 2009 9:50 am
Forum: MSWin
Topic: gcc bug: ___gxx_personality_v0 undefined
Replies: 19
Views: 13731

Re: gcc bug: ___gxx_personality_v0 undefined

I have compiled neuron with the latest development code as follow --> MPICH2 cd ~/neuron/mpich2 ./configure --prefix=$HOME/neuron/mpich2/$CPU --with-device=ch3:nemesis --enable-fast=O3 --enable-timer-type=linux86_cycle MPICH2LIB_CFLAGS="$KEIVANFLAGS" MPICH2LIB_CXXFLAGS="$KEIVANFLAGS&q...
by Keivan
Sun Sep 13, 2009 4:12 pm
Forum: MSWin
Topic: gcc bug: ___gxx_personality_v0 undefined
Replies: 19
Views: 13731

Re: gcc bug: ___gxx_personality_v0 undefined

Finally, I find a way to compile at least with gcc-3: the problem was that the programmers considered the default directory of libraries is in "/etc/lib/gcc" but in my unmodified fresh install of cygwin they are in "/lib/gcc/(version)". So I changed the ~/neuron/nrn/src/mswin/nrn...
by Keivan
Sun Sep 13, 2009 1:59 pm
Forum: MSWin
Topic: gcc bug: ___gxx_personality_v0 undefined
Replies: 19
Views: 13731

Re: gcc bug: ___gxx_personality_v0 undefined

I have compiled IV and neuron with this new address but was not successful (as previpus). ./configure --prefix=`pwd` CC="gcc-4.exe" CXX="g++-4.exe" F77="gfortran-4.exe" F90="gfortran-4.exe" CXXFLAGS="-O3 -march=core2 -fno-builtin -mwindows -I/home/keivan/...
by Keivan
Sun Sep 13, 2009 11:33 am
Forum: MSWin
Topic: gcc bug: ___gxx_personality_v0 undefined
Replies: 19
Views: 13731

Re: gcc bug: ___gxx_personality_v0 undefined

it seems that the correct position of libraries in cygwin 2009 is "/etc/alternatives" --> I am going to try that
by Keivan
Sun Sep 13, 2009 11:20 am
Forum: MSWin
Topic: gcc bug: ___gxx_personality_v0 undefined
Replies: 19
Views: 13731

Re: gcc bug: ___gxx_personality_v0 undefined

I have compiled nrn with the suggested LDFLAG --> ./configure --prefix=`pwd` --with-iv=$IV CC="gcc-4.exe" CXX="g++-4.exe" F77="gfortran-4.exe" F90="gfortran-4.exe" CXXFLAGS="-O3 -march=core2 -fno-builtin -mwindows -I/home/keivan/mpich2/$CPU/include" ...
by Keivan
Sun Sep 13, 2009 11:02 am
Forum: MSWin
Topic: gcc bug: ___gxx_personality_v0 undefined
Replies: 19
Views: 13731

Re: gcc bug: ___gxx_personality_v0 undefined

my "/usr/lib/" is an empty directory
by Keivan
Sat Sep 12, 2009 11:43 pm
Forum: MSWin
Topic: Compile windows binary in linux
Replies: 0
Views: 3262

Compile windows binary in linux

The src compiles very fast in linux and you have a bit more freedom than cwgwin. Is it possible to compile windows binary in linux to have a fair neuron benchmark between linux and win xp?
by Keivan
Sat Sep 12, 2009 11:34 pm
Forum: MSWin
Topic: gcc bug: ___gxx_personality_v0 undefined
Replies: 19
Views: 13731

Re: gcc bug: ___gxx_personality_v0 undefined

Thank you hines. I have compiled neuron with iv with the following environment variables export LD_LIBRARY_PATH=/lib:${LD_LIBRARY_PATH} export PATH=$HOME/neuron/mpich2/$CPU/bin:$PATH export LD_LIBRARY_PATH=$HOME/neuron/mpich2/$CPU/lib:${LD_LIBRARY_PATH} and following configuration ./configure --pref...
by Keivan
Sat Sep 12, 2009 5:03 am
Forum: MSWin
Topic: gcc bug: ___gxx_personality_v0 undefined
Replies: 19
Views: 13731

gcc bug: ___gxx_personality_v0 undefined

I was trying to compile neuron 7.1.333 with the latest cygwin with gcc-4 and g++-4 as compiler but I repeatedly have seen the error make nrniv.exe ../ivoc/nrnmain.o:nrnmain.cpp:(.eh_frame+0x11): undefined reference to `___gxx_personality_v0' please see http://www.cocoabuilder.com/archive/message/coc...
by Keivan
Tue Sep 08, 2009 3:49 pm
Forum: UNIX/Linux
Topic: compile neuron with intel compiler for linux?
Replies: 8
Views: 10840

Re: compile neuron with intel compiler for linux?

after working full-time for more than 4 days, trying to know what compilers with which kernel flags and configurations would provide best performance in neuron for me, I have tried intel compiler and the that time I found intel compilers more than 100% faster in single thread mode with cache effect ...
by Keivan
Mon Sep 07, 2009 1:00 pm
Forum: UNIX/Linux
Topic: compile neuron with intel compiler for linux?
Replies: 8
Views: 10840

Re: compile neuron with intel compiler for linux?

Please tell us the relative speed up when you use
cvode_cache_efficient(1)
Neuron runs faster when activating the cache efficacy, howere the relative speedup is about 10-15% in this case.

PS: I am using exactly the same version of icc.