Giter Club home page Giter Club logo

devsim's Introduction

Build Status Build status DOI

DEVSIM

Introduction:

DEVSIM - TCAD Device Simulator

DEVSIM is a tool for TCAD Device Simulation, using finite volume methods. The source code is provided by DEVSIM LLC.

Website:

The official website is here:

https://devsim.org

Installation:

Please see INSTALL.md for installation instructions from binary or source. Archived binary releases are available at Zenodo.

Citing This Work:

Please see CITATION.md. Please do not cite this Github Repository as it will be moving in the future.

License:

DEVSIM is licensed under the Apache 2.0 License. Example scripts are also provided under this license. Other files are subject to the license terms of their copyright owners. Please see LICENSE and NOTICE for license terms.

Documentation:

The PDF documentation is located in doc/devsim.pdf. An online version of the documentation is available at https://devsim.net. A list of documentation resources is available online. Recent changes are available in CHANGES.md.

The repository for the documentation is at https://github.com/devsim/devsim_documentation.

Supported Platforms:

  • macOS 10.13 (High Sierra)
  • Microsoft Windows (64 bit)
  • Red Hat 7 (Centos Compatible)

Software Features:

  • Python scripting
  • DC, small-signal AC, impedance field method, transient
  • User specified partial differential equations (PDE).
  • 1D, 2D, and 3D simulation
  • 1D, 2D mesher
  • Import 3D meshes.
  • 2D cylindrical coordinate simulation
  • ASCII file format with PDE embedded.

Support:

For support and general discussion, please join our forum: https://forum.devsim.org

Contributing:

Please see: Contribution guidelines for this project

Testing

If you wish to see simulation results, or run the regression tests yourself. They are available from:

Name Description
devsim_tests_msys Windows MSYS Build
devsim_tests_win64 Windows Visual Studio 2022 Build
devsim_tests_macos_arm64 Apple M1 Build
devsim_tests_macos_gcc_x86_64 macOS Build
devsim_tests_linux_x86_64 Linux

The results are platform dependent due to differences in the compiler, operating system, and math libraries used on each platform.

Related Projects

Used directly by the simulator

Name Description
symdiff Symbolic differentiation engine for the simulator
devsim_documentation Documentation for the simulator

Extended examples

Name Description
devsim_bjt_example Bipolar Junction Transistor example
devsim_density_gradient Quantum Corrections to Drift Diffusion simulation
devsim_3dmos 3D Mosfet example used in publication
devsim_misc Miscellaneous scripts

devsim's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

devsim's Issues

extended precision tests

Have a number of tests run with the extended 128 bit precision. Come up with a system where a double/quad precision comparison can be done more easily.

New SG operator.

Currently the Bernoulli function, B, is used to do Scharfetter-Gummel.

It would be nice to have an operator that looks something like this:

SG(x, a0, a1) = a0*B(x) + a1*B(-x)

where

B(-x) = B(x) + x

and a function for it's accompanying derivatives

define(SG(x, a0, a1), a0*dBdx(x) - a1*dBdx(-x), B(x), B(-x))

or equivalently

define(SG(x, a0, a1), a0*dBdx(x) + a1*(dBdx(x) + 1), B(x), B(-x))
define(SG(x, a0, a1), (a0+a1)*dBdx(x) + a1, B(x), B(x)+x)

package symdiff with devsim

Package symdiff python module with devsim. This makes it possible to experiment with some of the advanced features of symdiff from the same PYTHONPATH

Installation in macos

First of all, I want to install DEVSIM in macos (high siera 10.13.6).
I installed python using up-to-date anaconda and then I downloaded the devism_macos_1.4.1.
I set PYTHONPATH var to lib in devsim as below in bash_profile file.

export PYTHONPATH=/Users/odyssey/Documents/TCAD/devsim_macos_v1.4.1/lib

But I faced import error message when import devsim in python.

Symbol not found: ___addtf3 error.

So I'm suspicious of what I installed DEVSIM correctly. Today I found INSTALL file in devsim_macos_1.4.1. Do I have to do something described the INSTALL file ?

remove banner

remove module loading banner for tcl and python intepreters

from python_packages.simple_physics import *

Dear, juanesanchez-san. Sorry to bother you many times.

$ pwd
/install/DevSim/devsim-master/examples/diode
$ devsim_py diode_2d.py

------------ diode_2d.py ----------------------------
from ds import *
from python_packages.simple_physics import *


This looks working. However with another test case placed in a different directory.
$pwd
/Application/DevSim/Holor/1stFromSony/devsim_input

------------- input.py ----------------------------------
from python_packages.simple_physics import *
from python_packages.ramp import *


$ devsim_py input.py

----------------------------------- error message ----------
Traceback (most recent call last):
File "input.py", line 4, in
from python_packages.simple_physics import *
ImportError: No module named python_packages.simple_physics


DevSim didn't understand it from input.py description. How can I tell DevSim
where python_packages.simple_physics is ? It seems the only difference is
the directory they are.

parameter values missing in load_devices() and write_devices()

I am trying to use load_devices() to restart a simulation but find that the original parameters are missing (all region, device and global parameters are missing).
It seems that the file written by write_devices(type="devsim") does not contain any parameters.
Is it intended? How should I restart a simulation properly? Thanks.

Suppressing Messages from DevSim

Can I suppress messages from DevSim ? as long as it is running normally.
And can I get CPU time information ?
I couldn't know how to do it from devsim_py -h.

And how can I run DevSim with multi cores ?

Sorry for my many questions.

Compiling SYMDIFF

I think this is caused by a simple misunderstanding, but could you help me ?

[root@JPC20320148 symdiff]# pwd
/install/DevSim/devsim-master/external/symdiff
[root@JPC20320148 symdiff]# ls ../../scripts/setup_ubuntu_12.04.sh
../../scripts/setup_ubuntu_12.04.sh
[root@JPC20320148 symdiff]# sh ../../scripts/setup_ubuntu_12.04.sh

