Auryn simulator

Simulator for spiking neural networks with synaptic plasticity

User Tools

Site Tools


manual:xeonphi

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
Next revisionBoth sides next revision
manual:xeonphi [2014/07/10 08:16] – Adds detailed setup and compile description. zenkemanual:xeonphi [2014/07/22 11:25] – Adds link to Intel homepage zenke
Line 1: Line 1:
-====== Running Auryn simulations on the Intel Xeon Phi (MICarchitecture ======+====== Running Auryn simulations on the Intel® Xeon Phi™ Product Family (MIC architecture======
  
-The following section is highly experimental. To compile Auryn in native mode for the Intel Xeon Phi cards the following steps worked. Requirements: First, use the newest Auryn development version, which does not compile against GSL any more. This saves you some extra troubel in compiling GSL. Second, you need the Intel Composer suite. Third, you need the boost libraries (see [[required libraries]]) compiled for the intel MIC architecture ideally using the Intel MPI implementation which is native to Xeon and the Xeon Phis. +The following section is experimental. To compile Auryn in native mode for the [[http://www.intel.com/content/www/us/en/processors/xeon/xeon-phi-detail.html|Intel Xeon Phi]] cards the following steps worked. Requirements: First, use the newest Auryn development version, which does not compile against GSL any more. This saves you some extra troubel in compiling GSL. Second, you need the Intel Composer suite. Third, you need the boost libraries (see [[required libraries]]) compiled for the intel MIC architecture ideally using the Intel MPI implementation which is native to Xeon and the Xeon Phis.  
 + 
 +This has been tested for the development version available on [[https://github.com/fzenke/auryn|GitHub]] as commit ''5b02d058844ea9b6344cc4e94491c10cf5ea0522''.
  
 ===== Compiling Boost for Xeon Phi/MIC ===== ===== Compiling Boost for Xeon Phi/MIC =====
Line 16: Line 18:
 </code> </code>
  
-===== Building Boost for Xeon Phi/MIC =====+===== Preparing Auryn for Xeon Phi/MIC ===== 
 + 
 +To run smoothly on the architecture and to make efficient use of vectorization you need to set the following switches in the ''auryn_definitions.h'' in the ''src/'' directory of Auryn. In particular you have to deactivate prefetching and activate SIMD instructions with Intel CILK Plus support.  
 +To do so find the following precompile directives in ''auryn_definitions.h'' and un/comment them accordingly: 
 +<code c++> 
 +// #define CODE_ACTIVATE_PREFETCHING_INTRINSICS 
 +#define CODE_USE_SIMD_INSTRUCTIONS_EXPLICITLY 
 +#define CODE_ACTIVATE_CILK_INSTRUCTIONS 
 +</code> 
 + 
 +===== Building Auryn for Xeon Phi/MIC =====
  
 With this done one simply has to create a new subdir in the Auryn build directory and add the following Makefile: With this done one simply has to create a new subdir in the Auryn build directory and add the following Makefile:
manual/xeonphi.txt · Last modified: 2014/12/15 12:54 by zenke