mumax / 3

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

Failed to cache kernel #227

Closed Tkoskamp closed 5 years ago

Tkoskamp commented 5 years ago

When using mumax3 v3.10 trying to run my simulation for a skyrmion, I get the following error:

//Did not use cached kernel: open /tmp/mumax3kernel[256 128 1][0 0 0]_[1e-9 1e-9 1e-8]_60 0.ovf: The system cannot find the path specified //Calculating demag kernel 0% //Calculating demag kernel 100% //Failed to cache kernel: open /tmp/mumax3kernel[256 128 1][0 0 0][1e-9 1e-9 1e-8]_6_0 0.ovf: The system cannot find the path specified

I looked at the closed and open issues , but couldn't find something similar, sorry if I missed it. In spite of the error, my simulations seems to work, I don't know if this error affects the results.

kkingstoun commented 5 years ago

Are you using mumax on windows? This bug is already fixed but will be published in the new release.

pon., 15 kwi 2019 o 04:36 Tkoskamp notifications@github.com napisał(a):

When using mumax3 v3.10 trying to run my simmulation for a skyrmion, I get the following error: //Did not use cached kernel: open /tmp/mumax3kernel_[256 128 1][0 0 0][1e-9 1e-9 1e-8]

6_0 0.ovf: The system cannot find the path specified //Calculating demag kernel 0% //Calculating demag kernel 100% //Failed to cache kernel: open /tmp/mumax3kernel[256 128 1][0 0 0][1e-9 1e-9 1e-8]_6_0 0.ovf: The system cannot find the path specified

I looked at the closed and open issues and couldn't find something similar, sorry if I missed it. In spite of the error, my simulations seems to work, I don't know if this error affects the results.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mumax/3/issues/227, or mute the thread https://github.com/notifications/unsubscribe-auth/APdR-kHcsMrd_M3y8o6j3u8vjfu_zrqYks5vg-XDgaJpZM4cvB1- .

-- Mateusz Zelent

Tkoskamp commented 5 years ago

Yes, I am using mumax on windows. Can I fix it easily by my self, or do I rather wait on the next release? And is there a date scheduled for this?

kkingstoun commented 5 years ago

You have to recompile mumax, using Master branch.

Tkoskamp commented 5 years ago

Thanks for your help!

JeroenMulkers commented 5 years ago

Bug resolved in 3e5122d5

Tkoskamp commented 5 years ago

After installing the master source, it does not show the error anymore, but it still shows the this line:

//Did not use cached kernel: open C:\Users\Tjacco\AppData\Local\Temp/mumax3kernel[256 256 1][0 0 0]_[1e-09 1e-09 1e-08]_6_0 0.ovf: The system cannot find the file specified.

I do not know if this is intended, or still some bug.

JeroenMulkers commented 5 years ago

It is intended. The first time you run a simulation with a certain grid, the kernel is not yet cached, and hence it does not find a cache file. This message should not appear if you run again a simulation with the same grid.

Let us know if the message keeps appearing when you run the simulation multiple times. If this is the case, there might be something wrong.

Tkoskamp commented 5 years ago

I see, the next run disappeared indeed. Thanks for the response