Daniel Wheeler

Results 132 comments of Daniel Wheeler

Hi @cheongw: could you perhaps post a working code snippet (with library imports)? I'm not sure why you're getting this error. Remember that Sfepy isn't necessary to use PyMKS, but...

Could you post the version of PyMKS that you're using and the version of Sfepy?

Your problem is probably related to [this](https://github.com/materialsinnovation/pymks/issues/585#issuecomment-1359891909). I would recommend reverting Sfepy to version 2022.1 for now.

You could try `pip install sfepy==2022.1` or if you're using conda `conda install sfepy=2022.1` or similar. You may need to use the `--force-reinstall` with pip, but (I think) conda automatically...

> Based on the below error messages, sfepy==2022.1 does not seemed to be available in the resource location. It looks like pip doesn't have older versions. You would have to...

Double check that you have actually installed the correct version. $ python -c "import sfepy; print(sfepy.__version__)"

Sorry for the slow response. Try with version 2020.4 of Sfepy. I have a working environment with 2020.4 of Sfepy and PyMKS version 0.4.1.

@owaisahmad18 the output from PyMKS is just a Numpy array which you can save in a variety of formats. I suspect that MCRpy would also be using Numpy arrays so...

That's fine. If `store_dir` is `None` then maybe use the [temporary directory](https://docs.python.org/3/library/tempfile.html)?

Hi @Gobas100, FiPy works with [Scikit-fmm](https://github.com/scikit-fmm/scikit-fmm). I would use that instead. I'm not sure how well maintained LSMLIB is, but far more likely that Scikit-fmm is still installable.