Comments (7)
For this ubermag environment, did you make sure to set python to 3.8 when you created it? After this, I would not try to do updates specifically to the ubermag environment install of python, and instead let conda work its dependencies magic when you tell it to conda update ubermag
. This may be related to your tcl issues. I have 2.0a2 installed which usurps the 2.0a1 installed by ubermag, and this works with no issues
When did you conda update ubermag
last? I ask this because in the most recent release, the need to install Docker was a result of the fixes implemented by Marijan to overcome the limitations of the Windows OS, and allow for more expansive boundary condition definitions which they had written some time ago (but which do not run in Windows). You’ll have to follow the Docker installation directions on their website for that part.
from workshop.
Hi @p-brane, I am sorry you still have problems installing Ubermag.
If you already have Python and OOMMF on you machine, you can install Ubermag and set-up Ubermag by following our "advanced installation" instructions: https://ubermag.readthedocs.io/en/latest/ipynb/advanced-installation.html. You can skip step 1 (since you already have Pyhton) and install Ubermag with pip
. Then you can set the environment path to oommf.tcl
.
It is strange conda installation does not cope well with previous installations of Python on your machine, because this is one of its main purposes - create nicely isolated environments to avoid any possible conflicts. But that's software and Windows :/
from workshop.
Hi @p-brane, any updates on this issue?
from workshop.
Hi @marijanbeg
I added the environmental variable OOMMFTCL variable and that help a lot. I only have two failures now! Would you provide some guidance on how to fix them?
=========================== short test summary info ===========================
FAILED tests/test_micromagnetictests.py::test_info_file - AssertionError
FAILED tests/test_micromagnetictests.py::test_multiple_drives - AssertionError
= 2 failed, 296 passed, 1 skipped, 5 deselected, 34 warnings in 895.20s (0:14:55)
Part of the first error message from init.py is shown below.
assert info['drive_number'] == 1
assert re.findall(r'\d{4}-\d{2}-\d{2}', info['date']) is not []
assert re.findall(r'\d{2}:\d{2}-\d{2}', info['time']) is not []
> assert info['driver'] == 'MinDriver'
E AssertionError
..\..\..\.conda\envs\ubermag\Lib\site-packages\micromagnetictests\calculatortests\info_file.py:75: AssertionError
The second error message is
> assert len(os.listdir(name)) == 5
E AssertionError
..\..\..\.conda\envs\ubermag\Lib\site-packages\micromagnetictests\calculatortests\multiple_drives.py:54: AssertionError
---------------------------- Captured stdout call -----------------------------
Running OOMMF (TclOOMMFRunner) [2020/07/09 01:02]... Start: "C:/Users/<user directory>/ubermag/test-ubermag/multiple_drives/drive-10/multiple_drives.mif"
Options: -exitondone 1 -threads 4
Boxsi version 2.0a2
from workshop.
Hi @p-brane, great, thank you for letting us know. Are you running tests in a clean directory?
from workshop.
Hi @marijanbeg
I deleted all the files and directors from past tests in my test directly and that fixed it. It ran 298 tests with no errors!!!
==== 298 passed, 1 skipped, 5 deselected, 34 warnings in 905.62s (0:15:05) ====
The Jupyter notobook runs so I'll start up the second session video this afternoon. Thank you all the help.
from workshop.
Amazing. Thank you for letting us know.
I am going to close this issue now, but as always, if you need any other support, please let us know :)
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.