mkdir: `linux_x86_64_debug' already file exists
CMake Error: The source directory "/install/DevSim/devsim-master/external/symdiff"
does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.

mkdir: `linux_x86_64_release' already file exists
CMake Error: The source directory "/install/DevSim/devsim-master/external/symdiff"
does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.

segmentation fault on 3d element model evaluation

Hi,

I was trying to simulate a 3D device using mesh adaptation in a
way similar to that in devsim_bjt_example, but devsim crashes with
a segmentation fault.
I found that this happens when evaluating an element model,
derived either from a node model or an edge model, if the equation
that defines it is more complex than simple additions or the like.
This behaviour is seen only in 3D simulations.
Since I don't know if I made something wrong, I've prepared a simple
example using the same code for both 2D and 3D simulations.
Just run devsim_py test.py dim, where dim is either 3 for 3D, or
anything else for 2D, and see if you can reproduce it.
The same happens if, as an extreme simplification, I replace "sinc"
with the basic node model "x".

Best regards,

Nicola

test.zip

setting edge values

in the API, expose a command for creating an empty edge container. Also make it possible to set these values.

Modeled after:
node_solution
set_node_value
set_node_values

Gmsh 4.0 support

devsim supports version 2.2. Need to provide means to load version 4.0.

devsim as python package

relink devsim as dynamic libraries that are callable from any api compatible python interpreter

Question about DevSim Compile CGNS:

Sorry to bother you, but I am trying to compile DevSim and met a problem.
How can I define TCL TK paths ?

  1. cmake -DBUILD_CGNSTOOLS=ON -DCMAKE_INSTALL_PREFIX=$PWD/../../cgnslib ..

-- Could NOT find TCL (missing: TCL_INCLUDE_PATH)
-- Could NOT find TCLTK (missing: TCL_INCLUDE_PATH TK_INCLUDE_PATH)
-- Could NOT find TK (missing: TK_INCLUDE_PATH)
CMake Error at src/cgnstools/CMakeLists.txt:48 (message):
The path and library needs to be defined for:

  TCL;TK

-- Configuring incomplete, errors occurred!

Making symdiff failed

I remember I had to do 'git submodule init/update' in
/devsim directory, but it didn't improve the situation.

This morning I could do '$yum install cmake28', I don't know
why, but the errors remains as the same as shown below.
About 93% at making symdiff.

no rule to make /root/anaconda/lib/libpython2.7.so
Python.h, import.h,,, are missing.

Oh, I forgot 1 thing. I could not install '$yum install cmake28'
This was the only one thing happened before 'symdiff'.

Sorry to bother you, but I could not make 'symdiff' for CentOS5.1
Here I attached log messages. The errors happened at about 95%
of the entire 'make -j2' process. I had no problem until this point.
Please advice me. I'd like to solve this without upgrading to CentOS6.

                      Kimihiro

[root@gstj01 symdiff]# cd linux_x86_64_release
[root@gstj01 linux_x86_64_release]# make -j2
[ 1%] [ 3%] Generating mcParser.cc, mcParser.hh
Generating mcParser.cc, mcParser.hh

...

