Re: [deal.II] Adding AVX support libdeal.ii debian 12 package

2024-08-15 Thread Gregory Christian
Nvm it worked, thank you! Although sudo apt install did not like installing the source version. Kind Regards, Greg On Wednesday 14 August 2024 at 20:57:04 UTC+1 Matthias Maier wrote: > Yes, > > You'll need to flip that option to on. > > Best, > Matthias > > > On Wed, Aug 14, 2024, at 11:10 CD

Re: [deal.II] Adding AVX support libdeal.ii debian 12 package

2024-08-15 Thread Gregory Christian
Hi, Dealii does recognise AVX compatibility and all the quick tests pass however I encounter the following error when trying to run step-76 :./examples/step-76/step-76.cc:511: error: undefined reference to 'dealii::MatrixFree<2, double, dealii::VectorizedArray >::MatrixFree()' /usr/include/deal

Re: [deal.II] Adding AVX support libdeal.ii debian 12 package

2024-08-14 Thread Matthias Maier
Yes, You'll need to flip that option to on. Best, Matthias On Wed, Aug 14, 2024, at 11:10 CDT, Wolfgang Bangerth wrote: > On 8/14/24 09:16, Gregory Christian wrote: >> Yes I reconfigured (only changing the debian/rules) file and >> recompiled dealii, not just step-76. I checked the linkers w

Re: [deal.II] Adding AVX support libdeal.ii debian 12 package

2024-08-14 Thread Daniel Arndt
I am seeing something like -- Include /tmp/dealii_new/cmake/checks/check_01_cpu_features.cmake -- Performing Test DEAL_II_HAVE_SSE2 -- Performing Test DEAL_II_HAVE_SSE2 - Failed -- Performing Test DEAL_II_HAVE_AVX -- Performing Test DEAL_II_HAVE_AVX - Failed -- Performing Test DEAL_II_HAVE_AVX512

Re: [deal.II] Adding AVX support libdeal.ii debian 12 package

2024-08-14 Thread Wolfgang Bangerth
On 8/14/24 09:16, Gregory Christian wrote: Yes I reconfigured (only changing the debian/rules) file and recompiled dealii, not just step-76. I checked the linkers whilst the package was compiling and -march=skylake was present throughout. This isn't my area of expertise, but did you se -DDE

Re: [deal.II] Adding AVX support libdeal.ii debian 12 package

2024-08-14 Thread Gregory Christian
Dear Daniel, Yes I reconfigured (only changing the debian/rules) file and recompiled dealii, not just step-76. I checked the linkers whilst the package was compiling and -march=skylake was present throughout. Kind regards, Greg On Wed, 14 Aug 2024, 15:55 Daniel Arndt, wrote: > Did you actually

Re: [deal.II] Adding AVX support libdeal.ii debian 12 package

2024-08-14 Thread Daniel Arndt
Did you actually reconfigure and recompile deal.II itself or only step-76? You should see in the CMake configuration output why AVX-support wasn't detected.\ Best, Daniel On Wed, Aug 14, 2024 at 8:43 AM Gregory Christian wrote: > > Hi Daniel, > > The output is Vectorization over 1 doubles = 64 b

Re: [deal.II] Adding AVX support libdeal.ii debian 12 package

2024-08-14 Thread Gregory Christian
Hi Daniel, The output is Vectorization over 1 doubles = 64 bits (disabled) Kind Regards, Greg On Wednesday 14 August 2024 at 15:11:44 UTC+1 d.arnd...@gmail.com wrote: > Greg, > > What does your detailed.log look like? The "Vectorization level" line > should tell you the detected capabilities.

Re: [deal.II] Adding AVX support libdeal.ii debian 12 package

2024-08-14 Thread Daniel Arndt
Greg, What does your detailed.log look like? The "Vectorization level" line should tell you the detected capabilities. Best, Daniel On Wed, Aug 14, 2024 at 7:16 AM Gregory Christian wrote: > > Hi all, > > I'm trying to add AVX2 support for step-76 but have had no luck. > Steps taken: > sudo apt

[deal.II] Adding AVX support libdeal.ii debian 12 package

2024-08-14 Thread Gregory Christian
Hi all, I'm trying to add AVX2 support for step-76 but have had no luck. Steps taken: sudo apt source libdeal.ii-dev sudo chown -R $USER:$USER deal.ii-9.4.1 modify the debian/rules -DDEAL_II_CXX_FLAGS to include -march=skylake (I have an i7 6700) Then build and install using debuild Problem: The