Cartwright 2012 Spring
Computer Sciences 368 Scripting for CHTC
Day 14: Wrapper Scripts
1
Day 14: Wrapper Scripts 2012 Spring Cartwright 1 Computer - - PowerPoint PPT Presentation
Computer Sciences 368 Scripting for CHTC Day 14: Wrapper Scripts 2012 Spring Cartwright 1 Computer Sciences 368 Scripting for CHTC Turn In Homework 2012 Spring Cartwright 2 Computer Sciences 368 Scripting for CHTC Homework Review 2012
Cartwright 2012 Spring
1
Cartwright 2012 Spring
2
Cartwright 2012 Spring
3
Cartwright 2012 Spring
4
Cartwright 2012 Spring
5
Cartwright 2012 Spring
6
Cartwright 2012 Spring
7
Cartwright 2012 Spring
8
Cartwright 2012 Spring
9
Cartwright 2012 Spring
10
Cartwright 2012 Spring
11
Cartwright 2012 Spring
12
Cartwright 2012 Spring
✦ Command-line ✦ DAGMan pre-scripts ✦ local or scheduler universe
13
Cartwright 2012 Spring
14
Cartwright 2012 Spring
15
Cartwright 2012 Spring
16
Cartwright 2012 Spring
17
Cartwright 2012 Spring
18
Cartwright 2012 Spring
19
def my_system(command, shell=False): p = subprocess.Popen(command, shell=shell, stdout=subprocess.PIPE, stderr=subprocess.PIPE) (stdout, stderr) = p.communicate() return (p.returncode, stdout, stderr) status, stdout, stderr = my_system(['foo', 'arg'])
Cartwright 2012 Spring
20
Cartwright 2012 Spring
21
Cartwright 2012 Spring
22
Cartwright 2012 Spring
23
Cartwright 2012 Spring
24
Cartwright 2012 Spring
25
Cartwright 2012 Spring
26
Cartwright 2012 Spring
27
Cartwright 2012 Spring
28
Cartwright 2012 Spring
http://www.stanford.edu/~pgbovine/cde.html
29
Cartwright 2012 Spring
30
Cartwright 2012 Spring
31
Cartwright 2012 Spring
32