Comments (21)
Hi @Jyotisaini-jnu !
To my knowledge, there's no need to configure a WSL 2 Linux Kernel & integrate it into your Windows 10 system. This is not a bad thing, but as far as I know, you do not need to go as above and beyond as you have done. This does, however, give you a nice Linux development kernel within your Windows OS, which is, in my opinion, pretty neat!
I would say that with installing Docker Desktop, you should only need to go as far as being able to run the command
docker run hello-world
in your Windows command-line utility (I recommend using Microsoft's Terminal utility for this--let me know if you're interested in this & I can direct you, it provides nice integration with the WSL kernels & looks very pretty!). I am not aware of whether a docker account is necessary for this or not.
After successful installation of Docker Desktop to the degree such that you can run the above command in cmd
or related utility, and with an updated ubermag version to 0.23, you will find useful information in this notebook:
https://github.com/ubermag/workshop/blob/master/tutorials/choosing-runner.ipynb
So, let me try to be concise:
- Install Docker Desktop to where you can run
docker run hello-world
in the windows command-line utility - Ensure your ubermag is fully updated to 0.23 within your ubermag environment
- Run the linked notebook to see if everything works as expected (you should be able to explicitly call the docker runner and equally function as if there is no need to explicitly call it, as the process is automated)
FYI when you first call the docker runner, it will take a bit of time, perhaps a minute or more, while the docker image is pulled down and built on your local machine, after this, it will take mere seconds to run.
Please, if this does not make sense, let me know how I can clarify it further?
from workshop.
Hi @Jyotisaini-jnu, thank you for your question. I agree with @catrevil - if you install Docker and it is running, that's it. You do not need to log in to DockerHUB.
from workshop.
Hi @marijanbeg and @catrevil Sir.....Thanks for the replies. Actually ....after first try of Docker installation WSL 2 Linux Kernel failed comes in a dialogue box....... So, i thought may be it is important to install WSL2 . So...I reinstalled Docker with WSL 2 Linux Kernel.....
from workshop.
Yes sir (@catrevil ) your guided steps are pretty clear to me ......Thank you ......I will try it and definitely let you know about further difficulties....
from workshop.
Hi @Jyotisaini-jnu, have you managed to install Docker on your Windows machine?
from workshop.
Hello Sir (@marijanbeg ) everything is fine know and installed properly .....Thank you so much .....
from workshop.
Great, thank you for letting us know.
from workshop.
Hii jyotisaini-jnu
Has docker worked properly?
I am stuck with that in ubermag i could not run docker. Errors occured no such file or directory 'docker'. If you solved prolem please tell me how you did.
from workshop.
@gaurav123shukla do you have Docker Desktop installed? What platform are you running?
from workshop.
Yes sir I have istalled docker desktop,aloso it is running.I am using windows 10 machine. Sir I have submiited image in new issue also.
from workshop.
@gaurav123shukla great! And are you successful when you run the
docker run hello-world
command?
What version of ubermag/oommfc are you running (what version is listed when you run conda list
)?
For both of these questions, you are best to run them within your conda ubermag environment. That is, within a conda command prompt, you will write
conda activate ubermag
to access the environment that you made when you installed ubermag via miniconda.
If you do not understand any of these parts, please, let me know?
from workshop.
Hi @gaurav123shukla .......I have just installed Docker and run the above mentioned command" docker run hello-world" in Anaconda Prompt, steps are shown in the attached word file including update check. But i did not run the codes yet.....Whenever i will run the commands i will tell you...Thankyou
Docker run hello world command.docx
from workshop.
from workshop.
Thanks sir :
Docker is working now ( when i run oommf a notification comes from the side of docker to" share" and no error such as above as i asked ).But sir for the crystal class Cnv again run time error is ocuuring.
Here sir I am sending ipynb file. Please sir check in your machine that error is occuring or not.
skyrmion.zip
from workshop.
@gaurav123shukla what version of ubermag/oommfc are you running? I know what your issue is & how to fix it depending on the answer to this question I have asked :)
Within your conda ubermag environment, you would run conda list
, then tell me the associated version numbers :)
from workshop.
Thanks sir for giving hope to me ;
Here i am attaching my conda list.Please find attachment
from workshop.
It looks like you don’t have Docker installed in that environment. Also, I notice you are still in (base), it is highly recommended you have a dedicated (ubermag) environment to run ubermag, so that you can avoid any compatibility issues or clashing modules/packages.
from workshop.
Sir
When i have to open jupyter notebook; I do open anoconda prompt cell , the i type conda activate ubermag then base change to ubermag and the type jupyter notebook. My apology sir, I send above jpg pictures without activate ubemag.
Sir how we installed docker in above mentioned ubermag. Sir please help me for it.
from workshop.
Hi @gaurav123shukla, the error you get actually is thrown by OOMMF because the initial magnetisation state you defined is not valid. It has nothing to do with docker or ubermag. I would suggest you have a look more carefully at the examples we provide. Unfortunately, from the m_init
function, I cannot figure out what initial state you wanted to use. Maybe if you give me more details about what state you want.
I see there is a duplicate question on this topic from you in open issues, so I am going to close that one. Please feel free to continue discussion here.
from workshop.
@marijanbeg it seems that it throws the same error as it would have before, when the tcloommfrunner
on Windows was unable to handle the additional crystal class definitions.
Is there a way to make the error more explanative?
Or is it that it is the same error as before because it is also not a valid magnetic state/input to oommf?
from workshop.
Thanks marijanbeg sir, Now it is fine , I was incorrect in initial magnetization. Sir can u please attach here at least one or two ipynb file containing the initial magnetization state for skyrmion structure. Sir one file was in tutorial (skyrmion in a disk) but beside it if u have please attach it sir. It would be great support for me sir. As I am beginner, so i am facing basics problems sir. But i learnt a lot from tutorial. Thnaks sir
from workshop.
Related Issues (20)
- lastomffile not found HOT 2
- Running too long using preinstalled OOMMF HOT 3
- Negative value of anisotropy HOT 1
- Generating .mif files HOT 1
- Ubermag in Jupyter Lab HOT 1
- paralization in ubermag HOT 1
- Systematic study of variation of skyrmion velocity with skyrmion size HOT 1
- The arrows indicating magnetization cannot appear in the 2D mapping. How to make them appear? If we use periodic boundary condition in the xz plane, can we also add the demagnetization energy term? Thank you! HOT 5
- Hysteresis Loops HOT 2
- dipole-dipole interactions HOT 1
- import mumax3c as mc is not working HOT 1
- md.drive(system) error! HOT 2
- Docker runner is not working HOT 4
- #TOPOLOGICAL CHARGE ATTRIBUTE ERROR HOT 3
- D2d DMI Specification
- Workshop ideas
- Hysteresis loop
- AttributeError: Object has no attribute k3d_vector. HOT 1
- Issues when installing oommf
- ppt slides and codes not available
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from workshop.