Changes between Version 19 and Version 20 of cypress/XeonPhi


Ignore:
Timestamp:
10/21/15 11:16:51 (9 years ago)
Author:
cmaggio
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • cypress/XeonPhi

    v19 v20  
    11= Programming for the Xeon Phi Coprocessor on Cypress =
    2 
    3 ==== Workshop Reminder ====
    4 To take advantage of the workshop QOS:
    5 {{{#!bash
    6 export MY_PARTITION=workshop
    7 export MY_QUEUE=workshop
    8 idev -c 4 --gres=mic:0
    9 }}}
    10 
    11 To follow along, you can copy the source code and submission scripts
    12 {{{
    13 cp -r /lustre/project/workshop/PhiExamples/ .
    14 }}}
    152
    163The Xeon Phi coprocessor is an accelerator used to provide many cores to parallel applications. While it has fewer threads available than a typical GPU accelerator, the processors are much "smarter" and the programming paradigm is similar to what you experience coding for CPUs.
     
    154141* Get onto a compute node using idev
    155142{{{
    156 [tuhpc002@cypress1 Day2]$ export MY_PARTITION=workshop
    157 [tuhpc002@cypress1 Day2]$ export MY_QUEUE=workshop
    158143[tuhpc002@cypress1 Day2]$ idev -c 4 --gres=mic:0
    159 Requesting 1 node(s)  task(s) to workshop queue of workshop partition
     144Requesting 1 node(s)  task(s) to normal queue of default partition
    1601451 task(s)/node, 4 cpu(s)/task, 2 MIC device(s)/node
    161146Time: 0 (hr) 60 (min).
     
    271256Let's start out in interactive mode and then we will look at job submission:
    272257{{{#!bash
    273 export MY_PARTITION=workshop
    274 export MY_QUEUE=workshop
    275258idev -c 4 --gres=mic:0
    276259}}}
     
    464447{{{#!bash
    465448#!/bin/bash
    466 #SBATCH --qos=workshop          # Quality of Service
    467 #SBATCH --partition=workshop    #Partition
     449#SBATCH --qos=normal            # Quality of Service
    468450#SBATCH --job-name=nativeTest   # Job Name
    469451#SBATCH --time=00:10:00         # WallTime
     
    625607{{{#!bash
    626608#!/bin/bash
    627 #SBATCH --qos=workshop          # Quality of Service
    628 #SBATCH --partition=workshop    #Partition
     609#SBATCH --qos=normal            # Quality of Service
    629610#SBATCH --job-name=offloadTest   # Job Name
    630611#SBATCH --time=00:10:00         # WallTime
     
    654635* Minimal data transfer
    655636
    656 
    657 == Future Training ==
    658 We've only scratched the surface on the potential of the Xeon Phi coprocessor. If you are interested in learning more, Colfax International will be giving two days of instruction on coding for the Xeon Phi at Tulane at the end of September. Interested parties can register at
    659 
    660 CDT 101:  http://events.r20.constantcontact.com/register/event?oeidk=a07eayq4gvha16a1237&llr=kpiwi7pab
    661 
    662 CDT 102:  http://events.r20.constantcontact.com/register/event?oeidk=a07eayqb5mwf5397895&llr=kpiwi7pab
    663 
    664 [[Image(ColfaxInvite.png, center, 80%)]]