Différences
Ci-dessous, les différences entre deux révisions de la page.
| 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:37] – admin | xeonphi [2020/02/05 15:48] (Version actuelle) – admin | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| ~~ODT~~ | ~~ODT~~ | ||
| + | <note warning> | ||
| + | XeonPHI cards are disabled in this node. | ||
| + | </ | ||
| ====== XeonPHI ====== | ====== XeonPHI ====== | ||
| Ligne 88: | Ligne 91: | ||
| </ | </ | ||
| - | <note tip> | + | <note tip> |
| 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 | + | [user@node1-51 |
| </ | </ | ||
| <WRAP center round important 60%> | <WRAP center round important 60%> | ||
| Ligne 202: | Ligne 205: | ||
| <code bash> | <code bash> | ||
| - | $ micnativeloadex ./hello.mic -e "export | + | $ micnativeloadex ./hello.mic -e " |
| </ | </ | ||
| Ligne 587: | Ligne 590: | ||
| - Compile the program for the coprocessor (-mmic) <code bash>$ mpiicc -mmic hello_mpi.c -o hello_mpi.mic</ | - Compile the program for the coprocessor (-mmic) <code bash>$ mpiicc -mmic hello_mpi.c -o hello_mpi.mic</ | ||
| - Set the '' | - Set the '' | ||
| - | - Launch MPI jobs on the coprocessor '' | + | - Launch MPI jobs on the coprocessor '' |
| <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</ | - Compile the program for the host <code bash>$ mpiicc -mmic hello_mpi.c -o hello_mpi</ | ||
| - Set the '' | - Set the '' | ||
| - | - 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 / | + | - 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/ |
| <WRAP center round important 60%> | <WRAP center round important 60%> | ||
| Ligne 738: | Ligne 741: | ||
| </ | </ | ||
| </ | </ | ||
| + | |||
| + | ===== 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 ====== | ||
| + | * {{: | ||
| * http:// | * http:// | ||
| * https:// | * https:// | ||