[ 93%] Built target symdiff_static
[ 93%] Built target symdiff
Scanning dependencies of target symdiff_tcl
Scanning dependencies of target symdiff_py
make[2]: *** src/pycomp/symdiff.so' there is no rule to make/root/anaconda/lib/libpython2.7.so'
....
[ 94%] [ 96%] Building CXX object src/pycomp/CMakeFiles/symdiff_py.dir/PythonSymdiffCommands.o
Building CXX object src/tclcomp/CMakeFiles/symdiff_tcl.dir/TclCommands.o
/install/devsim-master/external/symdiff/src/pycomp/PythonSymdiffCommands.cc:23:20: error: there is no Python.h:
/install/devsim-master/external/symdiff/src/pycomp/PythonSymdiffCommands.cc:24:20: error: there is no import.h:
[ 98%] Building CXX object src/tclcomp/CMakeFiles/symdiff_tcl.dir/TclSymdiffCommands.o
/install/devsim-master/external/symdiff/src/pycomp/PythonSymdiffCommands.cc:38: error: expected constructor, destructor, or type conversion before ‘’ token
/install/devsim-master/external/symdiff/src/pycomp/PythonSymdiffCommands.cc:43: error: ‘PyObject’ was not declared in this scope
/install/devsim-master/external/symdiff/src/pycomp/PythonSymdiffCommands.cc:43: error: ‘args’ was not declared in this scope
/install/devsim-master/external/symdiff/src/pycomp/PythonSymdiffCommands.cc:44: error: expected ‘,’ or ‘;’ before ‘{’ token
make[2]: *
* [src/pycomp/CMakeFiles/symdiff_py.dir/PythonSymdiffCommands.o] error 1
make[1]: *** [src/pycomp/CMakeFiles/symdiff_py.dir/all] error 2
make[1]: *** ....
make[2]: *** src/tclcomp/libsymdifftcl.so' there is no rule to make/root/anaconda/lib/libtclstub8.5.a'
make[2]: *** ....
[100%] Building CXX object src/tclcomp/CMakeFiles/symdiff_tcl.dir/tclcomp.o
/install/devsim-master/external/symdiff/src/tclcomp/tclcomp.cc:43: error: expected constructor, destructor, or type conversion before ‘’ token
/install/devsim-master/external/symdiff/src/tclcomp/tclcomp.cc:44: error: expected constructor, destructor, or type conversion before ‘
’ token
make[2]: *** [src/tclcomp/CMakeFiles/symdiff_tcl.dir/tclcomp.o] error 1
make[1]: *** [src/tclcomp/CMakeFiles/symdiff_tcl.dir/all] error 2
make: *** [all] error 2
[root@gstj01 linux_x86_64_release]# pwd
/install/devsim-master/external/symdiff/linux_x86_64_release

register_function take function reference instead of name

For example:

register_function(name="gee",  nargs = 2)

def gee(x, y)
  return x

would become:

register_function(name="gee", func=gee , nargs=2)

or even use a lambda:

register_function(name="gee", func=lambda x, y : x , nargs=2)

Also, maybe inspect the number of arguments to the function:

register_function(name="gee", func=lambda x, y : x)

About mesh format

Sorry, but I need to know right now.

A mesh file has descriptions below. In this case, for example 7116 in
'begin_contact "drain" "Si" "metal"' is the 7116'th node in 'begin_coordinates'
or the 7116'th node in 'begin_region "Si" "Silicon"' ?
Please advice !!

begin_device "mos"
begin_coordinates
0.000000000000000e+00 2.500000000000000e-01 -3.500000000000000e-01
6.550019000000000e-02 2.500000000000000e-01 -3.500000000000000e-01
...
begin_region "Si" "Silicon"
begin_nodes
0
1
...
24554
end_nodes
...
begin_contact "drain" "Si" "metal"
begin_nodes
6967
6968
...
7116
end_nodes
...

extended precision fermi

Extended precision float128 implementation of Fermi integral, inverse Fermi integral, and derivatives. Either using Joyce-Dixon or any other approximation.

Installation on Windows

I want to install devsim directly in Windows 7 (and not in Cygwin or a vm running Linux). Since there is no Windows binary on the GitHub binaries page, I attempted to install from source. The installation did put directories and files in C:\Program Files\devsim, however, no binaries were generated.
Here are the steps I took:
I downloaded the source from https://github.com/devsim/devsim/archive/master.zip. After unzipping it, I read the Windows.txt file.
Next, I followed its instructions. I installed ActiveTcl, ActivePython, and the Visual C++ redistributable. Next, I set the following paths in path C:\Python27;C:\Tcl\bin;C:\devsim. Looking in the unzipped directory, I observed the Win32.cmake file. I assume Cmake is like make and so I downloaded, installed and then opened the Cmake GUI on the Windows desktop and entered the path to the source and the path to the binaries (C:\Program Files\devsim). I clicked on configure and received the following configuration error: "CMake Error at CMakeLists.txt:5 (INCLUDE): include could not find load file: win32.cmake.cmake". Looking at the CMakeLists.txt, a particular .cmake file is referenced through the ${DEVSIM_CONFIG}.cmake variable to I set this to Win32.cmake. Afterwards, I no longer received the error (but did receive a few warnings). I proceded to generate the build (Cmake build button). The project was built successfully, at least no errors, however, no devsim executable was generated.
How do I get the devsim executable built?
In doc/devsim.pdf, the other dependencies are listed, I assume these must also be installed in Windows:
BLAS
LAPACK
CGNS
SQLite3
SuperLU
zlib
Is this correct?

Which option should be chosen to plot ***.dat ?

I simulated and tried to plot /devsim_x86_64/examples/diode/gmsh_diode3d_dd.dat, but Paraview asks me to choose one of (ICM Files, Overflow Files, Omicron Model Input, ParaDis Files,,, so on). Which one should I choose? Or, do I need to install Tecplot?

Update math library

ACML 5.3 is old. It may be best to move to the system lapack/blas library on each system, or find one another replacement.

DevSim Transient example

I want to run transient simulation with DevSim.
Don't you have any example ?
I tried to modify gmsh_diode3d.py, but I don't know how to do it.

How can I define transient voltage source, start time, end time and intervals ?

By the way, does DevSim use [MKS] unit systems ?

solve(type="transient_dc", absolute_error=1.0, relative_error=1e-12, maximum_iterations=30)
solve(type="transient_tr", absolute_error=1e10, relative_error=1e-8, maximum_iterations=50)
v = 0.1
while v < 0.51:
set_parameter(device=device, name=GetContactBiasName("top"), value=v)
solve(type="dc", absolute_error=1e10, relative_error=1e-8, maximum_iterations=30)
PrintCurrents(device, "top")
PrintCurrents(device, "bot")
v += 0.1

issue with EngineAPI.hh and ModelExprData.cc on OS X 10.10

Hi,
I am having a problem building devsim. I am getting the following errrors, and was wondering if you have some suggestions?

[ 6%] Built target Geometry
[ 17%] Built target models
[ 27%] Built target modelcomp
[ 29%] Built target math
[ 31%] Built target Equation
[ 31%] Building CXX object src/AutoEquation/CMakeFiles/AutoEquation.dir/ModelExprEval.o
[ 31%] Building CXX object src/AutoEquation/CMakeFiles/AutoEquation.dir/ModelExprData.o
/Users/sonia/Documents/Simulations/devsim/src/AutoEquation/ModelExprData.cc:4:1: error:
expected unqualified-id

^
/Users/sonia/Documents/Simulations/devsim/src/AutoEquation/ModelExprData.cc:13:46: error:
non-ASCII characters are not allowed outside of literals and identifiers
<title>devsim/ModelExprData.cc at master · devsim/devsim · GitHub</title>
^~
/Users/sonia/Documents/Simulations/devsim/src/AutoEquation/ModelExprData.cc:13:63: error:
non-ASCII characters are not allowed outside of literals and identifiers
<title>devsim/ModelExprData.cc at master · devsim/devsim · GitHub</title>
^~
/Users/sonia/Documents/Simulations/devsim/src/AutoEquation/ModelExprData.cc:50:30: warning:
missing terminating ' character [-Winvalid-pp-token]
<meta content="authenticity_token" n...
^
/Users/sonia/Documents/Simulations/devsim/src/AutoEquation/ModelExprData.cc:95:32: warning:
missing terminating ' character [-Winvalid-pp-token]
<form accept-charset="UTF-8" actio...
^
/Users/sonia/Documents/Simulations/devsim/src/AutoEquation/ModelExprData.cc:284:754: error:
C++ requires a type specifier for all declarations
...protocol_type=clone" class="inline-form js-clone-selector-form " data-fo...
^~~~~~~~~~~~~
/Users/sonia/Documents/Simulations/devsim/src/AutoEquation/ModelExprData.cc:284:768: error:
use of undeclared identifier 'clone'
...clone" class="inline-form js-clone-selector-form " data-form-nonce="90d1...
^
/Users/sonia/Documents/Simulations/devsim/src/AutoEquation/ModelExprData.cc:284:932: error:
unknown type name 'padding'
...data-remote="true" method="post"><div style="margin:0;padding:0;display:...
^
/Users/sonia/Documents/Simulations/devsim/src/AutoEquation/ModelExprData.cc:284:939: error:
expected unqualified-id
...data-remote="true" method="post"><div style="margin:0;padding:0;display:...
^
/Users/sonia/Documents/Simulations/devsim/src/AutoEquation/ModelExprData.cc:284:942: error:
unknown type name 'display'
...data-remote="true" method="post"><div style="margin:0;padding:0;display:...
^
/Users/sonia/Documents/Simulations/devsim/src/AutoEquation/ModelExprData.cc:284:949: error:
expected unqualified-id
...method="post">

<input name...
^
/Users/sonia/Documents/Simulations/devsim/src/AutoEquation/ModelExprData.cc:284:1006: error:
expected unqualified-id
...name="utf8" type="hidden" value="✓" /><input name="authenticity_t...
^
/Users/sonia/Documents/Simulations/devsim/src/AutoEquation/ModelExprData.cc:284:1244: warning:
missing terminating '"' character [-Winvalid-pp-token]
...js-clone-selector" data-protocol="subversion" type="submit">Subversion</...
^
/Users/sonia/Documents/Simulations/devsim/src/AutoEquation/ModelExprData.cc:408:3: error:
expected unqualified-id

^ /Users/sonia/Documents/Simulations/devsim/src/AutoEquation/ModelExprData.cc:530:151: error: expected unqualified-id ..."ModelExprData.hh" ^ /Users/sonia/Documents/Simulations/devsim/src/AutoEquation/ModelExprData.cc:534:151: error: expected unqualified-id ..."NodeScalarData.hh" ^ /Users/sonia/Documents/Simulations/devsim/src/AutoEquation/ModelExprData.cc:538:151: error: expected unqualified-id ..."EdgeScalarData.hh" ^ /Users/sonia/Documents/Simulations/devsim/src/AutoEquation/ModelExprData.cc:542:151: error: expected unqualified-id ..."TriangleEdgeScalarD... ^ /Users/sonia/Documents/Simulations/devsim/src/AutoEquation/ModelExprData.cc:542:210: error: expected unqualified-id ...class="pl-pds">" ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 3 warnings and 20 errors generated. make[2]: **\* [src/AutoEquation/CMakeFiles/AutoEquation.dir/ModelExprData.o] Error 1 make[2]: **\* Waiting for unfinished jobs.... [ 42%] Built target GeomModels [ 56%] Built target meshing [ 58%] Built target Data [ 61%] Built target circuitData [ 64%] Built target circuitIdeal [ 66%] Built target circuitSources Scanning dependencies of target MathEval [ 67%] Building CXX object src/MathEval/CMakeFiles/MathEval.dir/Bernoulli.o [ 67%] Building CXX object src/MathEval/CMakeFiles/MathEval.dir/Fermi.o [ 68%] Building CXX object src/MathEval/CMakeFiles/MathEval.dir/MathEval.o In file included from /Users/sonia/Documents/Simulations/devsim/src/AutoEquation/ModelExprEval.cc:43: /Users/sonia/Documents/Simulations/devsim/src/AutoEquation/EngineAPI.hh:4:1: error: expected unqualified-id ^ /Users/sonia/Documents/Simulations/devsim/src/AutoEquation/EngineAPI.hh:13:43: error: non-ASCII characters are not allowed outside of literals and identifiers <title>symdiff/EngineAPI.hh at master · devsim/symdiff · GitHub</title> ^~ /Users/sonia/Documents/Simulations/devsim/src/AutoEquation/EngineAPI.hh:13:61: error: non-ASCII characters are not allowed outside of literals and identifiers <title>symdiff/EngineAPI.hh at master · devsim/symdiff · GitHub</title> ^~ /Users/sonia/Documents/Simulations/devsim/src/AutoEquation/EngineAPI.hh:50:30: warning: missing terminating ' character [-Winvalid-pp-token] -->
SubversionSupport for Mac OS X Mavericks 10.9. ^ /Users/sonia/Documents/Simulations/devsim/src/AutoEquation/EngineAPI.hh:539:149: error: expected unqualified-id ...<memory<memory><... ^ /Users/sonia/Documents/Simulations/devsim/src/AutoEquation/EngineAPI.hh:543:151: error: expected unqualified-id ..."import.hh"import.hh"<... ^ /Users/sonia/Documents/Simulations/devsim/src/AutoEquation/EngineAPI.hh:547:149: error: expected unqualified-id ...<string<string><... ^ /Users/sonia/Documents/Simulations/devsim/src/AutoEquation/EngineAPI.hh:551:149: error: expected unqualified-id ...<vector<vector><... ^ /Users/sonia/Documents/Simulations/devsim/src/AutoEquation/EngineAPI.hh:555:149: error: expected unqualified-id ...<set

Error during compiling CGNS

I met compile errors, please advice.
I got OP log shown at the bottom, but, TK has been installed.

------------------------------------------------------------------------- TK installation
[root@JPC20320148 devsim-master]# yum install tk
読み込んだプラグイン:fastestmirror, product-id, refresh-packagekit, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
インストール処理の設定をしています
Loading mirror speeds from cached hostfile

  • base: ftp.hosteurope.de
  • epel: ftp.cuhk.edu.hk
  • extras: ftp.hosteurope.de
  • rpmforge: apt.sw.be
  • updates: ftp.hosteurope.de
    パッケージ 1:tk-8.5.7-5.el6.x86_64 はインストール済みか最新バージョンです
    何もしません
    ---------------------------------------------------------------------------------- TK installation already done

And I could not find the file "CMake Error at src/cgnstools/CMakeLists.txt:52 (message)"

-------------------------------------------------------------------- ls src/cgnstools/
[root@JPC20320148 cgnstools]# pwd
/install/DevSim/devsim-master/external/cgnslib_3.1.4/build/src/cgnstools
[root@JPC20320148 cgnstools]# ls
. .. CMakeFiles cgconfig
[root@JPC20320148 cgnstools]# ls CMakeFiles/
. ..
[root@JPC20320148 cgnstools]#
------------------------------------------------------------------------- ls src/cgnstools/

--------------------------------------------------------------------------------------------------------- OP log
[root@JPC20320148 external]# ls
CMakeCache.txt cgnslib_3.1.4-2.tar.gz superlu_osx_10.9.sh superlu_ubuntu_12.04_gcc-4.7.sh testing
CMakeFiles src superlu_redhat_6.5.sh superlu_ubuntu_12.04_icc_2013.sh
cgnslib_3.1.4 superlu_osx_10.10.sh superlu_ubuntu_12.04.sh symdiff
[root@JPC20320148 external]# cd cgnslib_3.1.4
[root@JPC20320148 cgnslib_3.1.4]# ls
CMakeLists.txt cmake_uninstall.cmake.in fortran_test install.txt pcgns readme.txt
changelog doc install.lyx license.txt readme.lyx src
[root@JPC20320148 cgnslib_3.1.4]# mkdir build
[root@JPC20320148 cgnslib_3.1.4]# cd build
[root@JPC20320148 build]# cmake -DBUILD_CGNSTOOLS=ON -DCMAKE_INSTALL_PREFIX=$PWD/../../cgnslib ..
-- The C compiler identification is GNU 4.4.7
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of long
-- Check size of long - done
-- Check size of off_t
-- Check size of off_t - done
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Found X11: /usr/lib64/libX11.so
-- Found Tclsh: /usr/bin/tclsh (found version "8.5")
-- Could NOT find TCL (missing: TCL_INCLUDE_PATH)
-- Could NOT find TCLTK (missing: TCL_INCLUDE_PATH TK_INCLUDE_PATH)
-- Could NOT find TK (missing: TK_INCLUDE_PATH)
-- Found OpenGL: /usr/lib64/libGL.so
CMake Error at src/cgnstools/CMakeLists.txt:52 (message):
The path and library needs to be defined for:

  TCL;TK

-- Configuring incomplete, errors occurred!
See also "/install/DevSim/devsim-master/external/cgnslib_3.1.4/build/CMakeFiles/CMakeOutput.log".
[root@JPC20320148 build]# pwd
/install/DevSim/devsim-master/external/cgnslib_3.1.4/build
[root@JPC20320148 build]# pwd
/install/DevSim/devsim-master/external/cgnslib_3.1.4/build
[root@JPC20320148 build]# ls
CMakeCache.txt CMakeFiles CPackConfig.cmake CPackSourceConfig.cmake cmake_uninstall.cmake src
[root@JPC20320148 build]#
------------------------------------------------------------------------------------------------------------- OP log

Python 3.6 or 3.7?

Need to determine what combination of Python:

  • 3.6
  • 3.7

should be part of the official releases.

About given testing

Dear, juanesanchez-san.

Since I am a novice of DevSim, I can't analyze what's wrong with the given testing.
Please advice. Seems sqlite3.something is missing.

[root@JPC20320148 testing]# pwd
/install/DevSim/devsim-master/testing
[root@JPC20320148 testing]# ls sqli*
sqlite1.out sqlite1.tcl sqlite2.out sqlite2.py sqlite3.out sqlite3.py
[root@JPC20320148 testing]# devsim_tcl sqlite1.tcl


DEVSIM

Version: Beta 0.01

Copyright 2009-2014 Devsim LLC


can't find package sqlite3
while executing
"package require sqlite3"
(file "sqlite1.tcl" line 15)

non delaunay mesh elements

devsim assumes all elements are delaunay. A bad mesh element can result in poor conservation of current, because of the large current cross section introduced. This appears to be handled in Genius using a truncation scheme in 2d:
https://github.com/cogenda/Genius-TCAD-Open/blob/master/src/geom/face_tri3_fvm.cc

For 3d, a similar approach may be used. It would be much more complicated since it would require handling obtuse triangles on the tetrahedron faces. It would also have to handle the center of the circumsphere being outside of the tetrahedral element.

Problem with compilation under Debian Testing

Hello,

I am trying to compile devsim on a Debian Testing system. I am able to go through 99% of the build process. However, I get the following error while linking :

[ 99%] Built target pythonapi_interpreter
Linking CXX executable devsim_py
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libsqlite3.a(sqlite3.o): undefined reference to symbol 'pthread_mutexattr_settype@@GLIBC_2.2.5'
/lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [src/main/devsim_py] Error 1
make[1]: *** [src/main/CMakeFiles/devsim_py.dir/all] Error 2

I found the following link that might be useful :
https://wiki.debian.org/ToolChain/DSOLinking

Unfortunately, I am very new to the cmake toolchain ... where do you suggest I add lpthread in the list of libraries to link against?

Thanks

Arvind Ajoy
www.arvindajoy.in

Ubuntu 13.04

Thi si strange. If I try to compile symdiff in ubuntu 13.05 with gcc-4.7 or gcc-4.6 I get the following error. This does not happen on ubuntu 12.04.

[ 1%] Building CXX object src/engine/CMakeFiles/symdiff.dir/EngineAPI.cc.o
cd /home/devsim/external/symdiff/linux_x86_64_release/src/engine && /usr/bin/g++-4.7 -DSYMDIFF_COPYRIGHT_YEAR=""\"2010\""" -DSYMDIFF_VERSION_STRING=""\"0.00\""" -DTCL_THREADS -DUSE_TCL_STUBS -Dsymdiff_EXPORTS -O3 -DNDEBUG -fPIC -I/home/devsim/external/symdiff/src/engine -Wall -Wall -fvisibility=hidden -o CMakeFiles/symdiff.dir/EngineAPI.cc.o -c /home/devsim/external/symdiff/src/engine/EngineAPI.cc
In file included from /home/devsim/external/symdiff/src/engine/EngineAPI.cc:16:0:
/home/devsim/external/symdiff/src/engine/EngineAPI.hh:26:9: error: ‘shared_ptr’ in namespace ‘std’ does not name a type
In file included from /home/devsim/external/symdiff/src/engine/EngineAPI.cc:16:0:
/home/devsim/external/symdiff/src/engine/EngineAPI.hh:32:23: error: ISO C++ forbids declaration of ‘EqObjPtr’ with no type [-fpermissive]
/home/devsim/external/symdiff/src/engine/EngineAPI.hh:32:23: error: typedef name may not be a nested-name-specifier
/home/devsim/external/symdiff/src/engine/EngineAPI.hh:32:23: error: typedef ‘EngineAPI::EqObjPtr’ is initialized (use decltype instead)
/home/devsim/external/symdiff/src/engine/EngineAPI.hh:32:25: error: ‘EqUnaryFuncPtr’ was not declared in this scope
/home/devsim/external/symdiff/src/engine/EngineAPI.hh:33:23: error: ISO C++ forbids declaration of ‘EqObjPtr’ with no type [-fpermissive]
/home/devsim/external/symdiff/src/engine/EngineAPI.hh:33:23: error: typedef name may not be a nested-name-specifier
/home/devsim/external/symdiff/src/engine/EngineAPI.hh:33:23: error: typedef ‘EngineAPI::EqObjPtr’ is initialized (use decltype instead)
/home/devsim/external/symdiff/src/engine/EngineAPI.hh:33:25: error: ‘EqBinaryFuncPtr’ was not declared in this scope

etc...

simplify linking

windows should link against python3.dll, linux, mac os should not have libpythonxy.so on the link line. Since we are using the limited abi, this should not raise any problems with library mismatch

ds.error: DEVSIM FATAL while simulating a resistor

I'm trying to simulate a resistor to figure out why the diode I made before failed to reach convergence. Juan suggested to create a resistor and see if I can work out the problem.

Here's the resistor I came up with:

import mesh
import device
import materials

mesh = mesh.Mesh('Cell Mesh')
# default units are micrometers
mesh.add_line(0.0, 0.001, 'left')
mesh.add_line(10.0, 1.0, 'right')
mesh.add_contact(name='c1', tag='left', material=materials.Metals.generic)
mesh.add_contact(name='c2', tag='right', material=materials.Metals.generic)

substrate = 'Happy Resistor'
mesh.add_region(
    name=substrate,
    material=materials.Silicon(),
    tag1='c1', tag2='c2'
)
mesh.finalize()

The program fails while calling mesh.finalize():

devsim resistor.py

----------------------------------------

 DEVSIM

 Version: Beta 0.01

 Copyright 2009-2018 Devsim LLC

----------------------------------------


right
There was a fatal exception in the program.  Shutting down.  Please inspect program output.
UNEXPECTED
Traceback (most recent call last):
  File "resistor.py", line 18, in <module>
    mesh.finalize()
  File "/home/nnieto/DevSim/devsim_gsoc_2018/mesh.py", line 122, in finalize
    finalize_mesh(mesh=self.name)
ds.error: DEVSIM FATAL

The mesh.finalize() method only calls the finalize_mesh() function. I suspect it has something to do with the way I defined the mesh:

# default units are micrometers
mesh.add_line(0.0, 0.01, 'left')
mesh.add_line(10.0, 1.0, 'right')

Parameters are: position, spacing and tag. (Method assumes spacing as positive and default units are micrometers):

    def add_line(self, position, spacing, tag):
        scale = 1e-6
        add_1d_mesh_line(
            mesh=self.name,
            pos=position * scale,
            ps=spacing * scale,
            tag=tag
        )

Any suggestions?

build issue for gcc 4.7

Errors when compiling symdiff

/home/tcad/devsim/external/symdiff/src/engine/SubExpr.cc: In member function ‘void SubExpr::scanSubexpression(Eqo::EqObjPtr&)’:
/home/tcad/devsim/external/symdiff/src/engine/SubExpr.cc:86:51: error: no matching function for call to ‘std::mapstd::basic_string<char, SubExprData>::insert(std::pairstd::basic_string<char, std::shared_ptrEqo::EquationObject >)’
/home/tcad/devsim/external/symdiff/src/engine/SubExpr.cc:86:51: note: candidates are:
In file included from /usr/include/c++/4.7/map:61:0,
from /home/tcad/devsim/external/symdiff/src/engine/SubExpr.hh:23,
from /home/tcad/devsim/external/symdiff/src/engine/SubExpr.cc:17:
/usr/include/c++/4.7/bits/stl_map.h:522:7: note: std::pair<typename std::_Rb_tree<_Key, std::pair<const _Key, _Tp>, std::_Select1st<std::pair<const _Key, _Tp> >, _Compare, typename _Alloc::rebind<std::map<_Key, _Tp, _Compare, _Alloc>::value_type>::other>::iterator, bool> std::map<_Key, _Tp, _Compare, _Alloc>::insert(const value_type&) [with _Key = std::basic_string; _Tp = SubExprData; _Compare = std::lessstd::basic_string; _Alloc = std::allocator<std::pair<const std::basic_string, SubExprData> >; typename std::_Rb_tree<_Key, std::pair<const _Key, _Tp>, std::_Select1st<std::pair<const _Key, _Tp> >, _Compare, typename _Alloc::rebind<std::map<_Key, _Tp, _Compare, _Alloc>::value_type>::other>::iterator = std::_Rb_tree_iterator<std::pair<const std::basic_string, SubExprData> >; std::map<_Key, _Tp, _Compare, _Alloc>::value_type = std::pair<const std::basic_string, SubExprData>]
/usr/include/c++/4.7/bits/stl_map.h:522:7: note: no known conversion for argument 1 from ‘std::pairstd::basic_string<char, std::shared_ptrEqo::EquationObject >’ to ‘const value_type& {aka const std::pair<const std::basic_string, SubExprData>&}’
/usr/include/c++/4.7/bits/stl_map.h:530:9: note: template<class _Pair, class> std::pair<typename std::_Rb_tree<_Key, std::pair<const _Key, _Tp>, std::_Select1st<std::pair<const _Key, _Tp> >, _Compare, typename _Alloc::rebind<std::map<_Key, _Tp, _Compare, _Alloc>::value_type>::other>::iterator, bool> std::map::insert(_Pair&&) [with _Pair = _Pair; = ; _Key = std::basic_string; _Tp = SubExprData; _Compare = std::lessstd::basic_string; _Alloc = std::allocator<std::pair<const std::basic_string, SubExprData> >]
/usr/include/c++/4.7/bits/stl_map.h:530:9: note: template argument deduction/substitution failed:
/usr/include/c++/4.7/bits/stl_map.h:526:32: error: no type named ‘type’ in ‘struct std::enable_if<false, void>’
/usr/include/c++/4.7/bits/stl_map.h:543:7: note: void std::map<_Key, _Tp, _Compare, _Alloc>::insert(std::initializer_list<std::pair<const _Key, _Tp> >) [with _Key = std::basic_string; _Tp = SubExprData; _Compare = std::lessstd::basic_string; _Alloc = std::allocator<std::pair<const std::basic_string, SubExprData> >]
/usr/include/c++/4.7/bits/stl_map.h:543:7: note: no known conversion for argument 1 from ‘std::pairstd::basic_string<char, std::shared_ptrEqo::EquationObject >’ to ‘std::initializer_list<std::pair<const std::basic_string, SubExprData> >’
/usr/include/c++/4.7/bits/stl_map.h:572:7: note: std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::insert(std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator, const value_type&) [with _Key = std::basic_string; _Tp = SubExprData; _Compare = std::lessstd::basic_string; _Alloc = std::allocator<std::pair<const std::basic_string, SubExprData> >; std::map<_Key, _Tp, _Compare, _Alloc>::iterator = std::_Rb_tree_iterator<std::pair<const std::basic_string, SubExprData> >; std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator = std::_Rb_tree_const_iterator<std::pair<const std::basic_string, SubExprData> >; std::map<_Key, _Tp, _Compare, _Alloc>::value_type = std::pair<const std::basic_string, SubExprData>]
/usr/include/c++/4.7/bits/stl_map.h:572:7: note: candidate expects 2 arguments, 1 provided
/usr/include/c++/4.7/bits/stl_map.h:583:9: note: template<class _Pair, class> std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map::insert(std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator, _Pair&&) [with _Pair = _Pair; = ; _Key = std::basic_string; _Tp = SubExprData; _Compare = std::lessstd::basic_string; _Alloc = std::allocator<std::pair<const std::basic_string, SubExprData> >]
/usr/include/c++/4.7/bits/stl_map.h:583:9: note: template argument deduction/substitution failed:
/home/tcad/devsim/external/symdiff/src/engine/SubExpr.cc:86:51: note: cannot convert ‘std::make_pair(_T1&&, _T2&&) [with _T1 = const std::basic_string&; _T2 = std::shared_ptrEqo::EquationObject&; typename std::__decay_and_strip<_T2>::__type = std::shared_ptrEqo::EquationObject; typename std::__decay_and_strip<_T1>::__type = std::basic_string](%28* & te%29)’ (type ‘std::pairstd::basic_string<char, std::shared_ptrEqo::EquationObject >’) to type ‘std::mapstd::basic_string<char, SubExprData>::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const std::basic_string, SubExprData> >}’
In file included from /usr/include/c++/4.7/map:61:0,
from /home/tcad/devsim/external/symdiff/src/engine/SubExpr.hh:23,
from /home/tcad/devsim/external/symdiff/src/engine/SubExpr.cc:17:
/usr/include/c++/4.7/bits/stl_map.h:598:9: note: template void std::map::insert(_InputIterator, _InputIterator) [with _InputIterator = _InputIterator; _Key = std::basic_string; _Tp = SubExprData; _Compare = std::lessstd::basic_string; _Alloc = std::allocator<std::pair<const std::basic_string, SubExprData> >]
/usr/include/c++/4.7/bits/stl_map.h:598:9: note: template argument deduction/substitution failed:
/home/tcad/devsim/external/symdiff/src/engine/SubExpr.cc:86:51: note: candidate expects 2 arguments, 1 provided
/home/tcad/devsim/external/symdiff/src/engine/SubExpr.cc: In member function ‘void SubExpr::scanSubexpression(Eqo::EqObjPtr&)’:
/home/tcad/devsim/external/symdiff/src/engine/SubExpr.cc:86:51: error: no matching function for call to ‘std::mapstd::basic_string<char, SubExprData>::insert(std::pairstd::basic_string<char, std::shared_ptrEqo::EquationObject >)’
/home/tcad/devsim/external/symdiff/src/engine/SubExpr.cc:86:51: note: candidates are:
In file included from /usr/include/c++/4.7/map:61:0,
from /home/tcad/devsim/external/symdiff/src/engine/SubExpr.hh:23,
from /home/tcad/devsim/external/symdiff/src/engine/SubExpr.cc:17:
/usr/include/c++/4.7/bits/stl_map.h:522:7: note: std::pair<typename std::_Rb_tree<_Key, std::pair<const _Key, _Tp>, std::_Select1st<std::pair<const _Key, _Tp> >, _Compare, typename _Alloc::rebind<std::map<_Key, _Tp, _Compare, _Alloc>::value_type>::other>::iterator, bool> std::map<_Key, _Tp, _Compare, _Alloc>::insert(const value_type&) [with _Key = std::basic_string; _Tp = SubExprData; _Compare = std::lessstd::basic_string; _Alloc = std::allocator<std::pair<const std::basic_string, SubExprData> >; typename std::_Rb_tree<_Key, std::pair<const _Key, _Tp>, std::_Select1st<std::pair<const _Key, _Tp> >, _Compare, typename _Alloc::rebind<std::map<_Key, _Tp, _Compare, _Alloc>::value_type>::other>::iterator = std::_Rb_tree_iterator<std::pair<const std::basic_string, SubExprData> >; std::map<_Key, _Tp, _Compare, _Alloc>::value_type = std::pair<const std::basic_string, SubExprData>]
/usr/include/c++/4.7/bits/stl_map.h:522:7: note: no known conversion for argument 1 from ‘std::pairstd::basic_string<char, std::shared_ptrEqo::EquationObject >’ to ‘const value_type& {aka const std::pair<const std::basic_string, SubExprData>&}’
/usr/include/c++/4.7/bits/stl_map.h:530:9: note: template<class _Pair, class> std::pair<typename std::_Rb_tree<_Key, std::pair<const _Key, _Tp>, std::_Select1st<std::pair<const _Key, _Tp> >, _Compare, typename _Alloc::rebind<std::map<_Key, _Tp, _Compare, _Alloc>::value_type>::other>::iterator, bool> std::map::insert(_Pair&&) [with _Pair = _Pair; = ; _Key = std::basic_string; _Tp = SubExprData; _Compare = std::lessstd::basic_string; _Alloc = std::allocator<std::pair<const std::basic_string, SubExprData> >]
/usr/include/c++/4.7/bits/stl_map.h:530:9: note: template argument deduction/substitution failed:
/usr/include/c++/4.7/bits/stl_map.h:526:32: error: no type named ‘type’ in ‘struct std::enable_if<false, void>’
/usr/include/c++/4.7/bits/stl_map.h:543:7: note: void std::map<_Key, _Tp, _Compare, _Alloc>::insert(std::initializer_list<std::pair<const _Key, _Tp> >) [with _Key = std::basic_string; _Tp = SubExprData; _Compare = std::lessstd::basic_string; _Alloc = std::allocator<std::pair<const std::basic_string, SubExprData> >]
/usr/include/c++/4.7/bits/stl_map.h:543:7: note: no known conversion for argument 1 from ‘std::pairstd::basic_string<char, std::shared_ptrEqo::EquationObject >’ to ‘std::initializer_list<std::pair<const std::basic_string, SubExprData> >’
/usr/include/c++/4.7/bits/stl_map.h:572:7: note: std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::insert(std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator, const value_type&) [with _Key = std::basic_string; _Tp = SubExprData; _Compare = std::lessstd::basic_string; _Alloc = std::allocator<std::pair<const std::basic_string, SubExprData> >; std::map<_Key, _Tp, _Compare, _Alloc>::iterator = std::_Rb_tree_iterator<std::pair<const std::basic_string, SubExprData> >; std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator = std::_Rb_tree_const_iterator<std::pair<const std::basic_string, SubExprData> >; std::map<_Key, _Tp, _Compare, _Alloc>::value_type = std::pair<const std::basic_string, SubExprData>]
/usr/include/c++/4.7/bits/stl_map.h:572:7: note: candidate expects 2 arguments, 1 provided
/usr/include/c++/4.7/bits/stl_map.h:583:9: note: template<class _Pair, class> std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map::insert(std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator, _Pair&&) [with _Pair = _Pair; = ; _Key = std::basic_string; _Tp = SubExprData; _Compare = std::lessstd::basic_string; _Alloc = std::allocator<std::pair<const std::basic_string, SubExprData> >]
/usr/include/c++/4.7/bits/stl_map.h:583:9: note: template argument deduction/substitution failed:
/home/tcad/devsim/external/symdiff/src/engine/SubExpr.cc:86:51: note: cannot convert ‘std::make_pair(_T1&&, _T2&&) [with _T1 = const std::basic_string&; _T2 = std::shared_ptrEqo::EquationObject&; typename std::__decay_and_strip<_T2>::__type = std::shared_ptrEqo::EquationObject; typename std::__decay_and_strip<_T1>::__type = std::basic_string](%28* & te%29)’ (type ‘std::pairstd::basic_string<char, std::shared_ptrEqo::EquationObject >’) to type ‘std::mapstd::basic_string<char, SubExprData>::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const std::basic_string, SubExprData> >}’
In file included from /usr/include/c++/4.7/map:61:0,
from /home/tcad/devsim/external/symdiff/src/engine/SubExpr.hh:23,
from /home/tcad/devsim/external/symdiff/src/engine/SubExpr.cc:17:
/usr/include/c++/4.7/bits/stl_map.h:598:9: note: template void std::map::insert(_InputIterator, _InputIterator) [with _InputIterator = _InputIterator; _Key = std::basic_string; _Tp = SubExprData; _Compare = std::lessstd::basic_string; _Alloc = std::allocator<std::pair<const std::basic_string, SubExprData> >]
/usr/include/c++/4.7/bits/stl_map.h:598:9: note: template argument deduction/substitution failed:
/home/tcad/devsim/external/symdiff/src/engine/SubExpr.cc:86:51: note: candidate expects 2 arguments, 1 provided
make[2]: *** [src/engine/CMakeFiles/symdiff.dir/SubExpr.o] Error 1
make[1]: *** [src/engine/CMakeFiles/symdiff.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: *** [src/engine/CMakeFiles/symdiff_static.dir/SubExpr.o] Error 1
make[1]: *** [src/engine/CMakeFiles/symdiff_static.dir/all] Error 2
make: *** [all] Error 2

Remove Edge Models from visualization data

Remove EdgeModel data from Tecplot and VTK format. For most models, the averaging onto the nodes is not meaningful. Users should transform models to element models for visualization in VisIt and Paraview

3D Diode Example

@chihiro0019 requests the gmsh file used to generate the 3D diode example.

cmake error in my installation of DevSim

I'm sorry to bother you, but could you analyze my problem ?
Here is the operation log.

During Compile CGNS:

[root@JPC20320148 external]# cmake -DBUILD_CGNSTOOLS=ON -DCMAKE_INSTALL_PREFIX=$PWD/../../cgnslib ..
CMake Error at CMakeLists.txt:5 (INCLUDE):
include could not find load file:

.cmake

CMake Warning (dev) at CMakeLists.txt:8 (ADD_DEFINITIONS):
Policy CMP0005 is not set: Preprocessor definition values are now escaped
automatically. Run "cmake --help-policy CMP0005" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:9 (ADD_DEFINITIONS):
Policy CMP0005 is not set: Preprocessor definition values are now escaped
automatically. Run "cmake --help-policy CMP0005" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.

Hostname: JPC20320148
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as

cmake_minimum_required(VERSION 2.8)

should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!
See also "/install/DevSim/devsim-master/external/CMakeFiles/CMakeOutput.log".
See also "/install/DevSim/devsim-master/external/CMakeFiles/CMakeError.log".

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.