Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
xeonphi [2015/11/10 15:38] – [Native mode] adminxeonphi [2020/02/05 15:48] (Version actuelle) – admin
Ligne 1: Ligne 1:
 ~~ODT~~ ~~ODT~~
  
 +<note warning>This documentation is obsolete. 
 +XeonPHI cards are disabled in this node.
 +</note>
 ====== XeonPHI ====== ====== XeonPHI ======
  
Ligne 88: Ligne 91:
 </code> </code>
  
-<note tip>Change directory to WORK (''cd WORK'') (because $HOME is readonly on all computing nodes)</note>+<note tip>Change directory to WORK (''cd WORK'') (because ''HOME'' is readonly on all computing nodes)</note>
  
 You can check the state of the MIC card by: You can check the state of the MIC card by:
Ligne 94: Ligne 97:
 <code bash> <code bash>
  
-[user@mesologin1 ~]$ micinfo+[user@node1-51 ~]$ micinfo
 </code> </code>
 <WRAP center round important 60%> <WRAP center round important 60%>
Ligne 587: Ligne 590:
    - Compile the program for the coprocessor (-mmic) <code bash>$ mpiicc -mmic hello_mpi.c -o hello_mpi.mic</code>    - Compile the program for the coprocessor (-mmic) <code bash>$ mpiicc -mmic hello_mpi.c -o hello_mpi.mic</code>
    - Set the ''I_MPI_MIC'' variable <code bash>export I_MPI_MIC=1</code>     - Set the ''I_MPI_MIC'' variable <code bash>export I_MPI_MIC=1</code> 
-   - Launch MPI jobs on the coprocessor ''mic0'' from the ''host'' you **MUST** give the full path to program (because WORK is shared with MIC) <code bash>mpirun -host mic0  -n 244 /Work/kmazouzi/hello_mpi.mic</code>+   - Launch MPI jobs on the coprocessor ''mic0'' from the ''host'' you **MUST** give the full path to program (because WORK is shared with MIC) <code bash>mpirun -host mic0  -n 244 /Work/Users/kmazouzi/hello_mpi.mic</code>
 <WRAP center round info 60%> <WRAP center round info 60%>
 Alternatively one can copy and login to the mic0 and run mpirun there) Alternatively one can copy and login to the mic0 and run mpirun there)
Ligne 601: Ligne 604:
   - Compile the program for the host <code bash>$ mpiicc -mmic hello_mpi.c -o hello_mpi</code>   - Compile the program for the host <code bash>$ mpiicc -mmic hello_mpi.c -o hello_mpi</code>
   - Set the ''I_MPI_MIC'' variable <code bash>export I_MPI_MIC=1</code>    - Set the ''I_MPI_MIC'' variable <code bash>export I_MPI_MIC=1</code> 
-  - Launch MPI jobs on the host node1-51 and on the coprocessor mic0 <code bash>$ mpirun -host node1-51 -n 1 ./hello_mpi : -n 244  -host mic0 /Work/kmazouzi/hello_mpi.mic</code> this will run 1 process on host (node1-51) and 244 on mic0. +  - Launch MPI jobs on the host node1-51 and on the coprocessor mic0 <code bash>$ mpirun -host node1-51 -n 1 ./hello_mpi : -n 244  -host mic0 /Work/Users/kmazouzi/hello_mpi.mic</code> this will run 1 process on host (node1-51) and 244 on mic0. 
  
 <WRAP center round important 60%> <WRAP center round important 60%>
Ligne 738: Ligne 741:
 </code> </code>
 </note> </note>
 +
 +===== Usefull env variables =====
 +
 +^Variable^possibile values ^ doc ^
 +|  MKL_MIC_ENABLE | 0, 1| enable or not Automatic MKL offload |
 +|  OFFLOAD_REPORT |0,1,2,3 | offload debug informations | 
 +|  OFFLOAD_DEVICES |{0,1,2,3} | choose device de offload |
 +|  MKL_MIC_X_WORKDIVISION | (X is id of device) | work division between the host and the coprocessor|
 ====== Benchmarks ====== ====== Benchmarks ======
  
Ligne 759: Ligne 770:
  
        
 +===== Applications =====   
  
 +  * [[Using XeonPhi with Matlab]]
 +  * Using XeonPhi with Python 
 ====== Links ====== ====== Links ======
  
 +  * {{:xphi.pdf|Short presentation on Xeon Phi}} 
   * http://www.prace-ri.eu/Best-Practice-Guide-Intel-Xeon-Phi-HTML   * http://www.prace-ri.eu/Best-Practice-Guide-Intel-Xeon-Phi-HTML
   * https://software.intel.com/sites/default/files/11MIC42_How_to_Use_MKL_Automatic_Offload_0.pdf   * https://software.intel.com/sites/default/files/11MIC42_How_to_Use_MKL_Automatic_Offload_0.pdf
  • xeonphi.1447169888.txt.gz
  • Dernière modification : 2015/11/10 15:38
  • de admin