Git Product home page Git Product logo

openems-project's People

Contributors

awzhy0yqh81uoyvh avatar biergaizi avatar bodagetta avatar guitorri avatar luzpaz avatar pointhi avatar thliebig avatar

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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openems-project's Issues

CSXCAD build failure

When trying to install openEMS, I get the following error message:

make failed, build incomplete, please see logfile for more details ...
build incomplete, cleaning up tmp dir ...

And this is what the logfile says:

-- The CXX compiler identification is GNU 12.2.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using CMAKE_INSTALL_PREFIX: /home/johann/opt/openEMS
-- Build AppCSXCAD: YES
-- with MPI: 0
-- Configuring done (0.3s)
-- Generating done (0.0s)
-- Build files have been written to: /tmp/tmp.1CL1J2s9Ba
[ 2%] Creating directories for 'fparser'
[ 5%] No download step for 'fparser'
[ 7%] No update step for 'fparser'
[ 10%] No patch step for 'fparser'
[ 12%] Performing configure step for 'fparser'
CMake Warning (dev) at CMakeLists.txt:5 (PROJECT):
cmake_minimum_required() should be called prior to this top-level project()
call. Please see the cmake-commands(7) manual for usage documentation of
both commands.
This warning is for project developers. Use -Wno-dev to suppress it.

-- The CXX compiler identification is GNU 12.2.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at CMakeLists.txt:7 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.

Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.

-- Configuring done (0.2s)
-- Generating done (0.0s)
-- Build files have been written to: /tmp/tmp.1CL1J2s9Ba/fparser-prefix/src/fparser-build
[ 15%] Performing build step for 'fparser'
[ 33%] Building CXX object CMakeFiles/fparser.dir/fparser.cc.o
[ 66%] Building CXX object CMakeFiles/fparser.dir/fpoptimizer.cc.o
[100%] Linking CXX shared library libfparser.so
[100%] Built target fparser
[ 17%] Performing install step for 'fparser'
[100%] Built target fparser
Install the project...
-- Install configuration: "Release"
-- Installing: /home/johann/opt/openEMS/lib/libfparser.so.4.5.1
-- Up-to-date: /home/johann/opt/openEMS/lib/libfparser.so.4
-- Up-to-date: /home/johann/opt/openEMS/lib/libfparser.so
-- Up-to-date: /home/johann/opt/openEMS/include/fparser.hh
[ 20%] Completed 'fparser'
[ 20%] Built target fparser
[ 22%] Creating directories for 'CSXCAD'
[ 25%] No download step for 'CSXCAD'
[ 27%] No update step for 'CSXCAD'
[ 30%] No patch step for 'CSXCAD'
[ 32%] Performing configure step for 'CSXCAD'
CMake Warning (dev) at CMakeLists.txt:9 (PROJECT):
cmake_minimum_required() should be called prior to this top-level project()
call. Please see the cmake-commands(7) manual for usage documentation of
both commands.
This warning is for project developers. Use -Wno-dev to suppress it.

-- The CXX compiler identification is GNU 12.2.1
-- The C compiler identification is GNU 12.2.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found Git: /usr/bin/git (found version "2.40.0")
-- Found Git repository, CSXCAD version tag: v0.6.2-124-gb5919a6
-- FPARSER_ROOT_DIR: /home/johann/opt/openEMS
-- fparser_INCLUDE_DIR: /home/johann/opt/openEMS/include
-- TinyXML_ROOT_DIR
-- Found TinyXML: /usr/lib/libtinyxml.so
-- TinyXML_INCLUDE_DIR: /usr/include
-- TinyXML_LIBRARY: /usr/lib/libtinyxml.so
-- Found HDF5: /usr/lib/libhdf5.so;/usr/lib/libsz.so;/usr/lib/libz.so;/usr/lib/libdl.a;/usr/lib/libm.so (found suitable version "1.14.0", minimum required is "1.8") found components: C HL
-- Using header-only CGAL
-- Targetting Unix Makefiles
-- Using /usr/bin/c++ compiler.
-- Found GMP: /usr/lib/libgmp.so
-- Found MPFR: /usr/lib/libmpfr.so
-- Found Boost: /usr/lib/cmake/Boost-1.81.0/BoostConfig.cmake (found suitable version "1.81.0", minimum required is "1.66")
-- Boost include dirs: /usr/include
-- Boost libraries:
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Using gcc version 4 or later. Adding -frounding-math
-- Found Boost: /usr/lib/cmake/Boost-1.81.0/BoostConfig.cmake (found suitable version "1.81.0", minimum required is "1.46") found components: thread system date_time serialization chrono
-- Found MPI_C: /usr/lib/libmpi.so (found version "3.1")
-- Found MPI_CXX: /usr/lib/libmpi_cxx.so (found version "3.1")
-- Found MPI: TRUE (found version "3.1")
CMake Deprecation Warning at /usr/lib/cmake/vtk/vtk-config.cmake:75 (message):
The new name for the 'vtkIOGeometry' component is 'IOGeometry'
Call Stack (most recent call first):
CMakeLists.txt:139 (find_package)

CMake Deprecation Warning at /usr/lib/cmake/vtk/vtk-config.cmake:75 (message):
The new name for the 'vtkIOPLY' component is 'IOPLY'
Call Stack (most recent call first):
CMakeLists.txt:139 (find_package)

CMake Warning at /usr/lib/cmake/vtk/VTK-vtk-module-find-packages.cmake:1966 (find_package):
By not providing "Findnlohmann_json.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"nlohmann_json", but CMake did not find one.

Could not find a package configuration file provided by "nlohmann_json"
with any of the following names:

nlohmann_jsonConfig.cmake
nlohmann_json-config.cmake

Add the installation prefix of "nlohmann_json" to CMAKE_PREFIX_PATH or set
"nlohmann_json_DIR" to a directory containing one of the above files. If
"nlohmann_json" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
/usr/lib/cmake/vtk/vtk-config.cmake:152 (include)
CMakeLists.txt:139 (find_package)

-- Found LZMA: /usr/lib/liblzma.so (found version "5.4.2")
-- Found LZ4: /usr/lib/liblz4.so (found version "1.9.4")
-- Found double-conversion: /usr/lib/libdouble-conversion.so
-- Found TIFF: /usr/lib/libtiff.so (found version "4.5.0")
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.13")
-- Found PNG: /usr/lib/libpng.so (found version "1.6.39")
-- Found JPEG: /usr/lib/libjpeg.so (found version "80")
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- Could NOT find utf8cpp (missing: utf8cpp_INCLUDE_DIR)
-- Found package VTK. Using version 9.2.6
CMake Deprecation Warning at /usr/lib/cmake/vtk/vtk-use-file-deprecated.cmake:1 (message):
The VTK_USE_FILE is no longer used starting with 8.90.
Call Stack (most recent call first):
CMakeLists.txt:142 (include)

-- vtk libraries VTK::IOGeometryVTK::IOPLY
-- Configuring done (2.3s)
CMake Error at /usr/lib/cmake/vtk/VTK-targets.cmake:555 (set_target_properties):
The link interface of target "VTK::nlohmannjson" contains:

nlohmann_json::nlohmann_json

but the target was not found. Possible reasons include:

* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.

Call Stack (most recent call first):
/usr/lib/cmake/vtk/vtk-config.cmake:138 (include)
CMakeLists.txt:139 (find_package)

