Trisurf Monte Carlo simulator
Samo Penic
2017-01-04 97264e53840b3544fef002d30cb80d6e9942139b
commit | author | age
97264e 1 #!/usr/bin/python3
7169f1 2 from trisurf import trisurf
SP 3 from trisurf import tsmgr
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
97264e 25 hosts=({'name':'Hestia','address':'kabinet.penic.eu', 'runs':Runs, 'username':'samo'},
d58644 26     {'name':'altea','address':'127.0.0.1', 'runs':Runs, 'username':'samo'})
7169f1 27
SP 28 tsmgr.start(hosts)