Hi there!
I’m running some stuff in a cluster… Due to this take long time calculations I would like to follow some kind of output file to know how it is going… It seems that inside a loop the output file is not modified step by step, on the contrary the entire file is written at the end of the loop.
Here an basic example:
f = open(“geek.txt”, “w”)
for i=1:10
sleep(3)
println(f, “$i\n”)
end
close(f)
Any idea how I can follow the execution in long time calculations?
Thanks in advance!
Best,
Crist.