computationalmodelling / fidimag

Finite DIfference microMAGnetic code, based on Python, Cython and C
http://computationalmodelling.github.io/fidimag/
Other
60 stars 24 forks source link

example isolated_skyrmion is not workding #128

Closed zhouxzh closed 5 years ago

zhouxzh commented 5 years ago

I just install the docker fidimag/notebook. I just run the example isolated_skyrmion. I just find out the error: 'LLG' object has no attribute 'driver'. I also try another example in the document, and I find the similar error. It seem the code changed quite a lot after these examples were created.

davidcortesortuno commented 5 years ago

Hi, yes, the Docker images from Docker hub are quite outdated now, we need to upgrade them to a latest Fidimag version.

For now, it is possible to build the travis Docker image by doing

docker build -t fidimag -f ./docker/travis/Dockerfile .

from the main Fidimag directory. You can also use the Binder Docker image at ./ with

docker build -t fidimag -f ./Dockerfile .

which are going to build the latest version of Fidimag. Then you can call the Docker image with the name you specified. Following any of the previous steps, this means

docker run -v `pwd`:/io -p 30008:8888 fidimag
rpep commented 5 years ago

Hi Zhou,

We'll assume this is fixed now - please let us know if you're still having trouble,

Best wishes, Ryan