quick_start
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
quick_start [2016/08/22 17:19] – [Running a first simulation] zenke | quick_start [2017/09/29 10:57] (current) – [Running a first simulation] Fixes example code zenke | ||
---|---|---|---|
Line 4: | Line 4: | ||
First, install cmake, git and some additional packages. Under Ubuntu or Debian simply | First, install cmake, git and some additional packages. Under Ubuntu or Debian simply | ||
< | < | ||
- | on any other platform you will need to install a C++ compiler a few libraries | + | on any other platform you will need to install a C++ compiler a few [[manual: |
- | + | ||
- | Now download and compile Auryn with the following commands | + | |
< | < | ||
git clone https:// | git clone https:// | ||
Line 12: | Line 10: | ||
./ | ./ | ||
</ | </ | ||
- | This will checkout the '' | + | This will checkout the '' |
===== Running a first simulation ===== | ===== Running a first simulation ===== | ||
- | Now, let's run a first small Auryn simulation: | + | Now, let's run a first small Auryn simulation |
< | < | ||
- | zenke@possum: | + | zenke@possum: |
zenke@possum: | zenke@possum: | ||
zenke@possum: | zenke@possum: | ||
Line 25: | Line 23: | ||
( 0) Freeing ... | ( 0) Freeing ... | ||
</ | </ | ||
- | This will only take a few milliseconds and generate a bunch of Poisson spikes. If you have gnuplot installed (sudo apt-get install gnuplot) you can visualize them from the command line with | + | This will only take a few milliseconds and generate a bunch of Poisson spikes |
< | < | ||
echo "plot ' | echo "plot ' | ||
</ | </ | ||
{{ : | {{ : | ||
- | For more details on this example go [[examples: | + | For more details on this example go [[examples: |
- | ===== Running a second | + | ===== Running a network |
Okay nice, let's do the same again for an actual network. Let's run a small balanced net, the [[examples: | Okay nice, let's do the same again for an actual network. Let's run a small balanced net, the [[examples: | ||
Line 110: | Line 108: | ||
- | ===== Next steps ===== | + | ====== Next steps ====== |
- | + | ||
- | After you have [[manual: | + | |
- | **Running in parallel with MPI.** | + | After you have [[manual: |
- | Auryn natively compiles against MPI and most of the time you will want to use in parallel to get good performance. Parallel execution is relatively simple. See [[manual:parallel_execution|how it's done]]. | + |
quick_start.1471886355.txt.gz · Last modified: 2016/08/22 17:19 by zenke