@ChRen What problem are you having? I just successfully completed rebuild in a clean chroot.
Search Criteria
Package Details: python-openems-git 0.0.36.r75.g954723d-1
Package Actions
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 - python module |
Upstream URL: | https://github.com/thliebig/openEMS |
Licenses: | GPL-3.0-or-later |
Conflicts: | python-openems |
Provides: | python-openems |
Submitter: | thasti |
Maintainer: | thasti (xiota) |
Last Packager: | xiota |
Votes: | 3 |
Popularity: | 0.000000 |
First Submitted: | 2017-12-10 12:32 (UTC) |
Last Updated: | 2025-04-16 23:53 (UTC) |
Dependencies (18)
- openemsAUR (openems-gitAUR)
- python (python37AUR)
- python-csxcad (python-csxcad-gitAUR)
- python-h5py (python-h5py-gitAUR, python-h5py-openmpi)
- python-matplotlib (python-matplotlib-gitAUR)
- python-numpy (python-numpy-gitAUR, python-numpy1AUR, python-numpy-mkl-binAUR, python-numpy-mkl-tbbAUR, python-numpy-mklAUR)
- boost (boost-gitAUR) (make)
- cmake (cmake3AUR, cmake-gitAUR) (make)
- cython (cython-gitAUR) (make)
- fast_float (fast_float-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- ninja (ninja-kitwareAUR, ninja-fuchsia-gitAUR, ninja-gitAUR, ninja-jobserverAUR, ninja-memAUR) (make)
- nlohmann-json (nlohmann-json-gitAUR) (make)
- openmpi (openmpi-gitAUR) (make)
- python-build (make)
- python-installer (make)
- python-setuptools (make)
- python-wheel (make)
Required by (1)
- python-pyems-git (requires python-openems)
Sources (1)
xiota commented on 2025-06-13 17:47 (UTC)
ChRen commented on 2025-06-13 13:35 (UTC)
@xiota. Could you find the time to patch the package?
czechu commented on 2024-11-29 11:06 (UTC) (edited on 2024-11-29 11:06 (UTC) by czechu)
I'm having issues building it
[72/75] Linking CXX executable openEMS
FAILED: openEMS
: && /usr/bin/mpicxx -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -Wl,-rpath -Wl,/usr/lib -Wl,--enable-new-dtags -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -rdynamic CMakeFiles/openEMS_bin.dir/main.cpp.o -o openEMS -Wl,-rpath,/var/tmp/pamac-build-user/openems-git/src/build: libopenEMS.so.0.0.36 -lCSXCAD -lfparser -ltinyxml -lhdf5 -lsz -lz -Wl,-Bstatic -ldl -Wl,-Bdynamic -lm -lhdf5_hl /usr/lib/libboost_serialization.so.1.86.0 /usr/lib/libvtkIOXML.so.9.3 /usr/lib/libvtkIOXMLParser.so.9.3 /usr/lib/libvtkIOGeometry.so.9.3 /usr/lib/libvtkIOLegacy.so.9.3 /usr/lib/libvtkIOPLY.so.9.3 /usr/lib/libvtkIOCore.so.9.3 /usr/lib/libvtkCommonExecutionModel.so.9.3 /usr/lib/libvtkCommonDataModel.so.9.3 /usr/lib/libvtkCommonTransforms.so.9.3 /usr/lib/libvtkCommonMath.so.9.3 /usr/lib/libvtkCommonCore.so.9.3 /usr/lib/libvtksys.so.9.3 -ldl /usr/lib/libtbb.so.12.13 -lgomp -Wl,-Bstatic -lpthread -Wl,-Bdynamic /usr/lib/libvtkkissfft.so.9.3 -lmpi && :
/usr/bin/ld: libopenEMS.so.0.0.36: undefined reference to `boost::program_options::abstract_variables_map::operator[](std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
/usr/bin/ld: libopenEMS.so.0.0.36: undefined reference to `boost::thread::start_thread_noexcept()'
... (more libopenEMS errors)...
/usr/bin/ld: libopenEMS.so.0.0.36: undefined reference to `boost::program_options::to_internal(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/bin/ld: libopenEMS.so.0.0.36: undefined reference to `boost::program_options::validate(boost::any&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, int)'
collect2: error: ld returned 1 exit status
[73/75] Linking CXX shared library nf2ff/libnf2ff.so.0.1.0
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
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/
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:
hdf5.h
and openEMS's setup fails. You need to patch setup.m present in /usr/share/openEMS/matlab withThen you need to build the dynamic-load module
Now you can use octave as always.