Trisurf Monte Carlo simulator
Samo Penic
2017-01-04 3fc0ef33e7a09a04a9f9055f9085e64255e62299
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
#!/usr/bin/python3
from trisurf import trisurf
from trisurf import tsmgr
 
 
 
 
#Ok... Configure your keys:
#ssh-keygen
#and copy them to all the remote hosts
#ssh-copy-id -i ./ssh/id_rsa.pub username@remotehost
 
run2=trisurf.Runner(tape='tape')
run2.setMaindir(("N","k","V","Np","Nm"),("nshell","xk0","constvolswitch","npoly","nmono"))
run2.setSubdir("run1")
 
run3=trisurf.Runner(tape='tape')
run3.setMaindir(("N","k","V","Np","Nm"),("nshell","xk0","constvolswitch","npoly","nmono"))
run3.setSubdir("run2")
 
 
 
Runs=[run2, run3]
 
hosts=({'name':'Hestia','address':'kabinet.penic.eu', 'runs':Runs, 'username':'samo'},
    {'name':'altea','address':'127.0.0.1', 'runs':Runs, 'username':'samo'})
 
tsmgr.start(hosts)