ubermag / workshop

Workshop: Micromagnetics with Ubermag
BSD 3-Clause "New" or "Revised" License
27 stars 13 forks source link

Docker runner is not working #76

Closed adnanphyqau closed 3 years ago

adnanphyqau commented 3 years ago

Hello ubermag team, Thanks for your help, i installed the docker and its giving this rum time error of OOMMF(attached). Kindly help me

P.S: i am running "Spatially varying parameters 2" from workshop.

image

marijanbeg commented 3 years ago

Hi @adnanphyqau, thank you for your question. You do not need any code in cell 7 and you do not need to specify runner in cell 8. Everything should happen automatically.

After you installed Docker, please just run the tutorial notebook in its original (without any modifications) and please let us know if you get any errors.

adnanphyqau commented 3 years ago

Thanks for your response! yes it works perfectly without runner command! moreover, i installed ubuntu from Microsoft play store WSL 2 kernel also (see https://docs.docker.com/docker-for-windows/wsl/ ). I was also able to run the code with the docker runner command also. In summary, Docker must be in (Docker Desktop WSL 2 backend). One can check the docker is running in WSL 2 backend, like this (attached). image PS: Mirijanbe, If needed I can made a demo for people.

marijanbeg commented 3 years ago

Great, thank you for letting us know @adnanphyqau. If you could make a tutorial for other users, that would be amazing. We can make it part of our official documentation and acknowledge you as the contributor to Ubermag.

I am going to close this issue now, but please open a new issue regarding any discussion about the tutorial you want to make.

ZhiyuZhang001 commented 3 years ago

Thanks for your response! yes it works perfectly without runner command! moreover, i installed ubuntu from Microsoft play store WSL 2 kernel also (see https://docs.docker.com/docker-for-windows/wsl/ ). I was also able to run the code with the docker runner command also. In summary, Docker must be in (Docker Desktop WSL 2 backend). One can check the docker is running in WSL 2 backend, like this (attached). image PS: Mirijanbe, If needed I can made a demo for people.

I do need some help with docker runner tutorials.