For the upcoming 2.9.0 release, there are changes to how the vtk file format will be written. If you are using this format, please try testing this prelease version and seeing if you are able to use it.
The main purpose of this is to support use of the Python distributed directly from https://python.org, who do no provide the zlib library as part of their distribution.
Dear Juan,
i tried devsim-2.8.5-cp37-abi3-win_amd64.whl and I get the following errors
(py311) PS C:\work\python_scripts\devsim> python .\si_pin_diode.py
Searching DEVSIM_MATH_LIBS="libopenblas.dll;liblapack.dll;libblas.dll"
Loading "libopenblas.dll": MISSING DLL
Loading "liblapack.dll": MISSING DLL
Loading "libblas.dll": MISSING DLL
Error loading math libraries. Please install a suitable BLAS/LAPACK library and set DEVSIM_MATH_LIBS. Alternatively, install the Intel MKL.
Could not find Intel MKL. The maximum tested version is "mkl_rt.2.dll"
Windows returned error 126 while trying to load "libopenblas.dll"
Windows returned error 126 while trying to load "liblapack.dll"
Windows returned error 126 while trying to load "libblas.dll"
Traceback (most recent call last):
File "C:\work\python_scripts\devsim\si_pin_diode.py", line 9, in <module>
from devsim import *
File "C:\work\py311\Lib\site-packages\devsim\__init__.py", line 8, in <module>
from .devsim_py3 import *
RuntimeError: Issues initializing DEVSIM.
It looks like the zlib.dll is not an issue any more. I think that the DEVSIM_MATH_LIBS is still wrong. It has to be set to path_to_python_env\Library\bin for windows. This is the path where MKL dlls are installed.
This release only fixes the missing zlib issue on Windows. For people using the Python from https://python.org, as reported in ImportError: DLL load failed while importing devsim_py3, they need to set their PATH variable to the Intel MKL location, or copy them to the devsim directory in the Python site-packages.
Thanks for testing the release. If you are a user of the “vtk” file format when writing simulation results, can you check to see you have any issues visualizing the results?