Advanced Computing Platform for Theoretical Physics

Commit 60db697e authored by MrLinNing's avatar MrLinNing
Browse files

run.sh

parent d4d8ef45
......@@ -148,7 +148,7 @@ if __name__ == '__main__':
int(tn.maxdim_intermediate)))
print("beta.grad={:.15g}".format(beta.grad.item()))
if args.output:
with open('{}_n={}_seed1_{}.txt'.format(args.graph,args.n,args.seed1),'a') as fp:
with open('{}_n={}_seed1_{}_beta_{}.txt'.format(args.graph,args.n,args.seed1,args.beta),'a') as fp:
fp.write('{} {:.15g} {:.15g}\n'.format(args.which,lnZ_tn.item(),beta.grad.item()))
fp.close()
'''
......
#!/bin/bash
#var_which=1
#var_seed=10000
for ((i=1;i<=3;i+=1))
do
varW=$((i))
for j in {1,10}
do
vars=$((j))
python lnz.py -graph read_from_file -Dmax -1 -node raw -choice 1 -seed1 $vars -seed 5 -permutation -which $varW -beta 3 -output
done
done
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment