This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
cluster:103 [2011/12/21 20:31] hmeij [Best Practices] |
cluster:103 [2011/12/22 19:34] (current) hmeij [Submit 2] |
||
---|---|---|---|
Line 133: | Line 133: | ||
On the back end compute nodes, unless specified, the job runs inside your home directory. | On the back end compute nodes, unless specified, the job runs inside your home directory. | ||
+ | |||
+ | In the SAS program we add the following lines | ||
+ | |||
+ | < | ||
+ | %let jobpid = %sysget(LSB_JOBID); | ||
+ | libname here "/ | ||
+ | </ | ||
+ | |||
+ | And change this line to use local disks for storage | ||
+ | |||
+ | < | ||
+ | data here.one; | ||
+ | </ | ||
+ | |||
+ | In the submission script we change the following | ||
* new submission file with edits | * new submission file with edits | ||
Line 139: | Line 154: | ||
* scheduler creates unique dirs in scratch by JOBPID for you, so we'll stage the job there | * scheduler creates unique dirs in scratch by JOBPID for you, so we'll stage the job there | ||
* but now we must copy relevant files //to// scratch dir and results back //to// home dir | * but now we must copy relevant files //to// scratch dir and results back //to// home dir | ||
+ | |||
< | < |