Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bempp crashed when solving an electromagnetic scattering problem #190

Open
xiamengqi2012 opened this issue Apr 5, 2023 · 2 comments
Open

Comments

@xiamengqi2012
Copy link

Hi, I tried Bempp on electromagnetic scattering problems and the jupyter kernel crashed. The simulation was running for several hours, and I don't think I ran out of memory. It's kind of hard for me to locate the cause of such a crash.

I encountered this problem earlier at a smaller resolution and I was able to bypass it by forcing specific versions of libraries (see below). But now I have this issue again on a larger resolution. I attached the jupyter log file and the links to the notebook file and mesh file I used. I'm wondering if there is something suspicious to you in the script or the log file; or if there is a specific python environment setting I should try. Thank you!

I'm using
python=3.8.5
ipykernel=5.3.4
ipython=7.19.0
numba=0.51.2
nbformat=5.0.8
Bempp-cl=0.2.4

jupyter.log
The script I used is here: https://drive.google.com/file/d/1cRnAL52rX7Jh_L7hqdwyxdKelu5PW8Tf/view?usp=sharing
The mesha I used i here: https://drive.google.com/file/d/1U7Oe2UzfIphigjpFjTrNY90U2CFRn-nH/view?usp=sharing

@xiamengqi2012
Copy link
Author

xiamengqi2012 commented Apr 10, 2023

Though the memory usage at the beginning of matrix assembly seemed fine (20Gb), the memory usage increased over the matrix assembly process. I was able to run this problem on a more powerful machine with 256Gb memory.

@xiamengqi2012
Copy link
Author

After further increasing the resolution, I ran into another issue that cause the program to stop: python: ../nptl/pthread_mutex_lock.c:81: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' . I wan't able to test convergence on this problem yet...

@xiamengqi2012 xiamengqi2012 reopened this Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant