[deal.II] Re: Munmap_chunk(): invalid pointer

2021-09-13 Thread simon...@gmail.com
Hi, Good that you solved you problem. Address sanitizer is great for finding this type of bugs, but note that you don't want to use it when you run the actual simulation. In general, memory usage increases (by a factor ~2 to ~3) and the code runs slower (by a factor ~2 to ~5). Best, Simon On

[deal.II] Re: Munmap_chunk(): invalid pointer

2021-09-13 Thread simon...@gmail.com
Hi, "Invalid pointer" suggest that this is some bug related to memory. One way to find such errors is to turn on the adress sanitizer. If you use gcc or clang, this can be done by configuring cmake this: cmake -DCMAKE_BUILD_TYPE="Debug" -DCMAKE_CXX_FLAGS="-fsanitize=address" -DCMAKE_EXE_LINKER_

Re: [deal.II] dealii on Apple M1

2021-09-13 Thread Praveen C
It depends on what all other packages you want along with deal.II Using spack I could install almost all dependencies except oce trilinos It needed some tweaks to some packages though. If your needs are not too broad, you may be able to get all needed dependencies from homebrew itself. best p

[deal.II] Re: dealii on Apple M1

2021-09-13 Thread Alexey Ozeritskiy
Hi, Yes, i got success. I used gcc,cmake, and other app/libs from homebrew. Everything works fine. I had some problems with homebrew at december, but now it works fine. понедельник, 13 сентября 2021 г. в 15:10:36 UTC+3, deepak@gmail.com: > Hi Alex, > > I have the same struggle. Did you ge

[deal.II] Re: dealii on Apple M1

2021-09-13 Thread deepak....@gmail.com
Hi Alex, I have the same struggle. Did you get any success yet? On Wednesday, 9 December 2020 at 18:19:05 UTC+8 Alexey Ozeritskiy wrote: > Hi All, > > Has anyone tried to compile dealii for Apple M1 ? Can you share your > experience? I've tried to do this for version 9.2 without success. >

[deal.II] Munmap_chunk(): invalid pointer

2021-09-13 Thread Мария Бронзова
Hello everyone, I am trying to run the following script, but getting the error: 'munmap_chunk(): invalid pointer'. The eclipse debugger doesn't help me realize, where exactly the error occurs. In case you have an idea, how to correct it, please, let me know. I would be very gratefull! Kind re