fix DEVSIM
See original GitHub issue Hi,
I was very happy when I learned that DEVSIM was integrated into gdsfactory (great work!). I updated it with the command:
pip install gdsfactory --upgrade
and then:
pip install gdsfactory[full]
I noticed that the DEVSIM package was installed: However, the integration with gdsfactory doesn’t works: Also I tried to find some functions into gdsfactory.simulation related with DEVSIM: and I didn’t find any function. Then I deleted and installed gdsfactory (and plugins) and the issues persisted.
Is there something I did wrong? Is there any step in the update that I didn’t do?
_Originally posted by @adophobr in https://github.com/gdsfactory/gdsfactory/discussions/799_
Issue Analytics
- State:
- Created a year ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
14. Command Reference - DEVSIM Manual
Returns a list of the equation numbers corresponding to each node in a region. Values are only valid when during the course of...
Read more >devsim - TCAD Semiconductor Device Simulator - GitHub
DEVSIM is a tool for TCAD Device Simulation, using finite volume methods. The source code is provided by DEVSIM LLC. Website: The official...
Read more >Question of solve - scripting - DEVSIM TCAD
I am new user of DEVSIM. Could you give me more details about the definition of “absolute_error” and “relative_error” in solve()?
Read more >DEVSIM Manual - Zenodo
Fixed bug with transient_tr (trapezoidal) time integration method in the devsim.solve(). (page 105) command where the wrong sign was used to integrate ...
Read more >DEVSIM: TCAD Semiconductor Device Simulator Development
Technology computer-aided design (TCAD) semiconductor device simulators solve partial differential equations (PDE) using the finite volume method (FVM), or ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The original poster was successfully loading devsim with the gdsfactory[full] package. Their issue was with a gdsfactory module load.
I avoided making the Intel MKL a pip dependency, because Anaconda users would potentially have 2 different MKL installs in the same environment, totaling over a GB in memory.
devsim supports other lapack and blas libraries by setting the DEVSIM_MATH_LIBS environment variable. The solver then switches from the Intel MKL Pardiso direct solver to SuperLU. This may result in numerical differences in the results. I will have an updated release soon, which will automatically search for libopenblas, liblapack, and then libblas if the Intel MKL is not installed.
With version 2.3.6 of devsim, it will search:
It will automatically switch from MKL Pardiso to SuperLU direct solver if the MKL libraries are not available.
Please see: https://github.com/devsim/devsim/blob/main/CHANGES.md