Import problem - Very first steps

207 views
Skip to first unread message

Sebastian Sommer

unread,
Aug 1, 2019, 10:38:27 AM8/1/19
to DEVSIM TCAD
Hi Y'all,

I am very new to Devsim and also to Python. I downloaded Python for Windows and set the pythonpath as user defined variable. I am however still unable to import Devsim. The following error message is shown:

>>> import devsim
Traceback (most recent call last):
  File "<pyshell#0>", line 1, in <module>
    import devsim
  File "C:\devsim\devsim_win64_v1.4.1\lib\devsim\__init__.py", line 8, in <module>
    from .devsim_py3 import *
ImportError: DLL load failed: Das angegebene Modul wurde nicht gefunden.

The last line says "The specified module was not found." As this message is in the operating systems language (German), I would guess that the error is not directly related to Devsim?
Any help would be very much appreciated.

Best regards

Sebastian Sommer

Juan Sanchez

unread,
Aug 1, 2019, 11:32:20 PM8/1/19
to Sebastian Sommer, DEVSIM TCAD
Hi,

I recommend using Anaconda (Python 3.7):
https://www.anaconda.com/distribution/#download-section

or Miniconda (Python 3.7):
https://docs.conda.io/en/latest/miniconda.html:

Once you have have installed the software, you can start "Anaconda
Prompt" from the start menu.

You can then install all of the prerequisite shared libraries:

conda install numpy mkl zlib sqlite

The most important being the Intel MKL, zlib, and sqlite.

Then set the PYTHONPATH to the devsim/lib direcotry.

Please let me know if you are then able to import devsim.

There are examples in the testing and examples directories of the
devsim distribution.

Regards,

Juan
> --
> You received this message because you are subscribed to the Google Groups "DEVSIM TCAD" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to devsim+un...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/devsim/e07ccc45-dafd-4dc5-8c9a-ee51dd0ebce3%40googlegroups.com.

Sebastian Sommer

unread,
Aug 2, 2019, 7:15:46 AM8/2/19
to DEVSIM TCAD
Hi Juan,

that helped. Thank you so much.

Best regards

Sebastian
> To unsubscribe from this group and stop receiving emails from it, send an email to dev...@googlegroups.com.

Dr.A. B. Yadav SVEC

unread,
Nov 17, 2020, 7:52:58 AM11/17/20
to DEVSIM TCAD
I unable to install and where to set python path mkl path is also dificult for me

Dr.A. B. Yadav SVEC

unread,
Nov 17, 2020, 7:54:07 AM11/17/20
to DEVSIM TCAD
Please tell me how I can use terminal of ubantu to run this software

Juan Sanchez

unread,
Nov 17, 2020, 10:27:00 PM11/17/20
to Dr.A. B. Yadav SVEC, DEVSIM TCAD
Hello,

For the use case you sent me in an email, you are trying to use the
system python interpreter with your own copy of the MKL.

Please try setting these variables:
export PYTHONPATH=${HOME}/devsim_linux_v1.4.14/lib
export LD_LIBRARY_PATH=/intel/mkl/lib

After decompressing the package in your home directory.

You should then be able to try:
import devsim

from the python prompt. A simple test would be to try:
cd devsim_linux_v1.4.14/testing
python cap2.py

Please let me know if this operation is successful for you.


Regards,

Juan


On Tue, Nov 17, 2020 at 6:53 AM 'Dr.A. B. Yadav SVEC' via DEVSIM TCAD
> To unsubscribe from this group and stop receiving emails from it, send an email to devsim+un...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/devsim/f28937a9-ef7a-430c-8be9-caecea02aa90n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages