Popular in Course
verified elite notetaker
Popular in Statistics
This 0 page Class Notes was uploaded by Orpha Swift on Sunday November 1, 2015. The Class Notes belongs to STA402 at Miami University taught by Staff in Fall. Since its upload, it has received 17 views. For similar materials see /class/233367/sta402-miami-university in Statistics at Miami University.
Reviews for StatisticalProgramming
Report this Material
What is Karma?
Karma is the currency of StudySoup.
You can buy or earn more Karma at anytime and redeem it for class notes, study guides, flashcards, and more!
Date Created: 11/01/15
Using Miami s High Performance Computing HPC Cluster to Run SAS STA402STA502 August 29 2008 Dave Woods woodsdm2muohioedu 529 1857 Outline 0 What is the HPC 0 Why would you want to use it o How to connect 0 Running SAS interactively 0 Running SAS as a batch job What is the HPC Redhawk I I x xxx gaff vv What is the HPC Redhawk o A major computing resource for researchers on campus 0 Interactiveloginhead node redhawkhpcmuohioedu o 128 dualCPU compute nodes 256 CPUs 0 Can only be accessed through the batch system 0 Measured performance of 12 X 1012 floating point operations per second on a standard linear algebra benchmark 0 Can run programs that are written to use multiple CPUs Why would you want to use the Redhawk HPC 0 Can run SAS without slowing down your PC 0 Can run in batch mode logout and get an email when your SAS program finishes 0 Batch mode also allows you to submit multiple SAS programs that can run at the same time subject to licensing limits Connecting to Redhawk o For details see quotConnecting to the Redhawk cluster using Windows or quotConnecting to the Redhawk cluster using a Mac document 0 Use three pieces of software 0 Terminal session provides command line access on cluster Putty or Xterm o Xwindow server runs on local PC to display graphical windows generated on the cluster Xming or X11 0 SCP used to transfer files to and from the cluster WinSCP or Fugu 0 Login using standard Miami unique ID and password Pu39l39l39Y first login H131 m n ma n XmingXll 0 Used to display graphical windows like the SAS interface 0 Only indication that it is running is an icon in the Windows system tray looks like a black X with a ring around it 0 Mac start X11 and then use xterm to connect to cluster 0 If you get an error like quotFatal IO error when you try to run SAS check to see if XmingXll is running WinSCPFugu Looks like Windows explorer can drag and drop files between your PC and the cluster 5 My Ducumenls r RedHawkr WinSCP Wmmm El 3 i E memi mi Srze hanged mgr 4111 1173 y s142nua 3 41 Wk a142nua 11 2 W4 1 WWW W mus2111151 1 W4 1 11 1521111712 m Xv 1244 vtasantadacx 142347 Mmsanome 4112uu 1n 1 masammmom 11555 14141514104412 51312111171145 W Undsw s ettevtasant1 144517 Mmsanome 2152uu5442 W 1112uu5 4 51 W 215211115 4 42 M 3 2uu7341 W 115211115 g 55 M y 152111171152 y Xv slam2mm 4 29 W4 41u2nm1u 1 W 21521111544 1521111711 33 y 215211115 4 42 W4 ans21111511 3 WV 532uu7 1 231 W7 arnwnns 1 1 g 1 1 3 7 1 1 gt DBaVZSZKBmEIaVB nBarSJBoKBmUarZos 11 1 2 1 4 cveatemectmy 1 1rquot 1 51an14 2175111 14411 g a gag snmx 11111122 Linux 0 Cluster runs Linux operating system 0 See quotWorking on the Redhawk Cluster for an introduction to Linux 0 Tips 0 Linux is casesensitive 0 Uses instead of in directory trees 0 Filesystem is shared with all users Your top level directory is quothomeltuniqueDgt 0 Avoid using spaces in filenames use instead Text Files 0 There is a slight difference in how text files are stored in Windows and Linux 0 When uploadingdownloading WinSCP will quottryquot to identify text files and reformat as needed 0 Files with names ending in quottxt will be handled correclty o For others force WinSCP to transfer in text mode I Click quotmorequot button on copy dialog box and select quotTextquot as the transfer mode when you know files are text files Running SAS interactively o On your PC oStart XmingXll 0 Use PuTTYXterm to connect to the cluster 0 Login 0 Type quotmodule load sas and press quotEnterquot this makes the SAS software available for use 0 Type quotsas and press quotEnterquot 0 SAS should start and open 7 Xwindows 0 Should look similar to SAS on Windows EH2 gun yew Inn s immmns 52m EH2 gun yew Inn s immmns 52m 112 attrlbutes and s rarles fram any last p1eese see We eurreht 5A5 f s an yaur 5A5 11b Far data and Examp Pkoc mcmmz mu prese retammended far EDnVEx tln WWS SA a re1eese ta SAS 9 t 7 me shuncms ntalned n the SAS hens met and 2s presented Pan quoth the quot sEbasequot a reetary ta mg m Favume Fumevs This message 5 E nltlahzatlan Edlt the me ensquot n m 1 Hum DM W dlsplay ssteespeeme hens and nfannatlan n the pragram 1 The cmmnand hhe aptlan quotehahepsquot mn prevent thls dlsplay om 5A5 nltlahzatlan used real tune 4pm secands epu tune u 24 secands mum ms bald fant metrlcs ten ta meteh ms fant EH2 gun yew Inn s un immmns ew mm Running SAS in batch mode 0 Allows access to compute nodes 0 License allows SAS to run on 8 CPUs 0 Can submit a batch job and logout 0 Can submit multiple batchs jobs at the same time 0 Save SAS code in a file and upload it to the cluster 0 Remember to tell WinSCP to transfer in text mode 0 Write a batch job script to run the SAS code oAnother text file oSee example Example SAS Batch job script ibihbash l the line above this is required and must be the first line in the script the next line specifies a name for the job quotsas testquot PBS N sas test the next line specifies how many CPUs to use SAS can only use l PBS l hodeslpphl the next line specifies which batch queue to use use quotsasquot for SAS PBS q sas the next line specifies how long the job is allowed to run l0 hours PBS l walltimelOOO the next line specifies to send e mail when the job ehds PBS m ae module load sas sas sascodesas 0 PBS N sas test names the job quotsastest can use any name you want No restrictions on naming script file To submit type quotqsub ltscriptnamegt and press enter Will get JobID something like quot12345munx37hpcmuohioeduquot the quot12345quot is the job number Do quotqstat ltjobnumbergt to see status of a job Will get mail at your ltuniqueDgtmuohioedu accout when the job finishes Job Output 0 Can be controlled in the SAS code 0 All other output will be caputed by the batch job system 0 Files named quotltjob namegtoltjob numbergt and quotltjob namegteltjobnumbergt o quotltjobnamegt comes from the PBS N ltnamegt line in the job script See quotWorking with batch jobs on the Redhawk Cluster document for more information
Are you sure you want to buy this material for
You're already Subscribed!
Looks like you've already subscribed to StudySoup, you won't need to purchase another subscription to get this material. To access this material simply click 'View Full Document'