-- Generating done (0.0s)
CMake Generate step failed. Build files cannot be regenerated correctly.
make[2]: *** [CMakeFiles/CSXCAD.dir/build.make:93: CSXCAD-prefix/src/CSXCAD-stamp/CSXCAD-configure] Error 1
make[1]: *** [CMakeFiles/Makefile2:117: CMakeFiles/CSXCAD.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

I've been trying to install it for a while now as well as looking into the CmakeLists.txt file and trying to modify it, but to no avail. I really need this to work,what can I do?

ImportError: DLL load failed while importing CSXCAD

Windows 10 Pro 64 bit, Python 3.11 64 bit, I successful install the packages:

openEMS_x64_v0.0.35-99-gecf0c16_msvc
pip install CSXCAD-0.6.2-cp311-cp311-win_amd64.whl
pip install openEMS-0.0.33-cp311-cp311-win_amd64.whl

BUT, when try any of the examples in:
openEMS_x64_v0.0.35-99-gecf0c16_msvc\openEMS\python\Tutorials

it returns ERRRR:

C:\Users\mlap\Downloads\openEMS_x64_v0.0.35-99-gecf0c16_msvc\openEMS\python\Tutorials>Simple_Patch_Antenna.py
Traceback (most recent call last):
File "C:\Users\mlap\Downloads\openEMS_x64_v0.0.35-99-gecf0c16_msvc\openEMS\python\Tutorials\Simple_Patch_Antenna.py", line 12, in
from CSXCAD import ContinuousStructure
File "C:\Users\mlap\AppData\Local\Programs\Python\Python311\Lib\site-packages\CSXCAD_init_.py", line 19, in
from CSXCAD.CSXCAD import ContinuousStructure
ImportError: DLL load failed while importing CSXCAD: The specified module could not be found.

Installation on Windows 11

Hi,

I followed the instructions here: https://docs.openems.de/install.html (Basically just extracting the downloaded zip folder into C drive).

I did the next steps give here: https://docs.openems.de/python/install.html#windows
git clone --recursive https://github.com/thliebig/openEMS-Project.git
cd openEMS-Project/CSXCAD/python

So far so good...

But when attempting to install with:
python setup.py build_ext -IC:\opt\openEMS\include -LC:\opt\openEMS

I get the following errors (copying here only the last few lines, but the same error is repeated 100 times):
C:\OpenSourceSI\openEMS-Project\CSXCAD\python\CSXCAD\CSProperties.cpp(47892): error C2039: 'LEtype': is not a member of 'CSPropLumpedElement'
C:\OpenSourceSI\openEMS\include\CSXCAD/CSPropLumpedElement.h(26): note: see declaration of 'CSPropLumpedElement'
C:\OpenSourceSI\openEMS-Project\CSXCAD\python\CSXCAD\CSProperties.cpp(47893): error C2039: 'LEtype': is not a member of 'CSPropLumpedElement'
C:\OpenSourceSI\openEMS\include\CSXCAD/CSPropLumpedElement.h(26): note: see declaration of 'CSPropLumpedElement'
C:\OpenSourceSI\openEMS-Project\CSXCAD\python\CSXCAD\CSProperties.cpp(47893): error C2039: 'LEtype': is not a member of 'CSPropLumpedElement'
C:\OpenSourceSI\openEMS\include\CSXCAD/CSPropLumpedElement.h(26): note: see declaration of 'CSPropLumpedElement'
C:\OpenSourceSI\openEMS-Project\CSXCAD\python\CSXCAD\CSProperties.cpp(47893): error C2039: 'LEtype': is not a member of 'CSPropLumpedElement'
C:\OpenSourceSI\openEMS\include\CSXCAD/CSPropLumpedElement.h(26): note: see declaration of 'CSPropLumpedElement'
C:\OpenSourceSI\openEMS-Project\CSXCAD\python\CSXCAD\CSProperties.cpp(47898): error C2039: 'LEtype': is not a member of 'CSPropLumpedElement'
C:\OpenSourceSI\openEMS\include\CSXCAD/CSPropLumpedElement.h(26): note: see declaration of 'CSPropLumpedElement'
C:\OpenSourceSI\openEMS-Project\CSXCAD\python\CSXCAD\CSProperties.cpp(47898): fatal error C1003: error count exceeds 100; stopping compilation
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.39.33519\bin\HostX86\x64\cl.exe' failed with exit code 2

Please help with fixing this issue.

Regards,
Jones

CMakeLists.txt missing CTB and hyp2mat

Would it be possible to include CTB/hyp2mat in the CMakeLists.txt like you have done for AppCSXCAD/QCSXCAD?

I am trying to build the project using the Spack packaging system (common in High Performance Computing environments). Packaging using cmake is relatively straight forward but relying on a bash script instead highly complicates the install.

Mistype?

% fgrep -Ri Primtive
openEMS/python/openEMS/ports.py:    :param priority: int -- priority of all contained primtives
CSXCAD/python/CSXCAD/CSPrimitives.pyx:        Create a primtive specified by the `prim_type`
CSXCAD/src/CSPrimitives.h:      bool GetPrimitiveUsed() {return m_Primtive_Used;}
CSXCAD/src/CSPrimitives.h:      void SetPrimitiveUsed(bool val) {m_Primtive_Used=val;}
CSXCAD/src/CSPrimitives.h:      bool m_Primtive_Used;
CSXCAD/src/CSPrimitives.cpp:    m_Primtive_Used = false;

Python modules not installed despite the --python option

I am trying to install opemEMS while following the installation instructions to include the python interface.
After installing dependencies and starting the build I get the following output:

> ./update_openEMS.sh ~/opt/openEMS --python
enabling Python Extension build
setting install path to: /home/dmytro/opt/openEMS
logging build output to: /home/dmytro/Documents/projects/openEMS-Project/build_20240403_004127.log
running cmake in tmp dir: /tmp/tmp.UMYLr24AKr
CMake Warning (dev) at CMakeLists.txt:5 (PROJECT):
  cmake_minimum_required() should be called prior to this top-level project()
  call.  Please see the cmake-commands(7) manual for usage documentation of
  both commands.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Deprecation Warning at CMakeLists.txt:7 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


build openEMS and dependencies ... please wait
build successful, cleaning up tmp dir ...
build CSXCAD python module ... please wait
build openEMS python module ... please wait
 -------- 
openEMS and all modules have been updated successfully...

% add the required paths to Octave/Matlab:
addpath('/home/dmytro/opt/openEMS/share/openEMS/matlab')
addpath('/home/dmytro/opt/openEMS/share/CSXCAD/matlab')

% optional additional pckages:

Have fun using openEMS

log file: build_20240403_004127.log

But when I look into /home/dmytro/opt/openEMS/share/openEMS/ and /home/dmytro/opt/openEMS/share/CSXCAD/ I only see the matlab folder. From my understanding there should also be a python folder there, but there is none. Trying to import openems in python REPL also fails.

What am I doing wrong, any help would be greatly appreciated. Thank you.

Missing dependencies?

In trying to install using brew install --HEAD https://raw.github.com/thliebig/openEMS-Project/master/brew/openEMS.rb I am finding missing dependencies (at the vtk dependency point), including:

  • sip
  • pyqt

This may be a problem with the vtk brew recipe.

After installing vtk the build eventually fails with

==> Checking out branch master
==> cmake . -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/openEMS/HEAD -DCMAKE_BUILD_TYPE=Release -DCMAKE_F
==> make
Last 15 lines from /Users/jkletsky/Library/Logs/Homebrew/openEMS/02.make:
[ 84%] Building CXX object src/CMakeFiles/CSXCAD.dir/CSPropConductingSheet.cpp.o
[ 87%] Building CXX object src/CMakeFiles/CSXCAD.dir/CSPropExcitation.cpp.o
[ 89%] Building CXX object src/CMakeFiles/CSXCAD.dir/CSPropProbeBox.cpp.o
[ 92%] Building CXX object src/CMakeFiles/CSXCAD.dir/CSPropDumpBox.cpp.o
[ 94%] Building CXX object src/CMakeFiles/CSXCAD.dir/CSPropResBox.cpp.o
[ 97%] Building CXX object src/CMakeFiles/CSXCAD.dir/CSBackgroundMaterial.cpp.o
[100%] Linking CXX shared library libCSXCAD.dylib
ld: library not found for -lvtkCommon
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[5]: *** [src/libCSXCAD.0.6.0.dylib] Error 1
make[4]: *** [src/CMakeFiles/CSXCAD.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [CSXCAD-prefix/src/CSXCAD-stamp/CSXCAD-build] Error 2
make[1]: *** [CMakeFiles/CSXCAD.dir/all] Error 2
make: *** [all] Error 2

Looking into this further now

build failure

I am trying to install openEMS and I have the following log file.

-- The CXX compiler identification is GNU 10.3.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using CMAKE_INSTALL_PREFIX: /home/user1/opt/openEMS
-- Build AppCSXCAD: YES
-- with MPI: 0
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/tmp.ChPxdluuCL
[ 2%] Creating directories for 'fparser'
[ 5%] No download step for 'fparser'
[ 7%] No update step for 'fparser'
[ 10%] No patch step for 'fparser'
[ 12%] Performing configure step for 'fparser'
-- The CXX compiler identification is GNU 10.3.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at CMakeLists.txt:7 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.

Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.

-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/tmp.ChPxdluuCL/fparser-prefix/src/fparser-build
[ 15%] Performing build step for 'fparser'
[ 33%] Building CXX object CMakeFiles/fparser.dir/fparser.cc.o
[ 66%] Building CXX object CMakeFiles/fparser.dir/fpoptimizer.cc.o
[100%] Linking CXX shared library libfparser.so
[100%] Built target fparser
[ 17%] Performing install step for 'fparser'
Consolidate compiler generated dependencies of target fparser
[100%] Built target fparser
Install the project...
-- Install configuration: "Release"
-- Installing: /home/user1/opt/openEMS/lib/libfparser.so.4.5.1
-- Up-to-date: /home/user1/opt/openEMS/lib/libfparser.so.4
-- Up-to-date: /home/user1/opt/openEMS/lib/libfparser.so
-- Installing: /home/user1/opt/openEMS/include/fparser.hh
[ 20%] Completed 'fparser'
[ 20%] Built target fparser
[ 22%] Creating directories for 'CSXCAD'
[ 25%] No download step for 'CSXCAD'
[ 27%] No update step for 'CSXCAD'
[ 30%] No patch step for 'CSXCAD'
[ 32%] Performing configure step for 'CSXCAD'
-- The CXX compiler identification is GNU 10.3.0
-- The C compiler identification is GNU 10.3.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found Git: /usr/bin/git (found version "2.31.1")
-- Found Git repository, CSXCAD version tag: v0.6.2-123-gc29742b
-- FPARSER_ROOT_DIR: /home/user1/opt/openEMS
-- fparser_INCLUDE_DIR: /home/user1/opt/openEMS/include
-- TinyXML_ROOT_DIR
-- Found TinyXML: /usr/lib64/libtinyxml.so
-- TinyXML_INCLUDE_DIR: /usr/include
-- TinyXML_LIBRARY: /usr/lib64/libtinyxml.so
-- Found HDF5: /usr/lib64/libhdf5.so;/usr/lib64/libz.so;/usr/lib64/libdl.so;/usr/lib64/libm.so (found suitable version "1.10.5", minimum required is "1.8") found components: C HL
-- Using header-only CGAL
-- Targetting Unix Makefiles
-- Using /usr/bin/c++ compiler.
-- Found GMP: /usr/lib64/libgmp.so
-- Found MPFR: /usr/lib64/libmpfr.so
-- Found Boost: /usr/lib64/cmake/Boost-1.76.0/BoostConfig.cmake (found suitable version "1.76.0", minimum required is "1.48")
-- Boost include dirs: /usr/include
-- Boost libraries:
-- Using gcc version 4 or later. Adding -frounding-math
-- Found Boost: /usr/lib64/cmake/Boost-1.76.0/BoostConfig.cmake (found suitable version "1.76.0", minimum required is "1.46") found components: thread system date_time serialization chrono
-- Found MPI_C: /usr/lib64/libmpi.so (found version "3.1")
-- Found MPI_CXX: /usr/lib64/libmpi.so (found version "3.1")
-- Found MPI: TRUE (found version "3.1")
CMake Deprecation Warning at /usr/lib64/cmake/vtk-9.0/vtk-config.cmake:64 (message):
The new name for the 'vtkIOGeometry' component is 'IOGeometry'
Call Stack (most recent call first):
CMakeLists.txt:139 (find_package)

CMake Deprecation Warning at /usr/lib64/cmake/vtk-9.0/vtk-config.cmake:64 (message):
The new name for the 'vtkIOPLY' component is 'IOPLY'
Call Stack (most recent call first):
CMakeLists.txt:139 (find_package)

CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to find_package_handle_standard_args (OpenMP_CXX)
does not match the name of the calling package (OpenMP). This can lead to
problems in calling code that expects find_package result variables
(e.g., _FOUND) to follow a certain pattern.
Call Stack (most recent call first):
/usr/lib64/cmake/vtk-9.0/FindOpenMP.cmake:487 (find_package_handle_standard_args)
/usr/lib64/cmake/vtk-9.0/vtkm/cmake/VTKmDeviceAdapters.cmake:90 (find_package)
/usr/lib64/cmake/vtk-9.0/vtkm/cmake/VTKmWrappers.cmake:13 (include)
/usr/lib64/cmake/vtk-9.0/vtkm/VTKmConfig.cmake:151 (include)
/usr/lib64/cmake/vtk-9.0/vtk-config.cmake:117 (find_package)
CMakeLists.txt:139 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.

-- Found Threads: TRUE
-- Found JsonCpp: /usr/lib64/libjsoncpp.so (found suitable version "1.9.3", minimum required is "0.7.0")
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11")
-- Found PNG: /usr/lib64/libpng.so (found version "1.6.37+apng")
-- Found double-conversion: /usr/lib64/libdouble-conversion.so
-- Found LZ4: /usr/lib64/liblz4.so (found version "1.9.3")
-- Found LZMA: /usr/lib64/liblzma.so (found version "5.2.5")
-- Found utf8cpp: /usr/include/utf8cpp
-- Found JPEG: /usr/lib64/libjpeg.so
-- Found TIFF: /usr/lib64/libtiff.so (found version "4.3.0")
CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to find_package_handle_standard_args (OpenMP_C)
does not match the name of the calling package (OpenMP). This can lead to
problems in calling code that expects find_package result variables
(e.g., _FOUND) to follow a certain pattern.
Call Stack (most recent call first):
/usr/lib64/cmake/vtk-9.0/FindOpenMP.cmake:487 (find_package_handle_standard_args)
/usr/lib64/cmake/vtk-9.0/VTK-vtk-module-find-packages.cmake:1760 (find_package)
/usr/lib64/cmake/vtk-9.0/vtk-config.cmake:131 (include)
CMakeLists.txt:139 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.

-- Found OpenMP_C: -fopenmp (found version "4.5")
CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to find_package_handle_standard_args (OpenMP_CXX)
does not match the name of the calling package (OpenMP). This can lead to
problems in calling code that expects find_package result variables
(e.g., _FOUND) to follow a certain pattern.
Call Stack (most recent call first):
/usr/lib64/cmake/vtk-9.0/FindOpenMP.cmake:487 (find_package_handle_standard_args)
/usr/lib64/cmake/vtk-9.0/VTK-vtk-module-find-packages.cmake:1760 (find_package)
/usr/lib64/cmake/vtk-9.0/vtk-config.cmake:131 (include)
CMakeLists.txt:139 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.

-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- Found package VTK. Using version 9.0.1
CMake Deprecation Warning at /usr/lib64/cmake/vtk-9.0/vtk-use-file-deprecated.cmake:1 (message):
The VTK_USE_FILE is no longer used starting with 8.90.
Call Stack (most recent call first):
CMakeLists.txt:142 (include)

-- vtk libraries VTK::IOGeometryVTK::IOPLY
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/tmp.ChPxdluuCL/CSXCAD-prefix/src/CSXCAD-build
[ 35%] Performing build step for 'CSXCAD'
[ 2%] Building CXX object src/CMakeFiles/CSXCAD.dir/CSPrimitives.cpp.o
[ 5%] Building CXX object src/CMakeFiles/CSXCAD.dir/CSProperties.cpp.o
[ 7%] Building CXX object src/CMakeFiles/CSXCAD.dir/CSRectGrid.cpp.o
[ 10%] Building CXX object src/CMakeFiles/CSXCAD.dir/ContinuousStructure.cpp.o
[ 12%] Building CXX object src/CMakeFiles/CSXCAD.dir/ParameterObjects.cpp.o
[ 15%] Building CXX object src/CMakeFiles/CSXCAD.dir/CSFunctionParser.cpp.o
[ 17%] Building CXX object src/CMakeFiles/CSXCAD.dir/CSUseful.cpp.o
[ 20%] Building CXX object src/CMakeFiles/CSXCAD.dir/ParameterCoord.cpp.o
[ 23%] Building CXX object src/CMakeFiles/CSXCAD.dir/CSTransform.cpp.o
[ 25%] Building CXX object src/CMakeFiles/CSXCAD.dir/CSPrimPoint.cpp.o
[ 28%] Building CXX object src/CMakeFiles/CSXCAD.dir/CSPrimBox.cpp.o
[ 30%] Building CXX object src/CMakeFiles/CSXCAD.dir/CSPrimMultiBox.cpp.o
[ 33%] Building CXX object src/CMakeFiles/CSXCAD.dir/CSPrimSphere.cpp.o
[ 35%] Building CXX object src/CMakeFiles/CSXCAD.dir/CSPrimSphericalShell.cpp.o
[ 38%] Building CXX object src/CMakeFiles/CSXCAD.dir/CSPrimCylinder.cpp.o
[ 41%] Building CXX object src/CMakeFiles/CSXCAD.dir/CSPrimCylindricalShell.cpp.o
[ 43%] Building CXX object src/CMakeFiles/CSXCAD.dir/CSPrimPolygon.cpp.o
[ 46%] Building CXX object src/CMakeFiles/CSXCAD.dir/CSPrimLinPoly.cpp.o
[ 48%] Building CXX object src/CMakeFiles/CSXCAD.dir/CSPrimRotPoly.cpp.o
[ 51%] Building CXX object src/CMakeFiles/CSXCAD.dir/CSPrimPolyhedron.cpp.o
[ 53%] Building CXX object src/CMakeFiles/CSXCAD.dir/CSPrimPolyhedronReader.cpp.o
[ 56%] Building CXX object src/CMakeFiles/CSXCAD.dir/CSPrimCurve.cpp.o
[ 58%] Building CXX object src/CMakeFiles/CSXCAD.dir/CSPrimWire.cpp.o
[ 61%] Building CXX object src/CMakeFiles/CSXCAD.dir/CSPrimUserDefined.cpp.o
[ 64%] Building CXX object src/CMakeFiles/CSXCAD.dir/CSPropUnknown.cpp.o
[ 66%] Building CXX object src/CMakeFiles/CSXCAD.dir/CSPropMaterial.cpp.o
[ 69%] Building CXX object src/CMakeFiles/CSXCAD.dir/CSPropDispersiveMaterial.cpp.o
[ 71%] Building CXX object src/CMakeFiles/CSXCAD.dir/CSPropLorentzMaterial.cpp.o
[ 74%] Building CXX object src/CMakeFiles/CSXCAD.dir/CSPropDebyeMaterial.cpp.o
[ 76%] Building CXX object src/CMakeFiles/CSXCAD.dir/CSPropDiscMaterial.cpp.o
[ 79%] Building CXX object src/CMakeFiles/CSXCAD.dir/CSPropLumpedElement.cpp.o
[ 82%] Building CXX object src/CMakeFiles/CSXCAD.dir/CSPropMetal.cpp.o
[ 84%] Building CXX object src/CMakeFiles/CSXCAD.dir/CSPropConductingSheet.cpp.o
[ 87%] Building CXX object src/CMakeFiles/CSXCAD.dir/CSPropExcitation.cpp.o
[ 89%] Building CXX object src/CMakeFiles/CSXCAD.dir/CSPropProbeBox.cpp.o
[ 92%] Building CXX object src/CMakeFiles/CSXCAD.dir/CSPropDumpBox.cpp.o
[ 94%] Building CXX object src/CMakeFiles/CSXCAD.dir/CSPropResBox.cpp.o
[ 97%] Building CXX object src/CMakeFiles/CSXCAD.dir/CSBackgroundMaterial.cpp.o
[100%] Linking CXX shared library libCSXCAD.so
[100%] Built target CSXCAD
[ 37%] Performing install step for 'CSXCAD'
Consolidate compiler generated dependencies of target CSXCAD
[100%] Built target CSXCAD
Install the project...
-- Install configuration: "Release"
-- Up-to-date: /home/user1/opt/openEMS/share/CSXCAD/matlab
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/export_gerber.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/AddLinPoly.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/AddDebyeMaterial.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/AddPlaneWaveExcite.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/AddPropAttribute.m
-- Up-to-date: /home/user1/opt/openEMS/share/CSXCAD/matlab/private
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/private/GetPropertyPosition.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/private/FindProperty.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/private/vector2str.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/private/octave_struct2xml_2.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/private/struct_2_xmlNode.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/private/Add2Property.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/private/SmoothRange.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/private/AddProperty.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/private/SetPropertyArgs.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/private/CheckSymmtricLines.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/private/GetPropertyType.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/private/AddPrimitiveArgs.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/AddConductingSheet.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/export_empire.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/export_povray.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/AddPolyhedron.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/DetectEdges.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/AddCylinder.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/AddSphericalShell.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/AddMaterial.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/AddBox.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/SmoothMeshLines.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/AddPoint.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/CalcLorentzMaterial.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/InitCSX.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/CalcDrudeMaterial.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/AddExcitation.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/SetMaterialWeight.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/SetMaterialProperty.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/SmoothMeshLines2.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/DirChar2Int.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/AddCurve.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/AddPolygon.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/ImportSTL.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/AddWire.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/searchBinary.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/Convert_VF_DiscMaterial.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/export_excellon.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/SetBackgroundMaterial.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/AddLumpedElement.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/AddDiscMaterial.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/AddMetal.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/AddCylindricalShell.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/AddDump.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/CalcDebyeMaterial.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/RecursiveSmoothMesh.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/AnalyseMesh.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/DefineRectGrid.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/CheckMesh.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/CreateDiscMaterial.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/AddRotPoly.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/AddProbe.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/SetExcitationWeight.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/AddSphere.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/AutoSmoothMeshLines.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/AddLorentzMaterial.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/ImportPLY.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/CSXGeomPlot.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/SmoothMesh.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/isOctave.m
-- Installing: /home/user1/opt/openEMS/share/CSXCAD/matlab/struct_2_xml.m
-- Installing: /home/user1/opt/openEMS/lib/libCSXCAD.so.0.6.2
-- Up-to-date: /home/user1/opt/openEMS/lib/libCSXCAD.so.0
-- Set runtime path of "/home/user1/opt/openEMS/lib/libCSXCAD.so.0.6.2" to "/home/user1/opt/openEMS/lib"
-- Up-to-date: /home/user1/opt/openEMS/lib/libCSXCAD.so
-- Installing: /home/user1/opt/openEMS/include/CSXCAD/ContinuousStructure.h
-- Installing: /home/user1/opt/openEMS/include/CSXCAD/CSPrimitives.h
-- Installing: /home/user1/opt/openEMS/include/CSXCAD/CSProperties.h
-- Installing: /home/user1/opt/openEMS/include/CSXCAD/CSRectGrid.h
-- Installing: /home/user1/opt/openEMS/include/CSXCAD/CSXCAD_Global.h
-- Installing: /home/user1/opt/openEMS/include/CSXCAD/ParameterObjects.h
-- Installing: /home/user1/opt/openEMS/include/CSXCAD/CSFunctionParser.h
-- Installing: /home/user1/opt/openEMS/include/CSXCAD/CSUseful.h
-- Installing: /home/user1/opt/openEMS/include/CSXCAD/ParameterCoord.h
-- Installing: /home/user1/opt/openEMS/include/CSXCAD/CSTransform.h
-- Installing: /home/user1/opt/openEMS/include/CSXCAD/CSBackgroundMaterial.h
-- Installing: /home/user1/opt/openEMS/include/CSXCAD/CSPrimPoint.h
-- Installing: /home/user1/opt/openEMS/include/CSXCAD/CSPrimBox.h
-- Installing: /home/user1/opt/openEMS/include/CSXCAD/CSPrimMultiBox.h
-- Installing: /home/user1/opt/openEMS/include/CSXCAD/CSPrimSphere.h
-- Installing: /home/user1/opt/openEMS/include/CSXCAD/CSPrimSphericalShell.h
-- Installing: /home/user1/opt/openEMS/include/CSXCAD/CSPrimCylinder.h
-- Installing: /home/user1/opt/openEMS/include/CSXCAD/CSPrimCylindricalShell.h
-- Installing: /home/user1/opt/openEMS/include/CSXCAD/CSPrimPolygon.h
-- Installing: /home/user1/opt/openEMS/include/CSXCAD/CSPrimLinPoly.h
-- Installing: /home/user1/opt/openEMS/include/CSXCAD/CSPrimRotPoly.h
-- Installing: /home/user1/opt/openEMS/include/CSXCAD/CSPrimPolyhedron.h
-- Installing: /home/user1/opt/openEMS/include/CSXCAD/CSPrimPolyhedronReader.h
-- Installing: /home/user1/opt/openEMS/include/CSXCAD/CSPrimCurve.h
-- Installing: /home/user1/opt/openEMS/include/CSXCAD/CSPrimWire.h
-- Installing: /home/user1/opt/openEMS/include/CSXCAD/CSPrimUserDefined.h
-- Installing: /home/user1/opt/openEMS/include/CSXCAD/CSPropUnknown.h
-- Installing: /home/user1/opt/openEMS/include/CSXCAD/CSPropMaterial.h
-- Installing: /home/user1/opt/openEMS/include/CSXCAD/CSPropDispersiveMaterial.h
-- Installing: /home/user1/opt/openEMS/include/CSXCAD/CSPropLorentzMaterial.h
-- Installing: /home/user1/opt/openEMS/include/CSXCAD/CSPropDebyeMaterial.h
-- Installing: /home/user1/opt/openEMS/include/CSXCAD/CSPropDiscMaterial.h
-- Installing: /home/user1/opt/openEMS/include/CSXCAD/CSPropLumpedElement.h
-- Installing: /home/user1/opt/openEMS/include/CSXCAD/CSPropMetal.h
-- Installing: /home/user1/opt/openEMS/include/CSXCAD/CSPropConductingSheet.h
-- Installing: /home/user1/opt/openEMS/include/CSXCAD/CSPropExcitation.h
-- Installing: /home/user1/opt/openEMS/include/CSXCAD/CSPropProbeBox.h
-- Installing: /home/user1/opt/openEMS/include/CSXCAD/CSPropDumpBox.h
-- Installing: /home/user1/opt/openEMS/include/CSXCAD/CSPropResBox.h
[ 40%] Completed 'CSXCAD'
[ 40%] Built target CSXCAD
[ 42%] Creating directories for 'QCSXCAD'
[ 45%] Creating directories for 'openEMS'
[ 47%] No download step for 'QCSXCAD'
[ 50%] No download step for 'openEMS'
[ 55%] No update step for 'QCSXCAD'
[ 55%] No update step for 'openEMS'
[ 60%] No patch step for 'openEMS'
[ 60%] No patch step for 'QCSXCAD'
[ 62%] Performing configure step for 'QCSXCAD'
[ 65%] Performing configure step for 'openEMS'
-- The CXX compiler identification is GNU 10.3.0
-- The CXX compiler identification is GNU 10.3.0
-- Detecting CXX compiler ABI info
-- The C compiler identification is GNU 10.3.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at CMakeLists.txt:11 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.

Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.

CMake Deprecation Warning at CMakeLists.txt:15 (cmake_policy):
The OLD behavior for policy CMP0020 will be removed from a future version
of CMake.

The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.

-- Found Git: /usr/bin/git (found version "2.31.1")
-- Found Git repository, QCSXCAD version tag: v0.6.2-12-g1cde9d5
-- CSXCAD_LIBRARIES: /home/user1/opt/openEMS/lib/libCSXCAD.so
-- CSXCAD_INCLUDE_DIR: /home/user1/opt/openEMS/include/CSXCAD
-- Found TinyXML: /usr/lib64/libtinyxml.so
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found Git: /usr/bin/git (found version "2.31.1")
-- Found Git repository, openEMS version tag: v0.0.35-97-g0342eef
-- fparser: /home/user1/opt/openEMS/lib/libfparser.so
-- CSXCAD_LIBRARIES: /home/user1/opt/openEMS/lib/libCSXCAD.so
-- CSXCAD_INCLUDE_DIR: /home/user1/opt/openEMS/include/CSXCAD
-- Found TinyXML: /usr/lib64/libtinyxml.so
-- TinyXML_INCLUDE_DIR: /usr/include
-- TinyXML_LIBRARY: /usr/lib64/libtinyxml.so
-- Found HDF5: /usr/lib64/libhdf5.so;/usr/lib64/libz.so;/usr/lib64/libdl.so;/usr/lib64/libm.so (found suitable version "1.10.5", minimum required is "1.8") found components: C HL
-- Found MPI_CXX: /usr/lib64/libmpi.so (found version "3.1")
-- Found MPI: TRUE (found version "3.1")
CMake Deprecation Warning at /usr/lib64/cmake/vtk-9.0/vtk-config.cmake:64 (message):
The new name for the 'vtkIOGeometry' component is 'IOGeometry'
Call Stack (most recent call first):
CMakeLists.txt:104 (find_package)

-- Found Boost: /usr/lib64/cmake/Boost-1.76.0/BoostConfig.cmake (found suitable version "1.76.0", minimum required is "1.46") found components: thread system date_time serialization chrono
-- Boost_INCLUDE_DIRS: /usr/include
-- Boost_LIBRARIES: Boost::thread;Boost::system;Boost::date_time;Boost::serialization;Boost::chrono
CMake Deprecation Warning at /usr/lib64/cmake/vtk-9.0/vtk-config.cmake:64 (message):
The new name for the 'vtkIOXML' component is 'IOXML'
Call Stack (most recent call first):
CMakeLists.txt:137 (find_package)

CMake Deprecation Warning at /usr/lib64/cmake/vtk-9.0/vtk-config.cmake:64 (message):
The new name for the 'vtkIOGeometry' component is 'IOGeometry'
Call Stack (most recent call first):
CMakeLists.txt:137 (find_package)

CMake Deprecation Warning at /usr/lib64/cmake/vtk-9.0/vtk-config.cmake:64 (message):
The new name for the 'vtkIOLegacy' component is 'IOLegacy'
Call Stack (most recent call first):
CMakeLists.txt:137 (find_package)

CMake Deprecation Warning at /usr/lib64/cmake/vtk-9.0/vtk-config.cmake:64 (message):
The new name for the 'vtkIOPLY' component is 'IOPLY'
Call Stack (most recent call first):
CMakeLists.txt:137 (find_package)

CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to find_package_handle_standard_args (OpenMP_CXX)
does not match the name of the calling package (OpenMP). This can lead to
problems in calling code that expects find_package result variables
(e.g., _FOUND) to follow a certain pattern.
Call Stack (most recent call first):
/usr/lib64/cmake/vtk-9.0/FindOpenMP.cmake:487 (find_package_handle_standard_args)
/usr/lib64/cmake/vtk-9.0/vtkm/cmake/VTKmDeviceAdapters.cmake:90 (find_package)
/usr/lib64/cmake/vtk-9.0/vtkm/cmake/VTKmWrappers.cmake:13 (include)
/usr/lib64/cmake/vtk-9.0/vtkm/VTKmConfig.cmake:151 (include)
/usr/lib64/cmake/vtk-9.0/vtk-config.cmake:117 (find_package)
CMakeLists.txt:104 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.

-- Looking for C++ include pthread.h
-- Looking for C++ include pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to find_package_handle_standard_args (OpenMP_CXX)
does not match the name of the calling package (OpenMP). This can lead to
problems in calling code that expects find_package result variables
(e.g., _FOUND) to follow a certain pattern.
Call Stack (most recent call first):
/usr/lib64/cmake/vtk-9.0/FindOpenMP.cmake:487 (find_package_handle_standard_args)
/usr/lib64/cmake/vtk-9.0/vtkm/cmake/VTKmDeviceAdapters.cmake:90 (find_package)
/usr/lib64/cmake/vtk-9.0/vtkm/cmake/VTKmWrappers.cmake:13 (include)
/usr/lib64/cmake/vtk-9.0/vtkm/VTKmConfig.cmake:151 (include)
/usr/lib64/cmake/vtk-9.0/vtk-config.cmake:117 (find_package)
CMakeLists.txt:137 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.

-- Found Threads: TRUE
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Check if compiler accepts -pthread
-- Found JsonCpp: /usr/lib64/libjsoncpp.so (found suitable version "1.9.3", minimum required is "0.7.0")
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11")
-- Found PNG: /usr/lib64/libpng.so (found version "1.6.37+apng")
-- Found EXPAT: /usr/lib64/libexpat.so (found version "2.4.1")
-- Found double-conversion: /usr/lib64/libdouble-conversion.so
-- Found LZ4: /usr/lib64/liblz4.so (found version "1.9.3")
-- Found LZMA: /usr/lib64/liblzma.so (found version "5.2.5")
-- Found utf8cpp: /usr/include/utf8cpp
-- Found JPEG: /usr/lib64/libjpeg.so
-- Found TIFF: /usr/lib64/libtiff.so (found version "4.3.0")
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE
-- Found JsonCpp: /usr/lib64/libjsoncpp.so (found suitable version "1.9.3", minimum required is "0.7.0")
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11")
CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to find_package_handle_standard_args (OpenMP_C)
does not match the name of the calling package (OpenMP). This can lead to
problems in calling code that expects find_package result variables
(e.g., _FOUND) to follow a certain pattern.
Call Stack (most recent call first):
/usr/lib64/cmake/vtk-9.0/FindOpenMP.cmake:487 (find_package_handle_standard_args)
/usr/lib64/cmake/vtk-9.0/VTK-vtk-module-find-packages.cmake:1760 (find_package)
/usr/lib64/cmake/vtk-9.0/vtk-config.cmake:131 (include)
CMakeLists.txt:137 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.

-- Found OpenMP_C: -fopenmp (found version "4.5")
CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to find_package_handle_standard_args (OpenMP_CXX)
does not match the name of the calling package (OpenMP). This can lead to
problems in calling code that expects find_package result variables
(e.g., _FOUND) to follow a certain pattern.
Call Stack (most recent call first):
/usr/lib64/cmake/vtk-9.0/FindOpenMP.cmake:487 (find_package_handle_standard_args)
/usr/lib64/cmake/vtk-9.0/VTK-vtk-module-find-packages.cmake:1760 (find_package)
/usr/lib64/cmake/vtk-9.0/vtk-config.cmake:131 (include)
CMakeLists.txt:137 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.

-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- Found PNG: /usr/lib64/libpng.so (found version "1.6.37+apng")
-- Found double-conversion: /usr/lib64/libdouble-conversion.so
-- Found LZ4: /usr/lib64/liblz4.so (found version "1.9.3")
-- Found LZMA: /usr/lib64/liblzma.so (found version "5.2.5")
-- Found utf8cpp: /usr/include/utf8cpp
-- Found package VTK. Using version 9.0.1
-- vtk libraries VTK::IOXMLVTK::IOGeometryVTK::IOLegacyVTK::IOPLY
CMake Deprecation Warning at /usr/lib64/cmake/vtk-9.0/vtk-use-file-deprecated.cmake:1 (message):
The VTK_USE_FILE is no longer used starting with 8.90.
Call Stack (most recent call first):
CMakeLists.txt:143 (include)

-- Detected 64-bit x86 target
CMake Deprecation Warning at nf2ff/CMakeLists.txt:10 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.

Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.

-- Found JPEG: /usr/lib64/libjpeg.so
-- Sources:openems.cpp/home/user1/Documents/build/openEMS-Project/openEMS/tools/AdrOp.cpp/home/user1/Documents/build/openEMS-Project/openEMS/tools/ErrorMsg.cpp/home/user1/Documents/build/openEMS-Project/openEMS/tools/array_ops.cpp/home/user1/Documents/build/openEMS-Project/openEMS/tools/global.cpp/home/user1/Documents/build/openEMS-Project/openEMS/tools/hdf5_file_reader.cpp/home/user1/Documents/build/openEMS-Project/openEMS/tools/hdf5_file_writer.cpp/home/user1/Documents/build/openEMS-Project/openEMS/tools/sar_calculation.cpp/home/user1/Documents/build/openEMS-Project/openEMS/tools/useful.cpp/home/user1/Documents/build/openEMS-Project/openEMS/tools/vtk_file_writer.cpp/home/user1/Documents/build/openEMS-Project/openEMS/FDTD/engine.cpp/home/user1/Documents/build/openEMS-Project/openEMS/FDTD/operator.cpp/home/user1/Documents/build/openEMS-Project/openEMS/FDTD/engine_multithread.cpp/home/user1/Documents/build/openEMS-Project/openEMS/FDTD/operator_cylinder.cpp/home/user1/Documents/build/openEMS-Project/openEMS/FDTD/engine_cylinder.cpp/home/user1/Documents/build/openEMS-Project/openEMS/FDTD/engine_sse.cpp/home/user1/Documents/build/openEMS-Project/openEMS/FDTD/operator_sse.cpp/home/user1/Documents/build/openEMS-Project/openEMS/FDTD/operator_sse_compressed.cpp/home/user1/Documents/build/openEMS-Project/openEMS/FDTD/engine_sse_compressed.cpp/home/user1/Documents/build/openEMS-Project/openEMS/FDTD/operator_multithread.cpp/home/user1/Documents/build/openEMS-Project/openEMS/FDTD/excitation.cpp/home/user1/Documents/build/openEMS-Project/openEMS/FDTD/operator_cylindermultigrid.cpp/home/user1/Documents/build/openEMS-Project/openEMS/FDTD/engine_cylindermultigrid.cpp/home/user1/Documents/build/openEMS-Project/openEMS/FDTD/engine_interface_fdtd.cpp/home/user1/Documents/build/openEMS-Project/openEMS/FDTD/engine_interface_sse_fdtd.cpp/home/user1/Documents/build/openEMS-Project/openEMS/FDTD/engine_interface_cylindrical_fdtd.cpp/home/user1/Documents/build/openEMS-Project/openEMS/FDTD/extensions/engine_extension.cpp/home/user1/Documents/build/openEMS-Project/openEMS/FDTD/extensions/operator_ext_dispersive.cpp/home/user1/Documents/build/openEMS-Project/openEMS/FDTD/extensions/operator_ext_lorentzmaterial.cpp/home/user1/Documents/build/openEMS-Project/openEMS/FDTD/extensions/operator_ext_conductingsheet.cpp/home/user1/Documents/build/openEMS-Project/openEMS/FDTD/extensions/engine_ext_dispersive.cpp/home/user1/Documents/build/openEMS-Project/openEMS/FDTD/extensions/engine_ext_lorentzmaterial.cpp/home/user1/Documents/build/openEMS-Project/openEMS/FDTD/extensions/engine_ext_cylindermultigrid.cpp/home/user1/Documents/build/openEMS-Project/openEMS/FDTD/extensions/operator_ext_upml.cpp/home/user1/Documents/build/openEMS-Project/openEMS/FDTD/extensions/engine_ext_upml.cpp/home/user1/Documents/build/openEMS-Project/openEMS/FDTD/extensions/operator_extension.cpp/home/user1/Documents/build/openEMS-Project/openEMS/FDTD/extensions/engine_ext_mur_abc.cpp/home/user1/Documents/build/openEMS-Project/openEMS/FDTD/extensions/operator_ext_mur_abc.cpp/home/user1/Documents/build/openEMS-Project/openEMS/FDTD/extensions/operator_ext_cylinder.cpp/home/user1/Documents/build/openEMS-Project/openEMS/FDTD/extensions/engine_ext_cylinder.cpp/home/user1/Documents/build/openEMS-Project/openEMS/FDTD/extensions/operator_ext_excitation.cpp/home/user1/Documents/build/openEMS-Project/openEMS/FDTD/extensions/engine_ext_excitation.cpp/home/user1/Documents/build/openEMS-Project/openEMS/FDTD/extensions/operator_ext_tfsf.cpp/home/user1/Documents/build/openEMS-Project/openEMS/FDTD/extensions/engine_ext_tfsf.cpp/home/user1/Documents/build/openEMS-Project/openEMS/FDTD/extensions/operator_ext_steadystate.cpp/home/user1/Documents/build/openEMS-Project/openEMS/FDTD/extensions/engine_ext_steadystate.cpp/home/user1/Documents/build/openEMS-Project/openEMS/Common/engine_interface_base.cpp/home/user1/Documents/build/openEMS-Project/openEMS/Common/operator_base.cpp/home/user1/Documents/build/openEMS-Project/openEMS/Common/processcurrent.cpp/home/user1/Documents/build/openEMS-Project/openEMS/Common/processfieldprobe.cpp/home/user1/Documents/build/openEMS-Project/openEMS/Common/processfields.cpp/home/user1/Documents/build/openEMS-Project/openEMS/Common/processfields_fd.cpp/home/user1/Documents/build/openEMS-Project/openEMS/Common/processfields_sar.cpp/home/user1/Documents/build/openEMS-Project/openEMS/Common/processfields_td.cpp/home/user1/Documents/build/openEMS-Project/openEMS/Common/processing.cpp/home/user1/Documents/build/openEMS-Project/openEMS/Common/processintegral.cpp/home/user1/Documents/build/openEMS-Project/openEMS/Common/processmodematch.cpp/home/user1/Documents/build/openEMS-Project/openEMS/Common/processvoltage.cpp
-- Configuring done
-- Found TIFF: /usr/lib64/libtiff.so (found version "4.3.0")
CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to find_package_handle_standard_args (OpenMP_CXX)
does not match the name of the calling package (OpenMP). This can lead to
problems in calling code that expects find_package result variables
(e.g., _FOUND) to follow a certain pattern.
Call Stack (most recent call first):
/usr/lib64/cmake/vtk-9.0/FindOpenMP.cmake:487 (find_package_handle_standard_args)
/usr/lib64/cmake/vtk-9.0/VTK-vtk-module-find-packages.cmake:1760 (find_package)
/usr/lib64/cmake/vtk-9.0/vtk-config.cmake:131 (include)
CMakeLists.txt:104 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.

-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- Generating done
-- Build files have been written to: /tmp/tmp.ChPxdluuCL/openEMS-prefix/src/openEMS-build
[ 67%] Performing build step for 'openEMS'
[ 1%] Building CXX object nf2ff/CMakeFiles/nf2ff.dir/nf2ff_calc.cpp.o
[ 2%] Building CXX object nf2ff/CMakeFiles/nf2ff.dir/nf2ff.cpp.o
[ 4%] Building CXX object nf2ff/CMakeFiles/nf2ff.dir//tools/array_ops.cpp.o
[ 5%] Building CXX object CMakeFiles/openEMS.dir/openems.cpp.o
-- Found X11: /usr/include
-- 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
[ 7%] Building CXX object nf2ff/CMakeFiles/nf2ff.dir/
/tools/useful.cpp.o
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found GLEW: /usr/lib64/libGLEW.so
-- Found OpenGL: /usr/lib64/libOpenGL.so found components: OpenGL GLX
-- Found EXPAT: /usr/lib64/libexpat.so (found version "2.4.1")
-- Found Eigen3: /usr/include/eigen3 (found version "3.3.9")
-- Found Freetype: /usr/lib64/libfreetype.so (found version "2.12.0")
CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to find_package_handle_standard_args (OpenMP_CXX)
does not match the name of the calling package (OpenMP). This can lead to
problems in calling code that expects find_package result variables
(e.g., _FOUND) to follow a certain pattern.
Call Stack (most recent call first):
/usr/lib64/cmake/vtk-9.0/FindOpenMP.cmake:487 (find_package_handle_standard_args)
/usr/lib64/cmake/vtk-9.0/VTK-vtk-module-find-packages.cmake:1760 (find_package)
/usr/lib64/cmake/vtk-9.0/vtk-config.cmake:131 (include)
CMakeLists.txt:106 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.

-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found package VTK. Using version 9.0.1
CMake Deprecation Warning at /usr/lib64/cmake/vtk-9.0/vtk-use-file-deprecated.cmake:1 (message):
The VTK_USE_FILE is no longer used starting with 8.90.
Call Stack (most recent call first):
CMakeLists.txt:112 (include)

CMake Error at /usr/share/cmake/Modules/FindQt4.cmake:1324 (message):
Found unsuitable Qt version "5.15.2" from /usr/bin/qmake, this code
requires Qt 4.x
Call Stack (most recent call first):
CMakeLists.txt:127 (FIND_PACKAGE)

-- Configuring incomplete, errors occurred!
See also "/tmp/tmp.ChPxdluuCL/QCSXCAD-prefix/src/QCSXCAD-build/CMakeFiles/CMakeOutput.log".
See also "/tmp/tmp.ChPxdluuCL/QCSXCAD-prefix/src/QCSXCAD-build/CMakeFiles/CMakeError.log".
make[2]: *** [CMakeFiles/QCSXCAD.dir/build.make:93: QCSXCAD-prefix/src/QCSXCAD-stamp/QCSXCAD-configure] Error 1
make[1]: *** [CMakeFiles/Makefile2:117: CMakeFiles/QCSXCAD.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 8%] Building CXX object nf2ff/CMakeFiles/nf2ff.dir//tools/hdf5_file_reader.cpp.o
[ 10%] Building CXX object nf2ff/CMakeFiles/nf2ff.dir/
/tools/hdf5_file_writer.cpp.o
[ 11%] Building CXX object CMakeFiles/openEMS.dir/tools/AdrOp.cpp.o
[ 12%] Building CXX object CMakeFiles/openEMS.dir/tools/ErrorMsg.cpp.o
[ 14%] Building CXX object CMakeFiles/openEMS.dir/tools/array_ops.cpp.o
[ 15%] Building CXX object CMakeFiles/openEMS.dir/tools/global.cpp.o
[ 17%] Building CXX object CMakeFiles/openEMS.dir/tools/hdf5_file_reader.cpp.o
[ 18%] Building CXX object CMakeFiles/openEMS.dir/tools/hdf5_file_writer.cpp.o
[ 20%] Building CXX object CMakeFiles/openEMS.dir/tools/sar_calculation.cpp.o
[ 21%] Building CXX object CMakeFiles/openEMS.dir/tools/useful.cpp.o
[ 22%] Linking CXX shared library libnf2ff.so
[ 22%] Built target nf2ff
[ 24%] Building CXX object CMakeFiles/openEMS.dir/tools/vtk_file_writer.cpp.o
[ 25%] Building CXX object nf2ff/CMakeFiles/nf2ff_bin.dir/main.cpp.o
[ 27%] Building CXX object CMakeFiles/openEMS.dir/FDTD/engine.cpp.o
[ 28%] Linking CXX executable nf2ff
[ 28%] Built target nf2ff_bin
[ 30%] Building CXX object CMakeFiles/openEMS.dir/FDTD/operator.cpp.o
[ 31%] Building CXX object CMakeFiles/openEMS.dir/FDTD/engine_multithread.cpp.o
[ 32%] Building CXX object CMakeFiles/openEMS.dir/FDTD/operator_cylinder.cpp.o
[ 34%] Building CXX object CMakeFiles/openEMS.dir/FDTD/engine_cylinder.cpp.o
[ 35%] Building CXX object CMakeFiles/openEMS.dir/FDTD/engine_sse.cpp.o
[ 37%] Building CXX object CMakeFiles/openEMS.dir/FDTD/operator_sse.cpp.o
[ 38%] Building CXX object CMakeFiles/openEMS.dir/FDTD/operator_sse_compressed.cpp.o
[ 40%] Building CXX object CMakeFiles/openEMS.dir/FDTD/engine_sse_compressed.cpp.o
[ 41%] Building CXX object CMakeFiles/openEMS.dir/FDTD/operator_multithread.cpp.o
[ 42%] Building CXX object CMakeFiles/openEMS.dir/FDTD/excitation.cpp.o
[ 44%] Building CXX object CMakeFiles/openEMS.dir/FDTD/operator_cylindermultigrid.cpp.o
[ 45%] Building CXX object CMakeFiles/openEMS.dir/FDTD/engine_cylindermultigrid.cpp.o
[ 47%] Building CXX object CMakeFiles/openEMS.dir/FDTD/engine_interface_fdtd.cpp.o
[ 48%] Building CXX object CMakeFiles/openEMS.dir/FDTD/engine_interface_sse_fdtd.cpp.o
[ 50%] Building CXX object CMakeFiles/openEMS.dir/FDTD/engine_interface_cylindrical_fdtd.cpp.o
[ 51%] Building CXX object CMakeFiles/openEMS.dir/FDTD/extensions/engine_extension.cpp.o
[ 52%] Building CXX object CMakeFiles/openEMS.dir/FDTD/extensions/operator_ext_dispersive.cpp.o
[ 54%] Building CXX object CMakeFiles/openEMS.dir/FDTD/extensions/operator_ext_lorentzmaterial.cpp.o
[ 55%] Building CXX object CMakeFiles/openEMS.dir/FDTD/extensions/operator_ext_conductingsheet.cpp.o
[ 57%] Building CXX object CMakeFiles/openEMS.dir/FDTD/extensions/engine_ext_dispersive.cpp.o
[ 58%] Building CXX object CMakeFiles/openEMS.dir/FDTD/extensions/engine_ext_lorentzmaterial.cpp.o
[ 60%] Building CXX object CMakeFiles/openEMS.dir/FDTD/extensions/engine_ext_cylindermultigrid.cpp.o
[ 61%] Building CXX object CMakeFiles/openEMS.dir/FDTD/extensions/operator_ext_upml.cpp.o
[ 62%] Building CXX object CMakeFiles/openEMS.dir/FDTD/extensions/engine_ext_upml.cpp.o
[ 64%] Building CXX object CMakeFiles/openEMS.dir/FDTD/extensions/operator_extension.cpp.o
[ 65%] Building CXX object CMakeFiles/openEMS.dir/FDTD/extensions/engine_ext_mur_abc.cpp.o
[ 67%] Building CXX object CMakeFiles/openEMS.dir/FDTD/extensions/operator_ext_mur_abc.cpp.o
[ 68%] Building CXX object CMakeFiles/openEMS.dir/FDTD/extensions/operator_ext_cylinder.cpp.o
[ 70%] Building CXX object CMakeFiles/openEMS.dir/FDTD/extensions/engine_ext_cylinder.cpp.o
[ 71%] Building CXX object CMakeFiles/openEMS.dir/FDTD/extensions/operator_ext_excitation.cpp.o
[ 72%] Building CXX object CMakeFiles/openEMS.dir/FDTD/extensions/engine_ext_excitation.cpp.o
[ 74%] Building CXX object CMakeFiles/openEMS.dir/FDTD/extensions/operator_ext_tfsf.cpp.o
[ 75%] Building CXX object CMakeFiles/openEMS.dir/FDTD/extensions/engine_ext_tfsf.cpp.o
[ 77%] Building CXX object CMakeFiles/openEMS.dir/FDTD/extensions/operator_ext_steadystate.cpp.o
[ 78%] Building CXX object CMakeFiles/openEMS.dir/FDTD/extensions/engine_ext_steadystate.cpp.o
[ 80%] Building CXX object CMakeFiles/openEMS.dir/Common/engine_interface_base.cpp.o
[ 81%] Building CXX object CMakeFiles/openEMS.dir/Common/operator_base.cpp.o
[ 82%] Building CXX object CMakeFiles/openEMS.dir/Common/processcurrent.cpp.o
[ 84%] Building CXX object CMakeFiles/openEMS.dir/Common/processfieldprobe.cpp.o
[ 85%] Building CXX object CMakeFiles/openEMS.dir/Common/processfields.cpp.o
[ 87%] Building CXX object CMakeFiles/openEMS.dir/Common/processfields_fd.cpp.o
[ 88%] Building CXX object CMakeFiles/openEMS.dir/Common/processfields_sar.cpp.o
[ 90%] Building CXX object CMakeFiles/openEMS.dir/Common/processfields_td.cpp.o
[ 91%] Building CXX object CMakeFiles/openEMS.dir/Common/processing.cpp.o
[ 92%] Building CXX object CMakeFiles/openEMS.dir/Common/processintegral.cpp.o
[ 94%] Building CXX object CMakeFiles/openEMS.dir/Common/processmodematch.cpp.o
[ 95%] Building CXX object CMakeFiles/openEMS.dir/Common/processvoltage.cpp.o
[ 97%] Linking CXX shared library libopenEMS.so
[ 97%] Built target openEMS
[ 98%] Building CXX object CMakeFiles/openEMS_bin.dir/main.cpp.o
[100%] Linking CXX executable openEMS
[100%] Built target openEMS_bin
[ 70%] Performing install step for 'openEMS'
Consolidate compiler generated dependencies of target nf2ff
[ 10%] Built target nf2ff
Consolidate compiler generated dependencies of target nf2ff_bin
[ 12%] Built target nf2ff_bin
Consolidate compiler generated dependencies of target openEMS
[ 97%] Built target openEMS
Consolidate compiler generated dependencies of target openEMS_bin
[100%] Built target openEMS_bin
Install the project...
-- Install configuration: "Release"
-- Installing: /home/user1/opt/openEMS/lib/libopenEMS.so.0.0.35
-- Up-to-date: /home/user1/opt/openEMS/lib/libopenEMS.so.0
-- Set runtime path of "/home/user1/opt/openEMS/lib/libopenEMS.so.0.0.35" to "/home/user1/opt/openEMS/lib:/usr/lib64/libhdf5.so:/usr/lib64/libz.so:/usr/lib64/libdl.so:/usr/lib64/libm.so"
-- Up-to-date: /home/user1/opt/openEMS/lib/libopenEMS.so
-- Installing: /home/user1/opt/openEMS/bin/openEMS
-- Set runtime path of "/home/user1/opt/openEMS/bin/openEMS" to "/home/user1/opt/openEMS/lib:/usr/lib64/libhdf5.so:/usr/lib64/libz.so:/usr/lib64/libdl.so:/usr/lib64/libm.so"
-- Installing: /home/user1/opt/openEMS/bin/openEMS.sh
-- Installing: /home/user1/opt/openEMS/include/openEMS/openems.h
-- Installing: /home/user1/opt/openEMS/include/openEMS/openems_global.h
-- Up-to-date: /home/user1/opt/openEMS/share/openEMS/matlab
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/FindFreeSSH.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/SetDiracExcite.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/AddCircWaveGuidePort.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/Dump2VTK.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/AddCurvePort.m
-- Up-to-date: /home/user1/opt/openEMS/share/openEMS/matlab/private
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/private/invoke_openEMS.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/private/ReadNF2FF.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/AnalyzeNF2FF.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/DumpFF2VTK.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/RunOpenEMS_Parallel.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/queue_delProcess.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/AddPML.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/InitQueue.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/queue_checkProcess.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/GetField_Interpolation.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/AddLumpedPort.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/PlotHDF5FieldData.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/GetField_SubSampling.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/SetupMPI.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/calcPort.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/GetField_TD2FD.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/queue_addProcess.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/SetCustomExcite.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/SetBoundaryCond.m
-- Up-to-date: /home/user1/opt/openEMS/share/openEMS/matlab/Tutorials
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/Tutorials/MRI_Loop_Coil.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/Tutorials/Parallel_Plate_Waveguide.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/Tutorials/Horn_Antenna.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/Tutorials/readme
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/Tutorials/CRLH_Extraction.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/Tutorials/RadarUWBTutorial.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/Tutorials/Patch_Antenna_Phased_Array.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/Tutorials/Circ_Waveguide.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/Tutorials/Bent_Patch_Antenna.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/Tutorials/MSL_NotchFilter.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/Tutorials/Conical_Horn_Antenna.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/Tutorials/CreateCRLH.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/Tutorials/Dipole_SAR.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/Tutorials/CRLH_LeakyWaveAnt.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/Tutorials/StripLine2MSL.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/Tutorials/MRI_LP_Birdcage.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/Tutorials/CylindricalWave_CC.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/Tutorials/Helical_Antenna.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/Tutorials/RCS_Sphere.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/Tutorials/Patch_Antenna_Array.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/Tutorials/Rect_Waveguide.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/Tutorials/Simple_Patch_Antenna.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/CreateNF2FFBox.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/physical_constants.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/AR_estimate.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/calcLumpedPort.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/RunOpenEMS.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/DelayFidelity.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/SetStepExcite.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/ReadUI.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/AddMRStub.m
-- Up-to-date: /home/user1/opt/openEMS/share/openEMS/matlab/examples
-- Up-to-date: /home/user1/opt/openEMS/share/openEMS/matlab/examples/antennas
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/examples/antennas/Bi_Quad_Antenna.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/examples/antennas/inverted_f.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/examples/antennas/infDipol.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/examples/antennas/Patch_Antenna.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/examples/antennas/Patch_Antenna_Array.m
-- Up-to-date: /home/user1/opt/openEMS/share/openEMS/matlab/examples/deprecated
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/examples/deprecated/MSL2.m
-- Up-to-date: /home/user1/opt/openEMS/share/openEMS/matlab/examples/optimizer
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/examples/optimizer/optimizer_asco.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/examples/optimizer/optimizer_simfun.m
-- Up-to-date: /home/user1/opt/openEMS/share/openEMS/matlab/examples/other
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/examples/other/Metamaterial_PlaneWave_Drude.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/examples/other/resistance_sheet.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/examples/other/Helix.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/examples/other/PML_reflection_analysis.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/examples/other/PlaneWave.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/examples/other/gauss_excitation_test.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/examples/other/LumpedElement.m
-- Up-to-date: /home/user1/opt/openEMS/share/openEMS/matlab/examples/transmission_lines
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/examples/transmission_lines/CPW_Line.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/examples/transmission_lines/MSL.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/examples/transmission_lines/Finite_Stripline.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/examples/transmission_lines/Stripline.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/examples/transmission_lines/directional_coupler.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/examples/transmission_lines/MSL_Losses.m
-- Up-to-date: /home/user1/opt/openEMS/share/openEMS/matlab/examples/waveguide
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/examples/waveguide/Coax.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/examples/waveguide/Circ_Waveguide_CylinderCoords.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/examples/waveguide/Circ_Waveguide.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/examples/waveguide/Coax_Cylindrical_MG.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/examples/waveguide/Rect_Waveguide.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/examples/waveguide/Coax_CylinderCoords.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/CheckQueue.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/plotFF3D.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/SetSinusExcite.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/CalcNF2FF.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/ReadHDF5Mesh.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/ResultsQueue.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/setup.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/RunOpenEMS_MPI.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/ReadHDF5FieldData.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/FFT_time2freq.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/AddWaveGuidePort.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/GetField_Range.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/InitCylindricalFDTD.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/polarFF.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/h5readatt_octave.cc
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/plotFFdB.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/AddRectWaveGuidePort.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/SetGaussExcite.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/optimizer_asco_sim.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/InitFDTD.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/harminv.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/optimize.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/calc_ypar.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/WriteHDF5.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/calcTLPort.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/ReadHDF5Dump.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/ConvertHDF5_VTK.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/plotRefl.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/DFT_time2freq.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/AddStripLinePort.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/FinishQueue.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/Add2Queue.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/AddMSLPort.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/ReadHDF5Attribute.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/AddCPWPort.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/calcWGPort.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/WriteOpenEMS.m
-- Installing: /home/user1/opt/openEMS/share/openEMS/matlab/AddCoaxialPort.m
-- Installing: /home/user1/opt/openEMS/bin/nf2ff
-- Set runtime path of "/home/user1/opt/openEMS/bin/nf2ff" to "/home/user1/opt/openEMS/lib:/usr/lib64/libhdf5.so:/usr/lib64/libz.so:/usr/lib64/libdl.so:/usr/lib64/libm.so"
-- Installing: /home/user1/opt/openEMS/lib/libnf2ff.so.0.1.0
-- Up-to-date: /home/user1/opt/openEMS/lib/libnf2ff.so.0
-- Set runtime path of "/home/user1/opt/openEMS/lib/libnf2ff.so.0.1.0" to "/home/user1/opt/openEMS/lib:/usr/lib64/libhdf5.so:/usr/lib64/libz.so:/usr/lib64/libdl.so:/usr/lib64/libm.so"
-- Up-to-date: /home/user1/opt/openEMS/lib/libnf2ff.so
-- Installing: /home/user1/opt/openEMS/include/openEMS/nf2ff.h
[ 72%] Completed 'openEMS'
[ 72%] Built target openEMS
make: *** [Makefile:91: all] Error 2

Undefined reference to 'GDALDriver::CreateCopy...'

I am trying to build openEMS on an Arch Linux variant Garuda and I keep getting this error when trying to compile from scratch:

/usr/bin/ld: /usr/lib/libvtkGeovisGDAL.so.1: undefined reference to GDALDriver::CreateCopy(char const*, GDALDataset*, int, char**, int (*)(double, char const*, void*), void*)' /usr/bin/ld: /usr/lib/libvtkGeovisGDAL.so.1: undefined reference to GDALDriver::Create(char const*, int, int, int, GDALDataType, char**)'
collect2: error: ld returned 1 exit status
make[5]: *** [CMakeFiles/AppCSXCAD.dir/build.make:346: AppCSXCAD] Error 1
make[4]: *** [CMakeFiles/Makefile2:84: CMakeFiles/AppCSXCAD.dir/all] Error 2
make[3]: *** [Makefile:136: all] Error 2
make[2]: *** [CMakeFiles/AppCSXCAD.dir/build.make:86: AppCSXCAD-prefix/src/AppCSXCAD-stamp/AppCSXCAD-build] Error 2
make[1]: *** [CMakeFiles/Makefile2:196: CMakeFiles/AppCSXCAD.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

I tried installing a different version of GDAL to see if that would fix it. Any ideas?

Can OpenEMS find far-field electric field phase information at unit radius?

Discussed in #72

Originally posted by XDAChen May 19, 2023
I want to obtain information about an antenna's far-field phase change relative to its phase center at a unit radius, r using OpenEMS. In HFSS I had done it with far-field result --> rE --> cang_ang. I am not sure if openEMS can provide the same information.

While I am looking at the nf2ff documentation, if I understand correctly, I set my antenna's phase center as default [0,0,0], and I can compute the electric field strength at a radius r. If it is a complex number I can post-process the complex field strength to find the angle, which would be the phase shift relative to the antenna phase center?

Anyone had done a similar thing before?

Installtion on Ubuntu 20 (Focal Fossa)

Several of the dependencies are not available on the latest Ubuntu. Please suggest the replacements for the repositories:
sudo apt-get install build-essential cmake git libhdf5-dev libvtk5-dev libboost-all-dev libcgal-dev libtinyxml-dev libqt4-dev libvtk5-qt4-dev
libvtk5-dev has been replaced by libvtk7-dev; Libraries libqt4-dev and libvtk5-qt4-dev are not available.

Like to run OpenEMS on a patch antenna under Windows.

Hello people,
i created my own patch antenna and want to simulate it through OpenEMS but i get problems during or after a long while of simulation ( the last one lasted for more than one hour of copilation). I generate an automatic script with Freecad_to_OpenEMS_Export. I run the already existing examples and they ran easily and the Energy was not as the same as mine . So if you could help it would be nice. Thanks in advance.
Ergebnis_Simulation

Mac homebrew failling to install

OpenEMS_Brew_Install_Fail.txt

Attached is a full console dump of a failure to install under brew on a (fairly) fresh copy of MacOS 10.14.6.

I'd really love to try this out! Anyone got any tips?

It seems to stop around 75% pretty consistently:

==> cmake . -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG 
==> make
Last 15 lines from /Users/robotarmy/Library/Logs/Homebrew/openEMS/02.make:
-- Installing: /usr/local/Cellar/openEMS/HEAD-78e7642/share/openEMS/matlab/ReadHDF5FieldData.m
-- Installing: /usr/local/Cellar/openEMS/HEAD-78e7642/share/openEMS/matlab/ResultsQueue.m
-- Installing: /usr/local/Cellar/openEMS/HEAD-78e7642/bin/nf2ff
-- Installing: /usr/local/Cellar/openEMS/HEAD-78e7642/lib/libnf2ff.0.1.0.dylib
-- Installing: /usr/local/Cellar/openEMS/HEAD-78e7642/lib/libnf2ff.0.dylib
-- Installing: /usr/local/Cellar/openEMS/HEAD-78e7642/lib/libnf2ff.dylib
-- Installing: /usr/local/Cellar/openEMS/HEAD-78e7642/include/openEMS/nf2ff.h
-- Installing: /usr/local/Cellar/openEMS/HEAD-78e7642/include/openEMS/nf2ff_calc.h
cd /tmp/openEMS-20190729-17544-kbgtth/openEMS-prefix/src/openEMS-build && /usr/local/Cellar/cmake/3.15.1/bin/cmake -E touch /tmp/openEMS-20190729-17544-kbgtth/openEMS-prefix/src/openEMS-stamp/openEMS-install
[ 75%] Completed 'openEMS'
/usr/local/Cellar/cmake/3.15.1/bin/cmake -E make_directory /tmp/openEMS-20190729-17544-kbgtth/CMakeFiles
/usr/local/Cellar/cmake/3.15.1/bin/cmake -E touch /tmp/openEMS-20190729-17544-kbgtth/CMakeFiles/openEMS-complete
/usr/local/Cellar/cmake/3.15.1/bin/cmake -E touch /tmp/openEMS-20190729-17544-kbgtth/openEMS-prefix/src/openEMS-stamp/openEMS-done
[ 75%] Built target openEMS
make: *** [all] Error 2

Do not report this issue to Homebrew/brew or Homebrew/core!

Missing dependencies

Some packages seems to be outdated in the installation requirement on Xubuntu 18.04.3 LTS. See code below:

~ $ sudo apt-get install build-essential cmake git libhdf5-dev libvtk5-dev libboost-all-dev libcgal-dev libtinyxml-dev libqt4-dev libvtk5-qt4-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libvtk5-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  libvtk7-dev:i386 libvtk6-dev:i386 libvtk7-dev libvtk6-dev

Package libvtk5-qt4-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libvtk5-dev' has no installation candidate
E: Package 'libvtk5-qt4-dev' has no installation candidate

Also there is a problem with tinyxml. OpenEMS is not bulit. The log reveals the error message:

CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find TinyXML (missing: TinyXML_LIBRARY TinyXML_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  cmake/Modules/FindTinyXML.cmake:65 (find_package_handle_standard_args)
  CMakeLists.txt:90 (find_package)

The issue was not solved by manually installing - multiple versions of - tinyxml:

 /tmp/openEMS $ dpkg -l | grep tinyxml
ii  libtinyxml-dev:amd64                                             2.6.2-4                                             amd64        TinyXml library - header and static library
ii  libtinyxml2-6:amd64                                              6.0.0+dfsg-1                                        amd64        C++ XML parsing library
ii  libtinyxml2-dev:amd64                                            6.0.0+dfsg-1                                        amd64        TinyXML2 library - header and static library
ii  libtinyxml2.6.2v5:amd64                                          2.6.2-4                                             amd64        C++ XML parsing library

python CalcPort

Hello,

I stumbled over this:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "myplace/StripLine2MSL.py", line 154, in <module>
    p.CalcPort( Sim_Path, f, ref_impedance = 50.0)
  File "$HOME/.local/lib/python3.9/site-packages/openEMS-0.0.33-py3.9-linux-x86_64.egg/openEMS/ports.py", line 130, in CalcPort
    self.ut_inc = 0.5 * ( self.ut_tot + self.it_tot * self.Z_ref )
AttributeError: 'MSLPort' object has no attribute 'ut_tot'

When invoking CalcPort as
CalcPort( Sim_Path, f, ref_impedance = 50.0)

Using an integer 50 instead of the float 50.0 fixes the traceback.

The issue seems to be in ports.py somewhere here

        if type(self.Z_ref) == float:
            self.ut_inc = 0.5 * ( self.ut_tot + self.it_tot * self.Z_ref )
            self.it_inc = 0.5 * ( self.it_tot + self.ut_tot / self.Z_ref )
            self.ut_ref = self.ut_tot - self.ut_inc
            self.it_ref = self.it_inc - self.it_tot
```

Broken links

There are several links all over the internet and even in the README file of this repository pointing to inexistent subpages of www.openems.de
Is there any possibility to deploy that old material in the temporal website? Is it going to be back someday?

How to create a custom excitation?

During a discussion here #152 (reply in thread), the question of whether it is possible, and if so, how to create and use a custom excitation in openEMS.

If that is possible or even supported, ideally from Python, but if not I'd be good with a way using C++ as well (fwiw, if so I might find time to add Python wrappers then as well).

Here is the concrete question:

In openEMS, and also in the Python API of openEMS, there are a few built-in excitation functions, like e.g. SetGaussExcite.

Is it possible to use openEMS with a custom excitation function, such as for example a continuous white noise spectrum shaped by a single Gaussian envelope over a multi-second time scale and with the source of randomness to generate the white noise coming from a PRNG instance seeded from a user supplied value?

Hyperlynx import (hyp2mat) fails with filled zones

Hi!

Not sure if this is the right place, but the hyp2mat repo is archived. I am not sure if this is a conversion problem in hyp2mat or if I'm making a mistake in openEMS. If this is not the right place, feel free to simply close the issue.

2022-06-02_14-47

When exporting the above simple structure from Kicad 6.0.5 using their Hyperlynx exporter, I obtain the attached hyp-file, which according to a Kicad developer with access to the Hyperlynx software is correctly opening in the commercial product (cf. here).

{VERSION=2.14}
{UNITS=ENGLISH LENGTH}

{BOARD "/home/localadmin_cweickhm/Dokumente/Circuits/kicad/openEMS-export/simple_test_1/simple_test_1.kicad_pcb"
  (PERIMETER_SEGMENT X1=2.637795276 Y1=2.125984252 X2=0.787401575 Y2=2.125984252)
  (PERIMETER_SEGMENT X1=0.787401575 Y1=2.125984252 X2=0.787401575 Y2=1.574803150)
  (PERIMETER_SEGMENT X1=0.787401575 Y1=1.574803150 X2=2.637795276 Y2=1.574803150)
  (PERIMETER_SEGMENT X1=2.637795276 Y1=1.574803150 X2=2.637795276 Y2=2.125984252)
}

{STACKUP
  (SIGNAL T=0.00137795 P=0 C=1.724e-08 L="F.Cu" M=COPPER)
  (DIELECTRIC T=0.0610236 C=4.5 L="DE_F.Cu" M="FR4")
  (SIGNAL T=0.00137795 P=0 C=1.724e-08 L="B.Cu" M=COPPER)
}

{DEVICES
  (? REF="J1" L="F.Cu")
  (? REF="C1" L="F.Cu")
  (? REF="R1" L="F.Cu")
  (? REF="J2" L="F.Cu")
  (? REF="L1" L="F.Cu")
}

{PADSTACK=0, 0.059055118
  ("MDEF", 0, 0.080708661, 0.080708661, 180.0, M)
}

{PADSTACK=1, 0.066929134
  ("MDEF", 0, 0.088582677, 0.088582677, 180.0, M)
}

{PADSTACK=2, 0.000000000
  ("F.Cu", 1, 0.046259843, 0.057086614, 180.0, M)
}

{PADSTACK=3, 0.000000000
  ("F.Cu", 1, 0.040354331, 0.055118110, 180.0, M)
}

{PADSTACK=4, 0.000000000
  ("F.Cu", 1, 0.045275591, 0.055118110, 180.0, M)
}

{NET="GND"
  (PIN X=1.1629921260 Y=1.9503937008 R="J1.2" P=1)
  (PIN X=1.1629921260 Y=1.7503937008 R="J1.2" P=1)
  (PIN X=0.9629921260 Y=1.7503937008 R="J1.2" P=1)
  (PIN X=0.9629921260 Y=1.9503937008 R="J1.2" P=1)
  (PIN X=2.2622047244 Y=1.9503937008 R="J2.2" P=1)
  (PIN X=2.4622047244 Y=1.7503937008 R="J2.2" P=1)
  (PIN X=2.4622047244 Y=1.9503937008 R="J2.2" P=1)
  (PIN X=2.2622047244 Y=1.7503937008 R="J2.2" P=1)
}

{NET="Net-(C1-Pad1)"
  (PIN X=1.0629921260 Y=1.8503937008 R="J1.1" P=0)
  (PIN X=1.4931102362 Y=1.8503937008 R="C1.1" P=2)
  (SEG X1=1.4931102362 Y1=1.8503937008 X2=1.0629921260 Y2=1.8503937008 W=0.0098425197 L="F.Cu")
}

{NET="Net-(C1-Pad2)"
  (PIN X=1.5748031496 Y=1.8503937008 R="C1.2" P=2)
  (PIN X=1.6907480315 Y=1.8503937008 R="L1.1" P=4)
  (SEG X1=1.5748031496 Y1=1.8503937008 X2=1.6907480315 Y2=1.8503937008 W=0.0098425197 L="F.Cu")
}

{NET="Net-(L1-Pad2)"
  (PIN X=1.8778543307 Y=1.8492125984 R="R1.1" P=3)
  (PIN X=1.7714566929 Y=1.8503937008 R="L1.2" P=4)
  (SEG X1=1.8766732283 Y1=1.8503937008 X2=1.8778543307 Y2=1.8492125984 W=0.0098425197 L="F.Cu")
  (SEG X1=1.7714566929 Y1=1.8503937008 X2=1.8766732283 Y2=1.8503937008 W=0.0098425197 L="F.Cu")
}

{NET="Net-(R1-Pad2)"
  (PIN X=1.9497047244 Y=1.8492125984 R="R1.2" P=3)
  (PIN X=2.3622047244 Y=1.8503937008 R="J2.1" P=0)
  (SEG X1=1.9497047244 Y1=1.8492125984 X2=1.9508858268 Y2=1.8503937008 W=0.0098425197 L="F.Cu")
  (SEG X1=1.9508858268 Y1=1.8503937008 X2=2.3622047244 Y2=1.8503937008 W=0.0098425197 L="F.Cu")
}

I use the following script to do the import in openEMS:

close all
clear
clc

physical_constants;
f_max = 400e6;

CSX = InitCSX();
%% CSX = ImportHyperLynx(CSX, '../kicad/T 218MHz RF Test Circuits/main/main.hyp');
CSX = ImportHyperLynx(CSX, '../kicad/openEMS-export/simple_test_1/simple_test_1.hyp');

Sim_Path = 'tmp';
Sim_CSX = 'brd.xml';
[status, message, messageid] = mkdir(Sim_Path);

FDTD = InitFDTD();
FDTD = SetGaussExcite(FDTD, f_max/2, f_max/2);

WriteOpenEMS([Sim_Path '/' Sim_CSX], FDTD, CSX);
CSXGeomPlot([Sim_Path '/' Sim_CSX]);

The result looks okay when the filled zones are removed:

2022-06-02_14-52

But if they are included, the result looks broken:

2022-06-02_14-49

I am not sure if this is a conversion problem in hyp2mat or if I'm making a mistake in openEMS.

In case anyone is wondering why I need that top ground layer anyways: If you design CPW or GCPW lines, this is necessary and by far the most convenient way to design this in Kicad.

ImportError : DLL load failed, after installing as per install instructions

Following instructions at link :

  • I downloaded v0.0.36 .zip release at
  • Extracted at C:\openEMS
  • set up global environment variable with setx OPENEMS_INSTALL_PATH C:\opt\openEMS
  • Installed pre-built modules with (in this order) in a 3.11.5 virtual environment. :
    pip install .\CSXCAD-0.6.3-cp311-cp311-win_amd64.whl
    'openEMS-0.0.36-cp311-cp311-win_amd64.whl'

The following exceptions are raised while trying to import either of both CSXCAD and OpenEMS Modules :

Open EMS traceback

Traceback (most recent call last):
  File "C:\Program Files\JetBrains\PyCharm Community Edition 2023.1.1\plugins\python-ce\helpers\pydev\pydevconsole.py", line 364, in runcode
    coro = func()
           ^^^^^^
  File "<input>", line 1, in <module>
  File "C:\Program Files\JetBrains\PyCharm Community Edition 2023.1.1\plugins\python-ce\helpers\pydev\_pydev_bundle\pydev_import_hook.py", line 21, in do_import
    module = self._system_import(name, *args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\maxim\python\ml2023\Lib\site-packages\openEMS\__init__.py", line 7, in <module>
    import CSXCAD
  File "C:\Program Files\JetBrains\PyCharm Community Edition 2023.1.1\plugins\python-ce\helpers\pydev\_pydev_bundle\pydev_import_hook.py", line 21, in do_import
    module = self._system_import(name, *args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\maxim\python\ml2023\Lib\site-packages\CSXCAD\__init__.py", line 19, in <module>
    from CSXCAD.CSXCAD import ContinuousStructure
  File "C:\Program Files\JetBrains\PyCharm Community Edition 2023.1.1\plugins\python-ce\helpers\pydev\_pydev_bundle\pydev_import_hook.py", line 21, in do_import
    module = self._system_import(name, *args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: DLL load failed while importing CSXCAD: Le module spรฉcifiรฉ est introuvable.

CSXCAD traceback

Traceback (most recent call last):
  File "C:\Program Files\JetBrains\PyCharm Community Edition 2023.1.1\plugins\python-ce\helpers\pydev\pydevconsole.py", line 364, in runcode
    coro = func()
           ^^^^^^
  File "<input>", line 1, in <module>
  File "C:\Program Files\JetBrains\PyCharm Community Edition 2023.1.1\plugins\python-ce\helpers\pydev\_pydev_bundle\pydev_import_hook.py", line 21, in do_import
    module = self._system_import(name, *args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\maxim\python\ml2023\Lib\site-packages\CSXCAD\__init__.py", line 19, in <module>
    from CSXCAD.CSXCAD import ContinuousStructure
  File "C:\Program Files\JetBrains\PyCharm Community Edition 2023.1.1\plugins\python-ce\helpers\pydev\_pydev_bundle\pydev_import_hook.py", line 21, in do_import
    module = self._system_import(name, *args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: DLL load failed while importing CSXCAD: Le module spรฉcifiรฉ est introuvable.

MPI fails with "not enough slots"

I am attempting to use openEMS mpi and I'm getting the following errors:
##############
Running remote openEMS_MPI in working dir: /tmp/openEMS_MPI_OxYoCbMoLCNW
warning: implicit conversion from numeric to char
warning: called from
RunOpenEMS_MPI at line 90 column 15
RunOpenEMS at line 82 column 9
microstrip_mpi at line 174 column 1

Invalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 key--------------------------------------------------------------------------
There are not enough slots available in the system to satisfy the 4
slots that were requested by the application:

/opt/openEMS/bin/openEMS

Either request fewer slots for your application, or make more slots
available for use.

A "slot" is the Open MPI term for an allocatable unit where we can
launch a process. The number of slots available are defined by the
environment in which Open MPI processes are run:

Hostfile, via "slots=N" clauses (N defaults to number of
processor cores if not provided)
The --host command line parameter, via a ":N" suffix on the
hostname (N defaults to 1 if not provided)
Resource manager (e.g., SLURM, PBS/Torque, LSF, etc.)
If none of a hostfile, the --host command line parameter, or an
RM is present, Open MPI defaults to the number of processor cores
In all the above cases, if you want Open MPI to default to the number
of hardware threads instead of the number of processor cores, use the
--use-hwthread-cpus option.

Alternatively, you can use the --oversubscribe option to ignore the
number of available slots when deciding the number of processes to
launch.
error: mpirun openEMS failed!
error: called from
RunOpenEMS_MPI at line 97 column 5
RunOpenEMS at line 82 column 9
microstrip_mpi at line 174 column 1

###########################

My source is in Octave (Matlab) format and is shown below:

##############
%
% microstrip transmission line, Z is normal to substrate Y is the direction of propagation and X is the width
% try mpi

close all
clear
clc

% mpi setup

Settings.MPI.Binary = '/opt/openEMS/bin/openEMS';
Settings.MPI.NrProc = 4;
Settings.MPI.Hosts = {'wolfpack'};

........

%% run openEMS
%RunOpenEMS( Sim_Path, Sim_CSX, '--numThreads=4',Settings );
options='';
RunOpenEMS( Sim_Path, Sim_CSX,options,Settings );

...........

####################

Please note that this is running on machine 'hydra' and the remote 2nd machine is 'wolfpack'
Both hydra and wolfpack are 28-core machines but the above code works only when Settings.MPI.NrProc = 1;
My machines are 28-core Xeon servers running Ubuntu 22.04 and the latest OpenEMS version

I was not able to find the answer after an extensive search.
I'm stumped as to what I'm missing here and it's probably obvious to those with more experience than me.
Thanks in advance!
Phil

The problem of calculating the S-parameters of Magic tee and a rectangular waveguide

The problem of calculating the S-parameters of Magic tee and a rectangular waveguide

Introduction

Hello! I am engaged in research on the propagation of an electromagnetic wave in a segment of the magic tee waveguide with cross section 23x10mm^2. But in the simulation results, the sum of the squares of the s-parameters is not equal to 1 (figure 2). I tried to create a waveguide in different ways:

  1. Import from stl file;
  2. Creating waveguide metal walls using AddBox;
  3. Filling the simulation space with metal and adding a waveguide cavity using AddBox with epsilon=1 (figure 1).

Figure 1. Magic tee (metall hidden)

magic_tee_image

Figure 2. Magic tee (s-parameters)

magic_tee_s_params

Problem

To verify the results, a rectangular waveguide with a size of 23x10mm^2 was modeled. In the first case: the boundaries of the grid coincide with the section of the waveguide. in the second case, the border is shifted and metal is added to the place of free space (figures 5 - 8).

Question:

How does adding metal walls differ from setting boundary conditions ["PEC", "PEC", "PEC", "PEC", "PML_8", "PML_8"]?

Figะณre 3. Empty waveguide

waveguide_filled_metal_and_air

Figure 4. Empty waveguide (s-parameters)

s_params_fill_air

Figure 5. Waveguide with thin metal walls (metal walls hidden)

Waveguide with thin metal walls (metal walls hidden)

Figure 6. Waveguide with thin metal walls (metal walls hidden) (s-parameters)

Waveguide with thin metal walls (metal walls hidden) (s-parameters)

Figure 7. The walls of the waveguide are larger than the cavity of the waveguide

large walls

Figure 8. The walls of the waveguide are larger than the cavity of the waveguide (s-parameters)

large walls (s-parameters)

Code

The simulation was carried out using both the python interface and the octave interface:
https://github.com/Sheptor/test-issue

links to sub-projects outdated

The links to the sub-projects do not point to the head of the respective master branches. Thus, a recursive clone does not result in the current development version.

stl import problem

Hi
I tried to import stl 3D file to openems and got an error
bug_stl.txt

The openEMS complains that it can't find my stl file but QCSXCAD displayed it (so it's there).

I tried on fresh update on linux mint, tried also on windows (earlier version - installed from available installer).

Installation tutorial for real newbie

Hello guys,

I hope that this is the right place to post this.

Since i discovered OpenEMS project i want to try it to make my own simulation, but the thing is, i can't for the life of me getting working with python (i want to use it with python in order to create animation with blender and for easy post processing), is there a real real beginner tutorial on how to install it correctly and use it with python ? (i get lost when i comes to environnement and stuff)

I tried to use the visual code thing, but when i try to launch an example it says that i don't have library (openEMS, pypli...etc)

please send me some help !

AppCSXCAD view window is corrupted

Iโ€™ve built the openEMS tools from openEMS-Project tag v0.0.36.
The platform is Fedora 39
libvtk is version 9.2.6
Qt is qt5

Iโ€™m running under an x11 server.

This is what it looks like when it comes up. (From the command line, or from an octave script.)

Screenshot 2023-12-29 at 7 52 15 PM

The background can vary, but this is typical.

Any ideas? (Iโ€™m willing to experiment.)

OpenEMS build failure on Ubuntu 20.04

I am trying to build openEMS and encountering some errors with CAGL. The build log is as follows:

-- The CXX compiler identification is GNU 9.4.0
-- Check for working CXX compiler: /bin/c++
-- Check for working CXX compiler: /bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using CMAKE_INSTALL_PREFIX: /home/kunqian/opt/openEMS
-- Build AppCSXCAD: YES
-- with MPI: 0
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/tmp.yOQQ35sfXI
Scanning dependencies of target fparser
[ 2%] Creating directories for 'fparser'
[ 5%] No download step for 'fparser'
[ 7%] No patch step for 'fparser'
[ 10%] No update step for 'fparser'
[ 12%] Performing configure step for 'fparser'
-- The CXX compiler identification is GNU 9.4.0
-- Check for working CXX compiler: /bin/c++
-- Check for working CXX compiler: /bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/tmp.yOQQ35sfXI/fparser-prefix/src/fparser-build
[ 15%] Performing build step for 'fparser'
Scanning dependencies of target fparser
[ 33%] Building CXX object CMakeFiles/fparser.dir/fparser.cc.o
[ 66%] Building CXX object CMakeFiles/fparser.dir/fpoptimizer.cc.o
[100%] Linking CXX shared library libfparser.so
[100%] Built target fparser
[ 17%] Performing install step for 'fparser'
[100%] Built target fparser
Install the project...
-- Install configuration: "Release"
-- Installing: /home/kunqian/opt/openEMS/lib/libfparser.so.4.5.1
-- Up-to-date: /home/kunqian/opt/openEMS/lib/libfparser.so.4
-- Up-to-date: /home/kunqian/opt/openEMS/lib/libfparser.so
-- Up-to-date: /home/kunqian/opt/openEMS/include/fparser.hh
[ 20%] Completed 'fparser'
[ 20%] Built target fparser
Scanning dependencies of target CSXCAD
[ 22%] Creating directories for 'CSXCAD'
[ 25%] No download step for 'CSXCAD'
[ 27%] No patch step for 'CSXCAD'
[ 30%] No update step for 'CSXCAD'
[ 32%] Performing configure step for 'CSXCAD'
-- Found Git repository, CSXCAD version tag: v0.6.2-124-gb5919a6
-- FPARSER_ROOT_DIR: /home/kunqian/opt/openEMS
-- fparser_INCLUDE_DIR: /home/kunqian/opt/openEMS/include
-- TinyXML_ROOT_DIR
-- TinyXML_INCLUDE_DIR: /usr/include
-- TinyXML_LIBRARY: /usr/lib/x86_64-linux-gnu/libtinyxml.so
-- HDF5: Using hdf5 compiler wrapper to determine C configuration
-- Using header-only CGAL
-- Targetting Unix Makefiles
-- Using /bin/c++ compiler.
-- Found Boost: /lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found suitable version "1.71.0", minimum required is "1.48")
-- Boost include dirs: /include
-- Boost libraries:
-- Using gcc version 4 or later. Adding -frounding-math
-- Found Boost: /lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found suitable version "1.71.0", minimum required is "1.46") found components: thread system date_time serialization chrono
-- The imported target "vtkParseOGLExt" references the file
"/usr/bin/vtkParseOGLExt-7.1"
but this file does not exist. Possible reasons include:

  • The file was deleted, renamed, or moved to another location.
  • An install or uninstall procedure did not complete successfully.
  • The installation package was faulty and contained
    "/usr/lib/cmake/vtk-7.1/VTKTargets.cmake"
    but not all the files it references.

-- The imported target "vtkRenderingPythonTkWidgets" references the file
"/usr/lib/x86_64-linux-gnu/libvtkRenderingPythonTkWidgets.so"
but this file does not exist. Possible reasons include:

  • The file was deleted, renamed, or moved to another location.
  • An install or uninstall procedure did not complete successfully.
  • The installation package was faulty and contained
    "/usr/lib/cmake/vtk-7.1/VTKTargets.cmake"
    but not all the files it references.

-- The imported target "pvtk" references the file
"/usr/bin/pvtk"
but this file does not exist. Possible reasons include:

  • The file was deleted, renamed, or moved to another location.
  • An install or uninstall procedure did not complete successfully.
  • The installation package was faulty and contained
    "/usr/lib/cmake/vtk-7.1/VTKTargets.cmake"
    but not all the files it references.

-- Found package VTK. Using version 7.1.1
-- vtk libraries vtkIOGeometryvtkCommonCorevtksysvtkCommonDataModelvtkCommonMathvtkCommonMiscvtkCommonSystemvtkCommonTransformsvtkCommonExecutionModelvtkIOCore/usr/lib/x86_64-linux-gnu/libz.sovtkIOLegacyvtkIOPLY
-- Configuring done
CMake Error in src/CMakeLists.txt:
Imported target "CGAL" includes non-existent path

"/include"

in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:

  • The path was deleted, renamed, or moved to another location.

  • An install or uninstall procedure did not complete successfully.

  • The installation package was faulty and references files it does not
    provide.

CMake Warning at src/CMakeLists.txt:86 (add_library):
Cannot generate a safe runtime search path for target CSXCAD because files
in some directories may conflict with libraries in implicit directories:

runtime library [libz.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /home/kunqian/anaconda3/lib
runtime library [libmpfr.so.6] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /home/kunqian/anaconda3/lib
runtime library [libgmp.so.10] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /home/kunqian/anaconda3/lib

Some of these libraries may not be found correctly.

CMake Error in src/CMakeLists.txt:
Imported target "CGAL" includes non-existent path

"/include"

in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:

  • The path was deleted, renamed, or moved to another location.

  • An install or uninstall procedure did not complete successfully.

  • The installation package was faulty and references files it does not
    provide.

-- Generating done
CMake Generate step failed. Build files cannot be regenerated correctly.
make[2]: *** [CMakeFiles/CSXCAD.dir/build.make:108: CSXCAD-prefix/src/CSXCAD-stamp/CSXCAD-configure] Error 1
make[1]: *** [CMakeFiles/Makefile2:138: CMakeFiles/CSXCAD.dir/all] Error 2
make: *** [Makefile:84: all] Error 2

Cannot import STL files

Hello everybody,

I'm starting to use OpenEMS for the HF simulation of flexible circuit boards. Because those are bent, I definitely need to import geometries as STL data. Sadly, this feature doesn't seem to work as I get the following error:

image

The files are definitely there and get shown correctly in CSXCAD. Still, after starting OpenEMS, the error pops up and those messages are also output in Octave (I will change over to Python in the future using CSPrimPolyhedronReader):

CSPrimPolyhedronReader::ReadFile: file invalid or empty, skipping ...
CSPrimPolyhedronReader::ReadFromXML: Failed to read file.
CSPrimPolyhedronReader::ReadFile: file invalid or empty, skipping ...
CSPrimPolyhedronReader::ReadFromXML: Failed to read file.
CSPrimPolyhedronReader::ReadFile: file invalid or empty, skipping ...
CSPrimPolyhedronReader::ReadFromXML: Failed to read file.
Warning: Invalid primitive found in property: RO4350B!
Warning: Invalid primitive found in property: CPW!
Warning: Invalid primitive found in property: GND!

I would be very pleased if you could help me out. Thanks a lot in advance! (:

best wishes,
Nico

PS: Project data can be found here

Issue with python/Tutorials files

Hi,
I'm experiencing an issue with 2 example files in the subfolder python/Tutorials.
Bent_Patch_Antenna.py and CRLH_Extraction.py doesn't work.

For Bent_Patch_Antenna.py I have this issue :

Traceback (most recent call last):
  File "Bent_Patch_Antenna.py", line 81, in <module>
    CSX.AddBox(patch, priority=10, start=start, stop=stop, edges2grid='all') # add a box-primitive to the metal property 'patch'
AttributeError: 'CSXCAD.CSXCAD.ContinuousStructure' object has no attribute 'AddBox'

And for CRLH_Extraction.py I have this one :

Traceback (most recent call last):
  File "CRLH_Extraction.py", line 136, in <module>
    mesh_hint = CRLH.createCell()
  File "CRLH_Extraction.py", line 60, in createCell
    mesh = box.GetGridHint('x', metal_edge_res=self.edge_resolution, down_dir=False)
AttributeError: 'CSXCAD.CSPrimitives.CSPrimBox' object has no attribute 'GetGridHint'

hyp2mat not included in latest openEMS-Project builds for windows.

The hyp2mat folder appears to be missing on all the windows releases past v0.0.35-74. As a workaround, there are two options I've test using the, "Importing with hyp2mat" tutorial.

- I downloaded the pre-built binary of hyp2mat as suggested in the hyp2mat repo - README.md commit b15f749 (master) of koendv/hyp2mat suggests [this pre-compiled binary](http://www.kdvelectronics.eu/hyp2mat/hyp2mat-win32-current.zip)
- I tested the bundled binary version from v0.0.35-74 (manual copy only the hyp2mat folder to v0.0.36) and it worked as well

As detailed in the discussion linked below, the tutorial from the old Wiki may need to reference adding the following paths during the tutorial set up to avoid errors due to missing functions (I was uncertain if this would roll into the bug update above or be a separate item.

- Additional folder openEMS\hyp2mat\matlab for the ImportHyperLynx function
- Additional folder openEMS\hyp2mat\eagle\tutorial for the GetUnits and GetEpsilon functions

Originally posted by @daft-develop in #82 (comment)

ISSUE: python AddMSLPort different from octave, not adding Resistor lumped part

Hi,
I'm writing GUI addon for FreeCAD so I have GUI where you define parameters for openEMS simulation and you can generate matlab/octave or python script (now writing python generator) and I was implementing microstrip port and hit this problem:
- I can generate microstrip port using octave where there is MSL input and output port and for control lumped port all of them with reisstance defined
- when generating python code lumped port is generated with resistance lumped part
- python generated model has MSL port has no resistor lumped part

Question:
Octave generated model IS RIGHT AS I EXPECTED AND SHOULD BE,
why python IS NOT GENERATING MSL port RESISTANCE?

here is octave code

% OpenEMS FDTD Analysis Automation Script
%
% To be run with GNU Octave or MATLAB.
% FreeCAD to OpenEMS plugin by Lubomir Jagos, 
% see https://github.com/LubomirJagos/FreeCAD-OpenEMS-Export
%
% This file has been automatically generated. Manual changes may be overwritten.
%

close all
clear
clc

%% Change the current folder to the folder of this m-file.
if(~isdeployed)
  mfile_name          = mfilename('fullpath');
  [pathstr,name,ext]  = fileparts(mfile_name);
  cd(pathstr);
end

%% constants
physical_constants;
unit    = 0.001; % Model coordinates and lengths will be specified in mm.
fc_unit = 0.001; % STL files are exported in FreeCAD standard units (mm).

%% switches & options
postprocessing_only = 1;
draw_3d_pattern = 0; % this may take a while...
use_pml = 0;         % use pml boundaries instead of mur

currDir = strrep(pwd(), '\', '\\');
display(currDir);

% --no-simulation : dry run to view geometry, validate settings, no FDTD computations
% --debug-PEC     : generated PEC skeleton (use ParaView to inspect)
openEMS_opts = '--no-simulation';

%% prepare simulation folder
Sim_Path = 'simulation_output';
Sim_CSX = 'Mircostrip_Port_1.xml';
[status, message, messageid] = rmdir( Sim_Path, 's' ); % clear previous directory
[status, message, messageid] = mkdir( Sim_Path ); % create empty simulation folder

%% setup FDTD parameter & excitation function
max_timesteps = 1000000;
min_decrement = 1e-05; % 10*log10(min_decrement) dB  (i.e. 1E-5 means -50 dB)
FDTD = InitFDTD( 'NrTS', max_timesteps, 'EndCriteria', min_decrement );

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% BOUNDARY CONDITIONS
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
BC = {"PEC","PEC","PEC","PEC","PEC","PEC"};
FDTD = SetBoundaryCond( FDTD, BC );

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% COORDINATE SYSTEM
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
CSX = InitCSX('CoordSystem', 0); % Cartesian coordinate system.
mesh.x = []; % mesh variable initialization (Note: x y z implies type Cartesian).
mesh.y = [];
mesh.z = [];
CSX = DefineRectGrid(CSX, unit, mesh); % First call with empty mesh to set deltaUnit attribute.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% EXCITATION experimental
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
f0 = 2.4*1000000000.0;
fc = 1.2*1000000000.0;
FDTD = SetGaussExcite( FDTD, f0, fc );
max_res = c0 / (f0 + fc) / 20;

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% MATERIALS AND GEOMETRY
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
CSX = AddMetal( CSX, 'PEC' );

%% MATERIAL - PEC
CSX = AddMetal(CSX, 'PEC');

%% MATERIAL - air
CSX = AddMaterial(CSX, 'air');
CSX = SetMaterialProperty(CSX, 'air', 'Epsilon', 1, 'Mue', 1);

%% MATERIAL - copper sheet
CSX = AddConductingSheet(CSX, 'copper sheet', 5e+07, 35*1e-06);

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% GRID LINES
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%% GRID - AIR - air (Fixed Distance)
mesh.x(mesh.x >= -51.0358 & mesh.x <= 56.9278) = [];
mesh.x = [ mesh.x (-51.0358:2:56.9278) ];
mesh.y(mesh.y >= -54.5894 & mesh.y <= 56.6877) = [];
mesh.y = [ mesh.y (-54.5894:2:56.6877) ];
mesh.z(mesh.z >= -40 & mesh.z <= 40) = [];
mesh.z = [ mesh.z (-40:2:40) ];
CSX = DefineRectGrid(CSX, unit, mesh);

%% GRID - XY 20 lines - substrate (Fixed Count)
mesh.x(mesh.x >= -29.5166 & mesh.x <= 30.4928) = [];
mesh.x = [ mesh.x linspace(-29.5166,30.4928,200) ];
mesh.y(mesh.y >= -28.4 & mesh.y <= 30.3971) = [];
mesh.y = [ mesh.y linspace(-28.4,30.3971,200) ];
CSX = DefineRectGrid(CSX, unit, mesh);

%% GRID - Z 5 line - substrate (Fixed Count)
mesh.z(mesh.z >= 0 & mesh.z <= 1.54) = [];
mesh.z = [ mesh.z linspace(0,1.54,5) ];
CSX = DefineRectGrid(CSX, unit, mesh);

%% GRID - Z 5 line - MLS port IN (Fixed Count)
mesh.z(mesh.z >= 0.04 & mesh.z <= 1.54) = [];
mesh.z = [ mesh.z linspace(0.04,1.54,5) ];
CSX = DefineRectGrid(CSX, unit, mesh);

%% GRID - X MSL PORT lines - MLS port IN (Fixed Count)
mesh.x(mesh.x >= 10.6736 & mesh.x <= 14.4867) = [];
mesh.x = [ mesh.x linspace(10.6736,14.4867,200) ];
CSX = DefineRectGrid(CSX, unit, mesh);

%% GRID - Y MSL PORT linex - MLS port IN (Fixed Count)
mesh.y(mesh.y >= -26.8079 & mesh.y <= -3.45277) = [];
mesh.y = [ mesh.y linspace(-26.8079,-3.45277,200) ];
CSX = DefineRectGrid(CSX, unit, mesh);

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% PORTS
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
portNamesAndNumbersList = containers.Map();

%% PORT - microstrip sink - MSL port OUT
portStart  = [ 10.9443, 24.184, 1.54 ];
portStop = [ 13.672, -2.33531, 0.04 ];
portR = 48;
portUnits = 1;
portExcitationAmplitude = 3.7;
mslDir = 1;
mslEVec = [0 0 -1]*portExcitationAmplitude;
[CSX port{1}] = AddMSLPort(CSX,9900,1,'copper sheet',portStart, portStop, mslDir, mslEVec, 'FeedShift', 3.0, 'MeasPlaneShift', 4.0, 'Feed_R', portR*portUnits);
portNamesAndNumbersList("MSL port OUT") = 1;


%% PORT - microstrip source - MLS port IN
portStart  = [ 10.6736, -26.8079, 1.54 ];
portStop = [ 14.4867, -3.45277, 0.04 ];
portR = 11;
portUnits = 1;
portExcitationAmplitude = 3.7;
mslDir = 1;
mslEVec = [0 0 -1]*portExcitationAmplitude;
[CSX port{2}] = AddMSLPort(CSX,9800,2,'copper sheet',portStart, portStop, mslDir, mslEVec, 'ExcitePort', true, 'FeedShift', 1.0, 'MeasPlaneShift', 2.0, 'Feed_R', portR*portUnits);
portNamesAndNumbersList("MLS port IN") = 2;


%% PORT - lumped port - lumpedPort_1
portStart = [ -12.8372, 9.2439, -1.7 ];
portStop  = [ 3.54001, 10.6087, 0 ];
portR = 89.0;
portUnits = 1;
portExcitationAmplitude = 2.3;
portDirection = [0 0 1]*portExcitationAmplitude;
[CSX port{3}] = AddLumpedPort(CSX, 10000, 3, portR*portUnits, portStart, portStop, portDirection);
portNamesAndNumbersList("lumpedPort_1") = 3;


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% RUN
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
WriteOpenEMS( [Sim_Path '/' Sim_CSX], FDTD, CSX );
CSXGeomPlot( [Sim_Path '/' Sim_CSX] );

if (postprocessing_only==0)
    %% run openEMS
    RunOpenEMS( Sim_Path, Sim_CSX, openEMS_opts );
end

here is python code

# OpenEMS FDTD Analysis Automation Script
#
# To be run with python.
# FreeCAD to OpenEMS plugin by Lubomir Jagos, 
# see https://github.com/LubomirJagos/FreeCAD-OpenEMS-Export
#
# This file has been automatically generated. Manual changes may be overwritten.
#
### Import Libraries
import os, tempfile, shutil
from pylab import *
import CSXCAD
from openEMS import openEMS
from openEMS.physical_constants import *
#
#
# Change current path to script file folder
#
abspath = os.path.abspath(__file__)
dname = os.path.dirname(abspath)
os.chdir(dname)
## constants
unit    = 0.001 # Model coordinates and lengths will be specified in mm.
fc_unit = 0.001 # STL files are exported in FreeCAD standard units (mm).

## switches & options
postprocessing_only = True;
draw_3d_pattern = 0  # this may take a while...
use_pml = 0          # use pml boundaries instead of mur

currDir = os.getcwd()
print(currDir)

# --no-simulation : dry run to view geometry, validate settings, no FDTD computations
# --debug-PEC     : generated PEC skeleton (use ParaView to inspect)
openEMS_opts = '--no-simulation'

## prepare simulation folder
Sim_Path = os.path.join(currDir, 'simulation_output')
Sim_CSX = 'Mircostrip Port 1.xml'
if os.path.exists(Sim_Path):
	shutil.rmtree(Sim_Path)   # clear previous directory
	os.mkdir(Sim_Path)    # create empty simulation folder

## setup FDTD parameter & excitation function
max_timesteps = 1000000
min_decrement = 1e-05 # 10*log10(min_decrement) dB  (i.e. 1E-5 means -50 dB)
CSX = CSXCAD.ContinuousStructure()
FDTD = openEMS(NrTS=max_timesteps, EndCriteria=min_decrement)
FDTD.SetCSX(CSX)

#######################################################################################################################################
# BOUNDARY CONDITIONS
#######################################################################################################################################
BC = ["PEC","PEC","PEC","PEC","PEC","PEC"]
FDTD.SetBoundaryCond(BC)

#######################################################################################################################################
# COORDINATE SYSTEM
#######################################################################################################################################
FDTD.SetCoordSystem(0) # Cartesian coordinate system.
def mesh():
	x,y,z

mesh.x = np.array([]); # mesh variable initialization (Note: x y z implies type Cartesian).
mesh.y = np.array([]);
mesh.z = np.array([]);
openEMS_grid = CSX.GetGrid()
openEMS_grid.SetDeltaUnit(unit) # First call with empty mesh to set deltaUnit attribute.

#######################################################################################################################################
# EXCITATION experimental
#######################################################################################################################################
f0 = 2.4*1000000000.0
fc = 1.2*1000000000.0
FDTD.SetGaussExcite(f0, fc)
max_res = C0 / (f0 + fc) / 20

#######################################################################################################################################
# MATERIALS AND GEOMETRY
#######################################################################################################################################
PEC = CSX.AddMetal('PEC');

## MATERIAL - PEC
materialList = {}
materialList['PEC'] = CSX.AddMetal('PEC')

## MATERIAL - air
materialList = {}
materialList['air'] = CSX.AddMaterial('air')
materialList['air'].SetMaterialProperty(epsilon=1, mue=1)

## MATERIAL - copper sheet
materialList = {}
materialList['copper sheet'] = CSX.AddConductingSheet('copper sheet', conductivity=5e+07, thickness=35*1e-06)

#######################################################################################################################################
# GRID LINES
#######################################################################################################################################

## GRID - AIR - air (Fixed Distance)
mesh.x = np.delete(mesh.x, np.argwhere((mesh.x >= -51.0357) & (mesh.x <= 56.9277)))
mesh.x = np.concatenate((mesh.x, np.arange(-51.0357,56.9277,2)))
mesh.y = np.delete(mesh.y, np.argwhere((mesh.y >= -54.5893) & (mesh.y <= 56.6876)))
mesh.y = np.concatenate((mesh.y, np.arange(-54.5893,56.6876,2)))
mesh.z = np.delete(mesh.z, np.argwhere((mesh.z >= -39.9999) & (mesh.z <= 39.9999)))
mesh.z = np.concatenate((mesh.z, np.arange(-39.9999,39.9999,2)))

## GRID - XY 20 lines - substrate (Fixed Count)
mesh.x = np.delete(mesh.x, np.argwhere((mesh.x >= -29.5165) & (mesh.x <= 30.4927)))
mesh.x = np.concatenate((mesh.x, linspace(-29.5165,30.4927,200)))
mesh.y = np.delete(mesh.y, np.argwhere((mesh.y >= -28.3999) & (mesh.y <= 30.397)))
mesh.y = np.concatenate((mesh.y, linspace(-28.3999,30.397,200)))

## GRID - Z 5 line - substrate (Fixed Count)
mesh.z = np.delete(mesh.z, np.argwhere((mesh.z >= 0.0001) & (mesh.z <= 1.5399)))
mesh.z = np.concatenate((mesh.z, linspace(0.0001,1.5399,5)))

## GRID - Z 5 line - MLS port IN (Fixed Count)
mesh.z = np.delete(mesh.z, np.argwhere((mesh.z >= 0.0401) & (mesh.z <= 1.5399)))
mesh.z = np.concatenate((mesh.z, linspace(0.0401,1.5399,5)))

## GRID - X MSL PORT lines - MLS port IN (Fixed Count)
mesh.x = np.delete(mesh.x, np.argwhere((mesh.x >= 10.6737) & (mesh.x <= 14.4866)))
mesh.x = np.concatenate((mesh.x, linspace(10.6737,14.4866,200)))

## GRID - Y MSL PORT linex - MLS port IN (Fixed Count)
mesh.y = np.delete(mesh.y, np.argwhere((mesh.y >= -26.8078) & (mesh.y <= -3.45288)))
mesh.y = np.concatenate((mesh.y, linspace(-26.8078,-3.45288,200)))

openEMS_grid.AddLine('x', mesh.x)
openEMS_grid.AddLine('y', mesh.y)
openEMS_grid.AddLine('z', mesh.z)

#######################################################################################################################################
# PORTS
#######################################################################################################################################
port = {}
portNamesAndNumbersList = {}
## PORT - microstrip sink - MSL port OUT
portStart  = [ 10.9443, 24.184, 1.54 ]
portStop = [ 13.672, -2.33531, 0.04 ]
portR = 48
portUnits = 1
portExcitationAmplitude = 3.7 * 0
mslDir = 'y'
mslEVec = 'z'
port[1] = FDTD.AddMSLPort(1, materialList['copper sheet'], portStart, portStop, mslDir, mslEVec, excite=portExcitationAmplitude, priority=9900, R=portR*portUnits, FeedShift=3.0, MeasPlaneShift=4.0)
portNamesAndNumbersList["MSL port OUT"] = 1;

## PORT - microstrip source - MLS port IN
portStart  = [ 10.6736, -26.8079, 1.54 ]
portStop = [ 14.4867, -3.45277, 0.04 ]
portR = 11
portUnits = 1
portExcitationAmplitude = 3.7 * 1
mslDir = 'y'
mslEVec = 'z'
port[2] = FDTD.AddMSLPort(2, materialList['copper sheet'], portStart, portStop, mslDir, mslEVec, excite=portExcitationAmplitude, priority=9800, R=portR*portUnits, FeedShift=1.0, MeasPlaneShift=2.0)
portNamesAndNumbersList["MLS port IN"] = 2;

## PORT - lumped port - lumpedPort_1
portStart = [ -12.8372, 9.2439, -1.7 ]
portStop  = [ 3.54001, 10.6087, 0 ]
portR = 89.0
portUnits = 1
portDirection = 'z'
port[3] = FDTD.AddLumpedPort(port_nr=3, R=portR*portUnits, start=portStart, stop=portStop, p_dir=portDirection, priority=10000, excite=0)

#######################################################################################################################################
# RUN
#######################################################################################################################################
### Run the simulation
CSX_file = os.path.join(Sim_Path, Sim_CSX)
if not os.path.exists(Sim_Path):
	os.mkdir(Sim_Path)
CSX.Write2XML(CSX_file)
from CSXCAD import AppCSXCAD_BIN
os.system(AppCSXCAD_BIN + ' "{}"'.format(CSX_file))

if not postprocessing_only:
	FDTD.Run(Sim_Path, verbose=3, cleanup=True)

this is octave generated model which is RIGHT
image

here is python generated model which is WRONG
image

OpenEMS fails to build on Mac OS 14.1.2

I'm running into build issues while installing OpenEMS using the Installing Ready-Made Packages for macOS.

Has anyone seen the following build error?

Machine: MacBook Pro M3 Max
macOS: Sonoma 14.1.2

Build error occurs while running brew install --HEAD openems:

[100%] Built target AppCSXCAD
Install the project...
-- Install configuration: "Release"
-- Installing: /usr/local/Cellar/openems/HEAD-d3c31d2/bin/AppCSXCAD
-- Installing: /usr/local/Cellar/openems/HEAD-d3c31d2/bin/AppCSXCAD.sh
cd /tmp/openems-20240302-56497-tesfah/AppCSXCAD-prefix/src/AppCSXCAD-build && /usr/local/Cellar/cmake/3.28.3/bin/cmake -E touch /tmp/openems-20240302-56497-tesfah/AppCSXCAD-prefix/src/AppCSXCAD-stamp/AppCSXCAD-install
[ 95%] Completed 'AppCSXCAD'
/usr/local/Cellar/cmake/3.28.3/bin/cmake -E make_directory /tmp/openems-20240302-56497-tesfah/CMakeFiles
/usr/local/Cellar/cmake/3.28.3/bin/cmake -E touch /tmp/openems-20240302-56497-tesfah/CMakeFiles/AppCSXCAD-complete
/usr/local/Cellar/cmake/3.28.3/bin/cmake -E touch /tmp/openems-20240302-56497-tesfah/AppCSXCAD-prefix/src/AppCSXCAD-stamp/AppCSXCAD-done
[ 95%] Built target AppCSXCAD
make: *** [all] Error 2

If reporting this issue please do so to (not Homebrew/brew or Homebrew/homebrew-core):
  thliebig/openems

/usr/local/Homebrew/Library/Homebrew/utils/github/api.rb:356:in `raise_error': Validation Failed: [{"message"=>"The listed users and repositories cannot be searched either because the resources do not exist or you do not have permission to view them.", "resource"=>"Search", "field"=>"q", "code"=>"invalid"}] (GitHub::API::ValidationFailedError)
	from /usr/local/Homebrew/Library/Homebrew/utils/github/api.rb:272:in `open_rest'
	from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:178:in `search'
	from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:182:in `search_results_items'
	from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:36:in `search_issues'
	from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:62:in `issues_for_formula'
	from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:482:in `fetch_issues'
	from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:477:in `issues'
	from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:533:in `dump'
	from /usr/local/Homebrew/Library/Homebrew/brew.rb:143:in `rescue in <main>'
	from /usr/local/Homebrew/Library/Homebrew/brew.rb:131:in `<main>'
/usr/local/Homebrew/Library/Homebrew/formula.rb:2832:in `block in system': Failed executing: make (BuildError)
	from /usr/local/Homebrew/Library/Homebrew/formula.rb:2768:in `open'
	from /usr/local/Homebrew/Library/Homebrew/formula.rb:2768:in `system'
	from /usr/local/Homebrew/Library/Taps/thliebig/homebrew-openems/openems.rb:26:in `install'
	from /usr/local/Homebrew/Library/Homebrew/build.rb:177:in `block (3 levels) in install'
	from /usr/local/Homebrew/Library/Homebrew/extend/kernel.rb:493:in `with_env'
	from /usr/local/Homebrew/Library/Homebrew/build.rb:139:in `block (2 levels) in install'
	from /usr/local/Homebrew/Library/Homebrew/formula.rb:1410:in `block in brew'
	from /usr/local/Homebrew/Library/Homebrew/formula.rb:3000:in `block (2 levels) in stage'
	from /usr/local/Homebrew/Library/Homebrew/extend/kernel.rb:493:in `with_env'
	from /usr/local/Homebrew/Library/Homebrew/formula.rb:2999:in `block in stage'
	from /usr/local/Homebrew/Library/Homebrew/resource.rb:129:in `block (2 levels) in unpack'
	from /usr/local/Homebrew/Library/Homebrew/download_strategy.rb:121:in `chdir'
	from /usr/local/Homebrew/Library/Homebrew/download_strategy.rb:113:in `stage'
	from /usr/local/Homebrew/Library/Homebrew/resource.rb:125:in `block in unpack'
	from /usr/local/Homebrew/Library/Homebrew/mktemp.rb:75:in `block in run'
	from /usr/local/Homebrew/Library/Homebrew/mktemp.rb:75:in `chdir'
	from /usr/local/Homebrew/Library/Homebrew/mktemp.rb:75:in `run'
	from /usr/local/Homebrew/Library/Homebrew/resource.rb:226:in `stage_resource'
	from /usr/local/Homebrew/Library/Homebrew/resource.rb:124:in `unpack'
	from /usr/local/Homebrew/Library/Homebrew/resource.rb:98:in `stage'
	from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/lib/ruby/3.1.0/forwardable.rb:238:in `stage'
	from /usr/local/Homebrew/Library/Homebrew/formula.rb:2979:in `stage'
	from /usr/local/Homebrew/Library/Homebrew/formula.rb:1403:in `brew'
	from /usr/local/Homebrew/Library/Homebrew/build.rb:133:in `block in install'
	from /usr/local/Homebrew/Library/Homebrew/extend/kernel.rb:493:in `with_env'
	from /usr/local/Homebrew/Library/Homebrew/build.rb:125:in `install'
	from /usr/local/Homebrew/Library/Homebrew/build.rb:229:in `<main>'

Homebrew build fails on OS X 14.4.1 (Intel)

I'm trying to install openEMS using Homebrew on OS X 14.4.1, Intel i7 CPU, following the installation guide. The install gets stuck. I completely wiped the Homebrew installation and tried again, to the same result.

Is there a fix for this?

brew tap thliebig/openems https://github.com/thliebig/openEMS-Project.git
brew install --HEAD openems

[...]
`==> Installing openems from thliebig/openems
==> cmake .
==> make
Last 15 lines from /Users/hp/Library/Logs/Homebrew/openems/02.make:
-- TinyXML_LIBRARY: /usr/local/lib/libtinyxml.dylib
-- Unable to determine HDF5 C flags from HDF5 wrapper.
CMake Error at /usr/local/Cellar/cmake/3.29.0/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find HDF5 (missing: HDF5_LIBRARIES HDF5_HL_LIBRARIES) (found
suitable version "1.14.3", minimum required is "1.8")
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.29.0/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
/usr/local/Cellar/cmake/3.29.0/share/cmake/Modules/FindHDF5.cmake:1025 (find_package_handle_standard_args)
CMakeLists.txt:103 (find_package)

-- Configuring incomplete, errors occurred!
make[2]: *** [CSXCAD-prefix/src/CSXCAD-stamp/CSXCAD-configure] Error 1
make[1]: *** [CMakeFiles/CSXCAD.dir/all] Error 2
make: *** [all] Error 2

If reporting this issue please do so to (not Homebrew/brew or Homebrew/homebrew-core):
thliebig/openems

/usr/local/Homebrew/Library/Homebrew/utils/github/api.rb:378:in raise_error': Validation Failed: [{"message"=>"The listed users and repositories cannot be searched either because the resources do not exist or you do not have permission to view them.", "resource"=>"Search", "field"=>"q", "code"=>"invalid"}] (GitHub::API::ValidationFailedError) from /usr/local/Homebrew/Library/Homebrew/utils/github/api.rb:272:in open_rest'
from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:178:in search' from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:182:in search_results_items'
from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:36:in search_issues' from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:62:in issues_for_formula'
from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:482:in fetch_issues' from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:477:in issues'
from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:533:in dump' from /usr/local/Homebrew/Library/Homebrew/brew.rb:149:in rescue in

'
from /usr/local/Homebrew/Library/Homebrew/brew.rb:137:in <main>' /usr/local/Homebrew/Library/Homebrew/formula.rb:2833:in block in system': Failed executing: make (BuildError)
from /usr/local/Homebrew/Library/Homebrew/formula.rb:2769:in open' from /usr/local/Homebrew/Library/Homebrew/formula.rb:2769:in system'
from /usr/local/Homebrew/Library/Taps/thliebig/homebrew-openems/openems.rb:35:in install' from /usr/local/Homebrew/Library/Homebrew/build.rb:179:in block (3 levels) in install'
from /usr/local/Homebrew/Library/Homebrew/extend/kernel.rb:495:in with_env' from /usr/local/Homebrew/Library/Homebrew/build.rb:139:in block (2 levels) in install'
from /usr/local/Homebrew/Library/Homebrew/formula.rb:1418:in block in brew' from /usr/local/Homebrew/Library/Homebrew/formula.rb:3001:in block (2 levels) in stage'
from /usr/local/Homebrew/Library/Homebrew/extend/kernel.rb:495:in with_env' from /usr/local/Homebrew/Library/Homebrew/formula.rb:3000:in block in stage'
from /usr/local/Homebrew/Library/Homebrew/resource.rb:129:in block (2 levels) in unpack' from /usr/local/Homebrew/Library/Homebrew/download_strategy.rb:121:in chdir'
from /usr/local/Homebrew/Library/Homebrew/download_strategy.rb:113:in stage' from /usr/local/Homebrew/Library/Homebrew/resource.rb:125:in block in unpack'
from /usr/local/Homebrew/Library/Homebrew/mktemp.rb:75:in block in run' from /usr/local/Homebrew/Library/Homebrew/mktemp.rb:75:in chdir'
from /usr/local/Homebrew/Library/Homebrew/mktemp.rb:75:in run' from /usr/local/Homebrew/Library/Homebrew/resource.rb:226:in stage_resource'
from /usr/local/Homebrew/Library/Homebrew/resource.rb:124:in unpack' from /usr/local/Homebrew/Library/Homebrew/resource.rb:98:in stage'
from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/lib/ruby/3.1.0/forwardable.rb:238:in stage' from /usr/local/Homebrew/Library/Homebrew/formula.rb:2980:in stage'
from /usr/local/Homebrew/Library/Homebrew/formula.rb:1411:in brew' from /usr/local/Homebrew/Library/Homebrew/build.rb:133:in block in install'
from /usr/local/Homebrew/Library/Homebrew/extend/kernel.rb:495:in with_env' from /usr/local/Homebrew/Library/Homebrew/build.rb:125:in install'
from /usr/local/Homebrew/Library/Homebrew/build.rb:231:in <main>'

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.