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