Added enviroment. Stable version.

This commit is contained in:
Fernando P. Panadero 2024-02-23 16:47:10 +01:00
commit 7d14ab241a
5 changed files with 660 additions and 7 deletions

View file

@ -3,9 +3,6 @@ using TOML
using TimerOutputs
using ArgParse
using CUDA
using BenchmarkTools
function fP_fun()

View file

@ -58,7 +58,7 @@ function load_gauge_field()
end
f = open(parsed_args["c"],"r")
println(log_file,"MD5 checksum of gauge config: ",bytes2hex(md5(f),"\n"))
println(log_file,"MD5 checksum of gauge config: ",bytes2hex(md5(f)),"\n")
close(f)
Csw!(dws, U, gp, lp)
@ -186,11 +186,11 @@ end
function save_correlators()
ihdr = [convert(Int32,1708683512)]
fname = "./output"*params["Run"]["name"]*".bdio"
fname = "./output/"*params["Run"]["name"]*".bdio"
if isfile(fname)
fb = BDIO_open(fname, "a")
println(log_file,"Appending output to "*fname)
println(log_file,"\n\nAppending output to "*fname*"\n\n")
else
fb = BDIO_open(fname, "w", "BDIO output from sfcf.jl")
println(log_file,"Creating new BDIO output file "*fname)