Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to cache kernel #227

Closed
Tkoskamp opened this issue Apr 15, 2019 · 8 comments
Closed

Failed to cache kernel #227

Tkoskamp opened this issue Apr 15, 2019 · 8 comments

Comments

@Tkoskamp
Copy link

Tkoskamp commented Apr 15, 2019

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]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 , 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.

@Tkoskamp Tkoskamp changed the title Faile to cache kernel Failed to cache kernel Apr 15, 2019
@kkingstoun
Copy link
Contributor

kkingstoun commented Apr 15, 2019 via email

@Tkoskamp
Copy link
Author

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
Copy link
Contributor

You have to recompile mumax, using Master branch.

@Tkoskamp
Copy link
Author

Thanks for your help!

@JeroenMulkers
Copy link
Collaborator

Bug resolved in 3e5122d

@Tkoskamp
Copy link
Author

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
Copy link
Collaborator

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants