Hello,
I am trying this awesome package but I run into some small problems which I wanted to report.
Emerge 1.0.3 crashes with a segmentation fault when running the example simulation, in particular when generating the mesh.
Steps to reproduce:
conda create -n emerge
conda activate emerge
conda install -c conda-forge pip
pip install emerge
Then copy-paste the first example in the user manual -- where btw there is a typo in line 23, missing capital "w". Eventually
python example.py
gives
[INFO] Setting frequency as [...] [INFO] Adding PEC boundary condition with tags []. Segmentation fault (core dumped)
Environment:
Emerge 1.0.3
Python 3.13.7
NumPy 2.2.6
Numba 0.61.2
OS: Linux (Ubuntu 24.04.3 LTS x86_64)
Notes
The crash happens on model.generate_mesh(), and it is almost instantaneous, no system resource is being consumed. Both libopenblas-dev and libsuitesparse-dev are installed system wide.
Temporary solution
Downgrading to Python 3.11 with compatible NumPy/Numba resolves the issue.
Hello,
I am trying this awesome package but I run into some small problems which I wanted to report.
Emerge 1.0.3 crashes with a segmentation fault when running the example simulation, in particular when generating the mesh.
Steps to reproduce:
conda create -n emergeconda activate emergeconda install -c conda-forge pippip install emergeThen copy-paste the first example in the user manual -- where btw there is a typo in line 23, missing capital "w". Eventually
python example.pygives
[INFO] Setting frequency as [...] [INFO] Adding PEC boundary condition with tags []. Segmentation fault (core dumped)Environment:
OS: Linux (Ubuntu 24.04.3 LTS x86_64)
Notes
The crash happens on
model.generate_mesh(), and it is almost instantaneous, no system resource is being consumed. Both libopenblas-dev and libsuitesparse-dev are installed system wide.Temporary solution
Downgrading to Python 3.11 with compatible NumPy/Numba resolves the issue.