mumax / 3

GPU-accelerated micromagnetic simulator
Other
447 stars 150 forks source link

Running error "/log.txt: no such file or directory" #320

Closed zkhodzhaev closed 1 year ago

zkhodzhaev commented 1 year ago

Hi,

What could be the reason for this error (running on HPC):

//output directory: 227.158.Ku0p743e6_pol0p4_40ns_1500ns_temp223_strip1p3_Ku0p3_jan9227.out/ //mumax 3.10 [linux_amd64 go1.14(gc) CUDA-11.0] //GPU info: NVIDIA A100-PCIE-40GB(40536MB), CUDA Driver 11.4, cc=8.0, using cc=80 PTX //(c) Arne Vansteenkiste, Dynamat LAB, Ghent University, Belgium //This is free software without any warranty. See license.txt //****// // If you use mumax in any work or publication, // // we kindly ask you to cite the references in references.bib // //****// //output directory: 227.158.Ku0p743e6_pol0p4_40ns_1500ns_temp223_strip1p3_Ku0p3_jan9227.out/ panic: open 227.158.Ku0p743e6_pol0p4_40ns_1500ns_temp223_strip1p3_Ku0p3_jan9227.out/log.txt: no such file or directory

goroutine 1 [running, locked to thread]: github.com/mumax/3/engine.initLog() /home/jmulkers/GO/src/github.com/mumax/3/engine/log.go:63 +0x1e9 github.com/mumax/3/engine.InitIO(0x7ffd3a5d59c0, 0x47, 0xc00039a2d0, 0x48, 0x0) /home/jmulkers/GO/src/github.com/mumax/3/engine/od.go:45 +0x17d main.runScript(0x7ffd3a5d59c0, 0x47) /home/jmulkers/GO/src/github.com/mumax/3/cmd/mumax3/main.go:101 +0xd6 main.runFileAndServe(0x7ffd3a5d59c0, 0x47) /home/jmulkers/GO/src/github.com/mumax/3/cmd/mumax3/main.go:92 +0x67 main.main() /home/jmulkers/GO/src/github.com/mumax/3/cmd/mumax3/main.go:59 +0x179 panic: open 227.158.Ku0p743e6_pol0p4_40ns_1500ns_temp223_strip1p3_Ku0p3_jan9227.out/log.txt: no such file or directory

MathieuMoalic commented 1 year ago

Hi,

It might be you don't have write permission to the 227.158.Ku0p743e6_pol0p4_40ns_1500ns_temp223_strip1p3_Ku0p3_jan9227.out directory. Did you try deleting the directory before starting the simulation ? Could it be because the name is too long ? ( probably not but it's worth checking )

zkhodzhaev commented 1 year ago

Thank you for your response.

  1. I am checking the long name
  2. It creates the .out file:
image

I don't know why, but, every time I am getting different errors, this is from the previous run (I am using mask):

image
zkhodzhaev commented 1 year ago

Ok, I don't know why, but, shortening the name worked.

zkhodzhaev commented 1 year ago

Also, it is good to hear from you Mathieu, I didn't recognize you without an avatar pic.