Trisurf Monte Carlo simulator
Samo Penic
2016-09-15 3cd5f4a96d445b55da8a7e6da8509bbd7d5d41b8
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'},
d58644 25     {'name':'altea','address':'127.0.0.1', 'runs':Runs, 'username':'samo'})
7169f1 26
SP 27 tsmgr.start(hosts)