Package Details: openems-git 0.0.36.r15.g1ccf094-3

Git Clone URL: https://aur.archlinux.org/openems-git.git (read-only, click to copy)
Package Base: openems-git
Description: A free and open source EC-FDTD solver
Upstream URL: https://github.com/thliebig/openEMS
Licenses: GPL-3.0-or-later
Conflicts: openems
Provides: openems
Submitter: thasti
Maintainer: thasti (xiota)
Last Packager: xiota
Votes: 3
Popularity: 0.000000
First Submitted: 2017-12-10 12:32 (UTC)
Last Updated: 2024-06-23 22:18 (UTC)

Pinned Comments

ra1nb0w commented on 2022-11-15 09:04 (UTC) (edited on 2022-11-15 09:05 (UTC) by ra1nb0w)

A few notes to use openEMS with Octave:

  • opencv4 contains a file named hdf5.h and openEMS's setup fails. You need to patch setup.m present in /usr/share/openEMS/matlab with
22c22
<         [res, fn_h]  = unix('find /usr/include -name hdf5.h | sort -r | head -1');
---
>         [res, fn_h]  = unix('find /usr/include -maxdepth 1 -name hdf5.h | sort -r | head -1');
  • To include openEMS's matlab path run the following commands on octave shell
# addpath('/usr/share/CSXCAD/matlab');
addpath('/usr/share/openEMS/matlab');
savepath
exit

Then you need to build the dynamic-load module

sudo chmod o+w /usr/share/openEMS/matlab
octave --eval setup
sudo chmod o-w /usr/share/openEMS/matlab

Now you can use octave as always.

Latest Comments

1 2 Next › Last »

thasti commented on 2024-05-31 08:20 (UTC)

Many thanks @xiota & sorry for the delay! I have integrated your proposed changes. Are you interested in taking over ownership of the package so you can get issues fixed faster (I'm not a regular openEMS user currently)?

thasti commented on 2024-03-16 19:23 (UTC)

fixed, thanks!

thotypous commented on 2024-03-15 15:19 (UTC)

The PKGBUILD is missing depends for fmt and verdict. Build fails with:

[100%] Linking CXX executable openEMS
/usr/sbin/ld: warning: libfmt.so.10, needed by /usr/lib/libvtkFiltersGeneral.so.1, not found (try using -rpath or -rpath-link)
/usr/sbin/ld: warning: libverdict.so.1.4, needed by /usr/lib/libvtkFiltersVerdict.so.1, not found (try using -rpath or -rpath-link)

unless you add fmt and verdict as depends

ra1nb0w commented on 2022-11-15 09:04 (UTC) (edited on 2022-11-15 09:05 (UTC) by ra1nb0w)

A few notes to use openEMS with Octave:

  • opencv4 contains a file named hdf5.h and openEMS's setup fails. You need to patch setup.m present in /usr/share/openEMS/matlab with
22c22
<         [res, fn_h]  = unix('find /usr/include -name hdf5.h | sort -r | head -1');
---
>         [res, fn_h]  = unix('find /usr/include -maxdepth 1 -name hdf5.h | sort -r | head -1');
  • To include openEMS's matlab path run the following commands on octave shell
# addpath('/usr/share/CSXCAD/matlab');
addpath('/usr/share/openEMS/matlab');
savepath
exit

Then you need to build the dynamic-load module

sudo chmod o+w /usr/share/openEMS/matlab
octave --eval setup
sudo chmod o-w /usr/share/openEMS/matlab

Now you can use octave as always.

lowRAM commented on 2022-03-17 10:15 (UTC)

Seems to depend on https://archlinux.org/packages/community/x86_64/pugixml/

andres commented on 2022-03-11 18:21 (UTC)

Seems to depend on https://archlinux.org/packages/extra/x86_64/fmt/

nickoe commented on 2020-07-10 13:14 (UTC)

@thasti, ok that seems to work. Thanks. Maybe you should bump the pkgrel on csxcad-git such that people get it rebuilt more easily?

thasti commented on 2020-07-10 12:19 (UTC) (edited on 2020-07-10 12:20 (UTC) by thasti)

Hi nickoe,

In case you recently updated hdf5, you need to also rebuild csxcad-git, then you should be good to go. Let me know.

nickoe commented on 2020-07-10 10:32 (UTC)

I am completely new to openems, but it does not seem to run for me.

$ openEMS
openEMS: error while loading shared libraries: libhdf5.so.103: cannot open shared object file: No such file or directory

When I check the so names in hdf5 it has /usr/lib/libhdf5.so.200 not 103.

I have tried to rebuild openems-git. Any hints @thasti?