Changeset 5148 for branches/uq/puq/get_params.py
- Timestamp:
- Mar 17, 2015, 3:18:04 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/uq/puq/get_params.py
r5029 r5148 1 1 #!/usr/bin/env python 2 from puq import * 3 import csv, sys, os 2 import sys 3 from puq import NormalParameter, UniformParameter, Sweep, RapptureHost, Smolyak 4 import csv, os 4 5 import numpy as np 5 6 from puq.jpickle import unpickle 7 8 sys.stdout = open("gp.out", 'w') 9 sys.stderr = open("gp.err", 'w') 10 6 11 7 12 dfile, pid, varlist, uq_type, args = sys.argv[1:] … … 9 14 hname = "puq_%s.hdf5" % pid 10 15 11 12 sys.stdout = open("gp.log", 'w')13 sys.stderr = open("gp.err", 'w')14 15 16 print sys.argv[1:] 16 17 varlist = unpickle(varlist) 17 18 print "varlist=", varlist 18 print type(varlist) 19 19 20 20 21 v = {}
Note: See TracChangeset
for help on using the changeset viewer.