Trisurf Monte Carlo simulator
Samo Penic
2016-07-09 9e5a9c0f110d3ed02751c9d44a3716caa6010a70
commit | author | age
7169f1 1 from trisurf import trisurf
SP 2 from trisurf import tsmgr
3
4
5
6
7 #Ok... Configure your keys:
8 #ssh-keygen
9 #and copy them to all the remote hosts
10 #ssh-copy-id -i ./ssh/id_rsa.pub username@remotehost
11
12 run2=trisurf.Runner(tape='tape')
13 run2.setMaindir(("N","k","V","Np","Nm"),("nshell","xk0","constvolswitch","npoly","nmono"))
14 run2.setSubdir("run1")
15
16 run3=trisurf.Runner(tape='tape')
17 run3.setMaindir(("N","k","V","Np","Nm"),("nshell","xk0","constvolswitch","npoly","nmono"))
18 run3.setSubdir("run2")
19
20
21
22 Runs=[run2, run3]
23
24 hosts=({'name':'natalie','address':'kabinet.penic.eu', 'runs':Runs, 'username':'samo'},
25     {'name':'Hestia','address':'127.0.0.1', 'runs':Runs, 'username':'samo'})
26
27 tsmgr.start(hosts)