Auryn simulator

Simulator for spiking neural networks with synaptic plasticity

User Tools

Site Tools


manual:parallel_execution

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
manual:parallel_execution [2014/10/14 17:27] – reformulation zenkemanual:parallel_execution [2014/10/14 17:41] (current) – [Merging ras output files] zenke
Line 11: Line 11:
 </code> </code>
 where ''-n 4'' specifies the number of processes to be run in parallel to be four. Now if everything worked correctly you should have already felt an increase in performance -- i.e. the program should have terminated its computation more quickly. where ''-n 4'' specifies the number of processes to be run in parallel to be four. Now if everything worked correctly you should have already felt an increase in performance -- i.e. the program should have terminated its computation more quickly.
 +
 +To use multiple machines as a cluster the specifics might be different depending on the MPI implementation used. For OpenMPI it suffices, if the same home directory is mounted on all machines, to add a hostfile containing the names of all machines in the luster to the command line (e.g. ''mpirun -n 32 -f hostfile.mpi ./sim_background''). However, since for MPICH2 and other implementations the workflow is slightly different, I would recommend the user to look at the respective tutorials corresponding to their local MPI flavor.
  
  
Line 96: Line 98:
 For other output files that are passed as arguments to [[Monitor]] objects for instance the same rules hold as  described in the [[#output files]] section. That is why there are a total of four files ''coba.*.e.ras''. Since all excitatory neurons are distributed across nodes, each [[TIFGroup]] corresponding to the excitatory cells writes its spikes to its own file. For the user that means that you will have to merge output if for instance you would like to plot all spikes in a raster plot. For other output files that are passed as arguments to [[Monitor]] objects for instance the same rules hold as  described in the [[#output files]] section. That is why there are a total of four files ''coba.*.e.ras''. Since all excitatory neurons are distributed across nodes, each [[TIFGroup]] corresponding to the excitatory cells writes its spikes to its own file. For the user that means that you will have to merge output if for instance you would like to plot all spikes in a raster plot.
  
-Multiple [[ras]] can be merged efficiently using linux command line syntax only and the following call will do the job+Multiple [[ras]] can be merged efficiently for combined analysis using linux command line syntax only and the following call will do the job
 <code shell> <code shell>
 sort -g -m coba.*.e.ras > coba.e.ras sort -g -m coba.*.e.ras > coba.e.ras
 </code> </code>
  
manual/parallel_execution.1413307635.txt.gz · Last modified: 2014/10/14 17:27 by zenke