├── Charon ├── build.sh ├── bash.sh ├── Charon_UserManual.pdf ├── charonBasicIntroduction.tgz ├── DockerUsage.md ├── Dockerfile └── FixedCMakeLists.txt ├── DevSim ├── build.sh ├── bash.sh ├── Dockerfile └── DockerUsage.md ├── Genius ├── build.sh ├── bash.sh ├── DockerUsage.md └── Dockerfile ├── Vienna ├── build.sh ├── bash.sh ├── Dockerfile └── DockerUsage.md ├── install-ubuntu.sh └── README.md /Charon/build.sh: -------------------------------------------------------------------------------- 1 | docker build -t charon-tcad . 2 | -------------------------------------------------------------------------------- /DevSim/build.sh: -------------------------------------------------------------------------------- 1 | docker build -t devsim-tcad . 2 | -------------------------------------------------------------------------------- /Genius/build.sh: -------------------------------------------------------------------------------- 1 | docker build -t genius-tcad . 2 | -------------------------------------------------------------------------------- /Vienna/build.sh: -------------------------------------------------------------------------------- 1 | docker build -t vienna-tcad . 2 | -------------------------------------------------------------------------------- /Charon/bash.sh: -------------------------------------------------------------------------------- 1 | docker run -it charon-tcad /bin/bash 2 | -------------------------------------------------------------------------------- /DevSim/bash.sh: -------------------------------------------------------------------------------- 1 | docker run -it devsim-tcad /bin/bash 2 | -------------------------------------------------------------------------------- /Vienna/bash.sh: -------------------------------------------------------------------------------- 1 | docker run -it vienna-tcad /bin/bash 2 | -------------------------------------------------------------------------------- /Charon/Charon_UserManual.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thesourcerer8/OpenSourceTCAD/HEAD/Charon/Charon_UserManual.pdf -------------------------------------------------------------------------------- /Charon/charonBasicIntroduction.tgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thesourcerer8/OpenSourceTCAD/HEAD/Charon/charonBasicIntroduction.tgz -------------------------------------------------------------------------------- /Genius/bash.sh: -------------------------------------------------------------------------------- 1 | xhost +local: 2 | docker run -it \ 3 | --env="DISPLAY" \ 4 | --env="QT_X11_NO_MITSHM=1" \ 5 | --volume="/tmp/.X11-unix:/tmp/.X11-unix:rw" \ 6 | genius-tcad /bin/bash 7 | -------------------------------------------------------------------------------- /install-ubuntu.sh: -------------------------------------------------------------------------------- 1 | echo Installation routine for Ubuntu: 2 | 3 | sudo apt-get install docker.io 4 | 5 | cd Charon 6 | sudo bash build.sh 7 | cd .. 8 | cd Genius 9 | sudo bash build.sh 10 | cd .. 11 | cd DevSim 12 | sudo bash build.sh 13 | cd .. 14 | 15 | 16 | echo "All Docker images have been built." 17 | -------------------------------------------------------------------------------- /DevSim/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:18.04 2 | 3 | #firefox https://github.com/devsim/devsim & 4 | 5 | ### Install prerequistes 6 | ENV TZ=Europe/Vienna 7 | ENV LANG=C.UTF-8 8 | 9 | RUN apt update --fix-missing 10 | RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone 11 | RUN apt update && apt upgrade -y && apt install -y git vim python3-numpy 12 | 13 | ### Install 14 | RUN git clone --depth 1 https://github.com/devsim/devsim 15 | WORKDIR devsim 16 | RUN git submodule init 17 | RUN git submodule update 18 | RUN bash scripts/install_ubuntu_depend.sh 19 | RUN bash scripts/build_ubuntu_18.04.sh devsim_ubuntu_18.04 20 | ENV PYTHONPATH=/devsim/dist/devsim_ubuntu_18.04/lib 21 | 22 | -------------------------------------------------------------------------------- /Vienna/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:18.04 2 | ENV TZ=Europe/Vienna 3 | ENV LANG=C.UTF-8 4 | 5 | ### Install prerequistes 6 | RUN apt update && apt upgrade -y 7 | 8 | ENV TZ=Europe/Vienna 9 | ENV LANG=C.UTF-8 10 | RUN apt install -y tzdata 11 | 12 | RUN apt update && apt install -y git wget g++ vim cmake libboost-all-dev 13 | RUN apt install -y libqt4-dev 14 | 15 | RUN ln -s /usr/lib/python2.7/dist-packages/vtk/libvtkRenderingPythonTkWidgets.x86_64-linux-gnu.so /usr/lib/x86_64-linux-gnu/libvtkRenderingPythonTkWidgets.so 16 | 17 | #RUN apt update && apt install -y build-essential cmake gfortran git flex bison \ 18 | # wget curl python python-sip-dev libglu1-mesa-dev freeglut3-dev mesa-common-dev hdf5-tools linux-headers-generic \ 19 | # lvtk-dev lvtk-tools vtkdata libhdf5-dev libboost-dev 20 | 21 | #RUN apt install -y libqt4-dev libvtk6-dev 22 | 23 | 24 | RUN git clone https://github.com/thesourcerer8/viennamos-dev 25 | 26 | WORKDIR /viennamos-dev 27 | #RUN cmake . 28 | #RUN make 29 | #RUN make install 30 | # 31 | 32 | -------------------------------------------------------------------------------- /Vienna/DockerUsage.md: -------------------------------------------------------------------------------- 1 | # Vienna TCAD Docker Usage 2 | 3 | Vienna-* uses a number of old versions of libraries, this makes it increasingly difficult to compile and run on the latest Linux distributions. To work around this a Docker image of an older Ubuntu 18.04 distribution is used. 4 | 5 | ## Installation 6 | 7 | ### Docker Installation 8 | 9 | Search for instructions on how to install Docker on your distribution. 10 | 11 | ### Container Installation 12 | 13 | To install the Docker container navigate to the folder containing this document and execute the following command: 14 | 15 | ./build.sh 16 | 17 | The software will be automatically downloaded and installed - this will take some time. 18 | 19 | 20 | ## Usage 21 | 22 | To interact with the installed container execute the following command: 23 | 24 | ./bash.sh 25 | 26 | Which will allow you to navigate and execute software within the container. 27 | 28 | To move files to and from the container use the Docker command (from a host terminal): 29 | 30 | docker cp INST_NAME:/container/file/location /host/file/location 31 | 32 | Use the ``docker ps`` to file the instance name of running containers. 33 | 34 | -------------------------------------------------------------------------------- /Charon/DockerUsage.md: -------------------------------------------------------------------------------- 1 | # Charon TCAD Docker Usage 2 | 3 | Charon-TCAD uses a number of old versions of libraries, this makes it increasingly difficult to compile and run on the latest Linux distributions. To work around this a Docker image of an older Ubuntu 18.04 distribution is used. 4 | 5 | ## Installation 6 | 7 | ### Docker Installation 8 | 9 | Search for instructions on how to install Docker on your distribution. 10 | 11 | ### Container Installation 12 | 13 | To install the Docker container navigate to the folder containing this document and execute the following command: 14 | 15 | ./build.sh 16 | 17 | The software will be automatically downloaded and installed - this will take some time. 18 | 19 | 20 | ## Usage 21 | 22 | To interact with the installed container execute the following command: 23 | 24 | ./bash.sh 25 | 26 | Which will allow you to navigate and execute software within the container. 27 | 28 | To move files to and from the container use the Docker command (from a host terminal): 29 | 30 | docker cp INST_NAME:/container/file/location /host/file/location 31 | 32 | Use the ``docker ps`` to file the instance name of running containers. 33 | 34 | -------------------------------------------------------------------------------- /DevSim/DockerUsage.md: -------------------------------------------------------------------------------- 1 | # DevSim TCAD Docker Usage 2 | 3 | DevSim-TCAD uses a number of old versions of libraries, this makes it increasingly difficult to compile and run on the latest Linux distributions. To work around this a Docker image of an older Ubuntu 20.04 distribution is used. 4 | 5 | ## Installation 6 | 7 | ### Docker Installation 8 | 9 | Search for instructions on how to install Docker on your distribution. 10 | 11 | ### Container Installation 12 | 13 | To install the Docker container navigate to the folder containing this document and execute the following command: 14 | 15 | ./build.sh 16 | 17 | The software will be automatically downloaded and installed - this will take some time. 18 | 19 | 20 | ## Usage 21 | 22 | To interact with the installed container execute the following command: 23 | 24 | ./bash.sh 25 | 26 | Which will allow you to navigate and execute software within the container. 27 | 28 | To move files to and from the container use the Docker command (from a host terminal): 29 | 30 | docker cp INST_NAME:/container/file/location /host/file/location 31 | 32 | Use the ``docker ps`` to file the instance name of running containers. 33 | 34 | -------------------------------------------------------------------------------- /Genius/DockerUsage.md: -------------------------------------------------------------------------------- 1 | # Genius TCAD Docker Usage 2 | 3 | Genius-TCAD uses a number of old versions of libraries, this makes it increasingly difficult to compile and run on the latest Linux distributions. To work around this a Docker image of an older Ubuntu 14.04 distribution is used. 4 | 5 | ## Installation 6 | 7 | ### Docker Installation 8 | 9 | Search for instructions on how to install Docker on your distribution. 10 | 11 | ### Container Installation 12 | 13 | To install the Docker container navigate to the folder containing this document and execute the following command: 14 | 15 | ./build.sh 16 | 17 | The software will be automatically downloaded and installed - this will take some time. 18 | 19 | 20 | ## Usage 21 | 22 | To interact with the installed container execute the following command: 23 | 24 | ./bash.sh 25 | 26 | Which will allow you to navigate and execute software within the container. 27 | 28 | To move files to and from the container use the Docker command (from a host terminal): 29 | 30 | docker cp INST_NAME:/container/file/location /host/file/location 31 | 32 | Use the ``docker ps`` to file the instance name of running containers. 33 | 34 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # OpenSourceTCAD 2 | Easy access to OpenSource TCAD Tools 3 | 4 | The repository contains Docker scripts to get various TCAD Tools running: 5 | * Charon (6.5 GB) 6 | * DevSim (800 MB) 7 | * Genius (1.8 GB) 8 | 9 | To be added: 10 | * ViennaMOS 11 | * FastHenry 12 | ... 13 | 14 | # Installation and Usage: 15 | 16 | If you have Debian/Ubuntu Linux you can use the install-ubuntu.sh script, which installs docker and builds all the TCAD tools: 17 | Warning: The build process takes approximately 10 hours. 18 | 19 | ./install-ubuntu.sh 20 | 21 | If you want to install just one of the tools, install the docker.io package, and then go to the directory of the tool and run "sudo bash build.sh". 22 | On other Linux distributions, please install Docker.io and afterwards run sudo bash build.sh in each tool directory you want. 23 | 24 | 25 | 26 | # Genius 27 | 28 | cd Genius 29 | sudo bash bash.sh 30 | #bin/genius.LINUX -i 31 | bin/genius.LINUX -i examples/MOS/2D/nmos1_quad.inp 32 | paraview nmos_quad.vtu 33 | # Now click on the Apply button on the left and then click on the Combobox in the upper left area and select electrical_field 34 | Genius User Manual: https://www.i-vis.co.jp/pdf/cogenda/User_Guide.pdf 35 | 36 | # DevSim 37 | 38 | cd DevSim 39 | sudo bash bash.sh 40 | #python3 41 | cd testing 42 | python3 mos_2d.py 43 | DevSim User Manual: https://devsim.com/devsim_papers/devsim.pdf 44 | 45 | # Charon 46 | cd Charon 47 | sudo bash bash.sh 48 | #charon_mp.exe --i= 49 | cd /tcad-charon/test/nightlyTests/bjt1dbasebc 50 | charon_mp.exe --i=2c2907.dd.equ.xml 51 | 52 | Charon User Manual: https://charon.sandia.gov/documentation/Charon_UserManual.pdf 53 | 54 | 55 | Other opensource TCAD systems: 56 | * https://www.iee.et.tu-dresden.de/iee/eb/forsch/AK-Bipo/2019/7-MOS-AK-Association_wgr_BipAK19.pdf 57 | -------------------------------------------------------------------------------- /Charon/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:18.04 2 | 3 | #firefox https://charon.sandia.gov/ & 4 | 5 | ### Install prerequistes 6 | RUN apt update --fix-missing 7 | RUN apt update && apt upgrade -y 8 | RUN apt install -y build-essential cmake gfortran git flex bison \ 9 | wget curl python python-sip-dev libglu1-mesa-dev freeglut3-dev mesa-common-dev hdf5-tools linux-headers-generic \ 10 | libhdf5-dev netcdf-bin cdftools libnetcdf-dev cmake libopenblas-dev libblas-dev libboost-all-dev screen htop 11 | RUN apt install -y git-lfs vim-scripts build-essential libssl-dev 12 | 13 | WORKDIR / 14 | RUN wget https://github.com/Kitware/CMake/releases/download/v3.20.2/cmake-3.20.2.tar.gz 15 | RUN tar -zxvf cmake-3.20.2.tar.gz 16 | WORKDIR cmake-3.20.2 17 | RUN ./bootstrap 18 | RUN make -j24 19 | RUN make install 20 | 21 | 22 | 23 | WORKDIR / 24 | RUN git clone https://github.com/TriBITSPub/TriBITS.git 25 | #WORKDIR tribits 26 | #RUN git checkout -f 8d696d0bb0 27 | #WORKDIR / 28 | RUN mv TriBITS tribits 29 | RUN mkdir tribits/build 30 | WORKDIR tribits/build 31 | RUN cmake .. 32 | RUN make -j24 33 | RUN make install 34 | ENV TRIBITS_BASE_DIR='/tribits' 35 | 36 | WORKDIR / 37 | RUN wget https://www.idi.moe/files/charon/charon-distrib-v2_1.tar.gz 38 | RUN mv charon-distrib-v2_1.tar.gz charon-distrib.tar.gz 39 | RUN tar hxvzf charon-distrib.tar.gz 40 | WORKDIR tcad-charon 41 | RUN ls scripts/build/all 42 | RUN /bin/bash 43 | 44 | 45 | RUN git clone https://github.com/trilinos/Trilinos.git 46 | WORKDIR Trilinos 47 | RUN git checkout charon-release-v2.1-06.may.2020 48 | RUN mkdir build 49 | WORKDIR build 50 | RUN apt install -y libmatio-dev 51 | RUN cmake -DTrilinos_ENABLE_ALL_PACKAGES=ON -DCMAKE_INSTALL_PREFIX=/usr/local/ .. 52 | RUN cmake -DTPL_ENABLE_Matio=OFF -DCMAKE_INSTALL_PREFIX=/usr/local/ . 53 | RUN make -j24 54 | RUN make install 55 | 56 | COPY FixedCMakeLists.txt /tcad-charon/test/nightlyTests/particleStrike/CMakeLists.txt.new 57 | RUN cp /tcad-charon/test/nightlyTests/particleStrike/CMakeLists.txt.new /tcad-charon/test/nightlyTests/particleStrike/CMakeLists.txt 58 | WORKDIR /tcad-charon/scripts/build/all 59 | RUN mkdir src 60 | RUN mkdir src/interpreter 61 | RUN cp -r /tcad-charon/scripts/charonInterpreter /tcad-charon/scripts/build/all/src/interpreter/ 62 | RUN ls src/interpreter/charonInterpreter 63 | RUN pwd 64 | RUN ls / 65 | RUN pwd && python3 build_charon.py --debug-level=1 66 | RUN make -j24 67 | RUN make install 68 | -------------------------------------------------------------------------------- /Genius/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:trusty-20190425 2 | 3 | ### Install prerequistes 4 | RUN apt update --fix-missing 5 | RUN apt update && apt upgrade -y && apt install -y build-essential cmake gfortran git flex bison \ 6 | wget curl python python-sip-dev libglu1-mesa-dev freeglut3-dev mesa-common-dev hdf5-tools linux-headers-generic \ 7 | libvtk5-dev libvtk5-qt4-dev python-vtk tcl-vtk lvtk-dev lvtk-tools vtkdata libhdf5-dev 8 | 9 | 10 | ### Install PETSC 11 | RUN wget http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-3.5.4.tar.gz 12 | RUN tar -xvf petsc-3.5.4.tar.gz 13 | RUN sed -i 's/crd.lbl.gov\/~xiaoye\/SuperLU/pdk.libresilicon.com/g' petsc-3.5.4/config/PETSc/packages/SuperLU.py 14 | 15 | WORKDIR petsc-3.5.4 16 | RUN ./configure --with-mpi=0 \ 17 | --with-debugging=0 --with-shared-libraries=0 --with-x=0 --with-pic=1 \ 18 | --download-f2cblaslapack=1 \ 19 | --download-metis=1 \ 20 | --download-superlu=1 \ 21 | --COPTFLAGS="-O2" --CXXOPTFLAGS="-O2" --FOPTFLAGS="-O2" 22 | RUN make 23 | 24 | 25 | ### Install CGNS 26 | WORKDIR / 27 | #RUN curl -O -J -L https://sourceforge.net/projects/cgns/files/cgnslib_2.5/Release%205/cgnslib_2.5-5.tar.gz/download 28 | RUN curl -O -J -L "https://downloads.sourceforge.net/project/cgns/cgnslib_2.5/Release%205/cgnslib_2.5-5.tar.gz?r=https%3A%2F%2Fsourceforge.net%2Fprojects%2Fcgns%2Ffiles%2Fcgnslib_2.5%2FRelease%25205%2Fcgnslib_2.5-5.tar.gz%2Fdownload&ts=1605564219" 29 | RUN tar -xvf cgnslib_2.5-5.tar.gz 30 | WORKDIR cgnslib_2.5 31 | RUN chmod +x configure 32 | RUN ./configure --enable-shared 33 | RUN make && make install 34 | 35 | 36 | ### Install Genius 37 | WORKDIR / 38 | RUN git clone https://github.com/cogenda/Genius-TCAD-Open.git 39 | WORKDIR Genius-TCAD-Open 40 | 41 | RUN echo "--- wscript.orig 2020-04-18 19:02:15.583526950 +0000" >> lib.patch 42 | RUN echo "+++ wscript 2020-04-18 19:06:15.895709943 +0000" > lib.patch 43 | RUN echo "@@ -805,7 +805,7 @@" >> lib.patch 44 | RUN echo " def config_vtk():" >> lib.patch 45 | RUN echo " libs = '''vtkRendering vtkGraphics vtkImaging vtkIO vtkFiltering" >> lib.patch 46 | RUN echo "- vtkCommon vtksys vtkDICOMParser vtkpng vtktiff vtkzlib" >> lib.patch 47 | RUN echo "+ vtkCommon vtksys vtkDICOMParser" >> lib.patch 48 | RUN echo "- vtkjpeg vtkexpat vtkftgl vtkfreetype'''.split()" >> lib.patch 49 | RUN echo "+ vtkmetaio'''.split()" >> lib.patch 50 | RUN echo "" >> lib.patch 51 | RUN echo " if platform=='Linux':" >> lib.patch 52 | RUN echo " libs.append('pthread')" >> lib.patch 53 | RUN patch wscript < lib.patch 54 | 55 | RUN ./waf --prefix=$PWD \ 56 | --with-petsc-dir=/petsc-3.5.4 \ 57 | --with-petsc-arch=arch-linux2-c-opt \ 58 | --with-vtk-ver=vtk-5.8 \ 59 | --with-vtk-dir=/usr \ 60 | configure build install 61 | 62 | # set the enviroment enviroments 63 | ENV GENIUS_DIR /Genius-TCAD-Open 64 | ENV LD_LIBRARY_PATH $LD_LIBRARY_PATH/:$GENIUS_DIR/lib:/usr/local/lib/ 65 | 66 | RUN apt-get install -y paraview libqt4-sql-sqlite 67 | -------------------------------------------------------------------------------- /Charon/FixedCMakeLists.txt: -------------------------------------------------------------------------------- 1 | INCLUDE(TribitsAddAdvancedTest) 2 | 3 | #################################################### 4 | # Diode particle Strike test 5 | SET(testName charon_mp_particleStrike) 6 | TRIBITS_ADD_ADVANCED_TEST( 7 | ${testName} 8 | OVERALL_WORKING_DIRECTORY TEST_NAME 9 | 10 | TEST_0 COPY_FILES_TO_TEST_DIR 11 | diode-particleStrike.yaml 12 | potential_pndiode.exo.4.0 13 | potential_pndiode.exo.4.1 14 | potential_pndiode.exo.4.2 15 | potential_pndiode.exo.4.3 16 | diode-particleStrike.gold.exo 17 | diode-particleStrike.exodiff 18 | 19 | TEST_1 EXEC charon_mp NOEXEPREFIX DIRECTORY ${PACKAGE_BINARY_DIR} 20 | ARGS --i=diode-particleStrike.yaml --current 21 | PASS_REGULAR_EXPRESSION "Charon run completed." 22 | 23 | # test the correctness of the exodus output 24 | TEST_2 EXEC ${SEACAS_BINARY_DIR}/applications/epu/epu NOEXEPREFIX NOEXESUFFIX 25 | ARGS "-auto" "diode-particleStrike.exo.${MPI_EXEC_MAX_NUMPROCS}." 26 | NUM_MPI_PROCS 1 27 | 28 | TEST_3 EXEC ${SEACAS_BINARY_DIR}/applications/exodiff/exodiff NOEXEPREFIX 29 | NOEXESUFFIX 30 | ARGS -f 31 | diode-particleStrike.exodiff 32 | diode-particleStrike.exo 33 | diode-particleStrike.gold.exo 34 | NUM_MPI_PROCS 1 35 | 36 | ADDED_TEST_NAME_OUT ${testName}_CREATED 37 | ) 38 | IF (${testName}_CREATED) 39 | SET_PROPERTY(TEST Charon_charon_mp_particleStrike PROPERTY LABELS 40 | particleStrike nightly) 41 | ENDIF() 42 | 43 | 44 | #################################################### 45 | # 3D Diode Particle Strike test 46 | SET(testName charon_mp_3DparticleStrike) 47 | TRIBITS_ADD_ADVANCED_TEST( 48 | ${testName} 49 | OVERALL_WORKING_DIRECTORY TEST_NAME 50 | 51 | TEST_0 COPY_FILES_TO_TEST_DIR 52 | diode3D-particleStrike.xml 53 | diode3D.exo.4.0 54 | diode3D.exo.4.1 55 | diode3D.exo.4.2 56 | diode3D.exo.4.3 57 | diode3D-particleStrike.gold.exo 58 | diode3D-particleStrike.exodiff 59 | 60 | TEST_1 EXEC charon_mp NOEXEPREFIX DIRECTORY ${PACKAGE_BINARY_DIR} 61 | ARGS --i=diode3D-particleStrike.xml --current 62 | PASS_REGULAR_EXPRESSION "Charon run completed." 63 | 64 | # test the correctness of the exodus output 65 | TEST_2 EXEC ${SEACAS_BINARY_DIR}/applications/epu/epu NOEXEPREFIX NOEXESUFFIX 66 | ARGS "-auto" "diode3D-particleStrike.exo.${MPI_EXEC_MAX_NUMPROCS}." 67 | NUM_MPI_PROCS 1 68 | 69 | TEST_3 EXEC ${SEACAS_BINARY_DIR}/applications/exodiff/exodiff NOEXEPREFIX 70 | NOEXESUFFIX 71 | ARGS -f 72 | diode3D-particleStrike.exodiff 73 | diode3D-particleStrike.exo 74 | diode3D-particleStrike.gold.exo 75 | NUM_MPI_PROCS 1 76 | 77 | ADDED_TEST_NAME_OUT ${testName}_CREATED 78 | ) 79 | IF (${testName}_CREATED) 80 | SET_PROPERTY(TEST Charon_charon_mp_3DparticleStrike PROPERTY LABELS 81 | particleStrike nightly) 82 | ENDIF() 83 | 84 | 85 | #################################################### 86 | 87 | #################################################### 88 | # Interpreter test 89 | SET(testName charon_mp_particleStrike_input) 90 | TRIBITS_ADD_ADVANCED_TEST( 91 | ${testName} 92 | OVERALL_WORKING_DIRECTORY TEST_NAME 93 | 94 | TEST_0 COPY_FILES_TO_TEST_DIR 95 | diode-particleStrike.sg.inp 96 | diode-particleStrike.sg.inp.gold.xml 97 | 98 | TEST_1 CMND ../../../../src/charonInterpreter 99 | ARGS -i diode-particleStrike.sg.inp 100 | 101 | TEST_2 CMND ../../../../src/interpreter/charonInterpreter/tools/compareParameterLists.py 102 | ARGS diode-particleStrike.sg.inp.xml diode-particleStrike.sg.inp.gold.xml 103 | PASS_REGULAR_EXPRESSION "Files are the same." 104 | 105 | 106 | ADDED_TEST_NAME_OUT ${testName}_CREATED 107 | ) 108 | IF (${testName}_CREATED) 109 | SET_PROPERTY(TEST Charon_charon_mp_particleStrike_input PROPERTY LABELS 110 | particleStrike_input inputVerification) 111 | ENDIF() 112 | 113 | 114 | 115 | #################################################### 116 | # Interpreter test 117 | SET(testName charon_mp_3DparticleStrike_input) 118 | TRIBITS_ADD_ADVANCED_TEST( 119 | ${testName} 120 | OVERALL_WORKING_DIRECTORY TEST_NAME 121 | 122 | TEST_0 COPY_FILES_TO_TEST_DIR 123 | diode3D-particleStrike.sg.inp 124 | diode3D-particleStrike.sg.inp.gold.xml 125 | 126 | TEST_1 CMND ../../../../src/charonInterpreter 127 | ARGS -i diode3D-particleStrike.sg.inp 128 | 129 | TEST_2 CMND ../../../../src/interpreter/charonInterpreter/tools/compareParameterLists.py 130 | ARGS diode3D-particleStrike.sg.inp.xml diode3D-particleStrike.sg.inp.gold.xml 131 | PASS_REGULAR_EXPRESSION "Files are the same." 132 | 133 | 134 | ADDED_TEST_NAME_OUT ${testName}_CREATED 135 | ) 136 | IF (${testName}_CREATED) 137 | SET_PROPERTY(TEST Charon_charon_mp_3DparticleStrike_input PROPERTY LABELS 138 | 3DparticleStrike_input inputVerification) 139 | ENDIF() 140 | --------------------------------------------------------------------------------