forked from nchopin/py-smc2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
finalruns.py
executable file
·48 lines (42 loc) · 1.19 KB
/
finalruns.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#! /usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import division
import subprocess
#nruns = 5
#for i in range(nruns):
# try:
# subprocess.call(["python", "launch.py", "userfiles/BSMCSVonesynth.py"])
# except:
# pass
# try:
# subprocess.call(["python", "launch.py", "userfiles/PMCMCSVonesynth.py"])
# except:
# pass
for i in range(1):
try:
subprocess.call(["python", "launch.py", "userfiles/BSMCSVonesynthotherh1.py"])
except:
pass
try:
subprocess.call(["python", "launch.py", "userfiles/BSMCSVonesynthotherh2.py"])
except:
pass
#nruns = 3
#processes = []
#for j in range(nruns):
# processes.append(subprocess.Popen(["python", "launch.py", "userfiles/SMC2SVmultiSP500.py"]))
#for j in range(nruns):
# processes[j].wait()
#
#processes = []
#for j in range(nruns):
# processes.append(subprocess.Popen(["python", "launch.py", "userfiles/SMC2SVoneSP500.py"]))
#for j in range(nruns):
# processes[j].wait()
#
#processes = []
#for j in range(nruns):
# processes.append(subprocess.Popen(["python", "launch.py", "userfiles/SMC2SVfixedrhoSP500.py"]))
#for j in range(nruns):
# processes[j].wait()
#