NEURON on Android

Post Reply
csh
Posts: 52
Joined: Mon Feb 06, 2006 12:45 pm
Location: University College London
Contact:

NEURON on Android

Post by csh » Sun May 29, 2011 10:22 pm

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 need and interest.

Image
Image
Image

Best,
Christoph
Last edited by csh on Sun Jan 01, 2012 10:19 am, edited 2 times in total.

hines
Site Admin
Posts: 1574
Joined: Wed May 18, 2005 3:32 pm

Re: NEURON on Android

Post by hines » Mon May 30, 2011 11:11 am

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 do the trick if the --without-nmodl step
uses CC=gcc CXX=g++ and no special CXXFLAGS (and leave out the --host and --build options).

csh
Posts: 52
Joined: Mon Feb 06, 2006 12:45 pm
Location: University College London
Contact:

Re: NEURON on Android

Post by csh » Sat Jun 04, 2011 7:57 pm

hines wrote: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 do the trick if the --without-nmodl step
uses CC=gcc CXX=g++ and no special CXXFLAGS (and leave out the --host and --build options).
Thanks, I've updated the build instructions. The site has moved to http://code.google.com/p/neurodroid. There's an android package with a minimal GUI to load hoc files.

csh
Posts: 52
Joined: Mon Feb 06, 2006 12:45 pm
Location: University College London
Contact:

Re: NEURON on Android

Post by csh » Mon Jan 02, 2012 7:02 am

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/details?id=csh.neurodroid) or from Google Code (http://code.google.com/p/neurodroid/downloads/list). Feedback is appreciated.

Christoph

Post Reply