[deal.II] deal.II Newsletter #275

2024-02-26 Thread 'Rene Gassmoeller' via deal.II User Group
Hello everyone!

This is deal.II newsletter #275.
It automatically reports recently merged features and discussions about the 
deal.II finite element library.


## Below you find a list of recently proposed or merged features:

#16695: MatrixFree: Fix function name in docu (proposed by bergbauer) 
https://github.com/dealii/dealii/pull/16695

#16694: Fix issue with colorized cylinder shell (proposed by blaisb) 
https://github.com/dealii/dealii/pull/16694

#16693: Tests: fix two headers (proposed by tamiko; merged) 
https://github.com/dealii/dealii/pull/16693

#16691: `ParticleHandler`: use tolerance for is_inside_unit_cell() check 
(proposed by mschreter; merged) https://github.com/dealii/dealii/pull/16691

#16690: Fix typo one ':' between class names (proposed by masterleinad; merged) 
https://github.com/dealii/dealii/pull/16690

#16689: contrib/utilities/update-copyright.sh: several improvements (proposed 
by tamiko) https://github.com/dealii/dealii/pull/16689

#16687: Fix OpenCASCADE::*Boundary references to OpenCASCADE::*Manifold in 
step-54 docs (proposed by masterleinad; merged) 
https://github.com/dealii/dealii/pull/16687

#16686: Relicensing: update copyright header to intermediate format (proposed 
by tamiko; merged) https://github.com/dealii/dealii/pull/16686

#16685: Relicensing: update .mailmap (proposed by tamiko; merged) 
https://github.com/dealii/dealii/pull/16685

#16683: Tpetra: Fix instantiations for SolverDirect* with complex number types 
(proposed by masterleinad; merged) https://github.com/dealii/dealii/pull/16683

#16682: GitHub CI: Also compile matrix_free_kokkos tests in CUDA CI (proposed 
by masterleinad; merged) https://github.com/dealii/dealii/pull/16682

#16681: Minor efficiency improvement. (proposed by bangerth; merged) 
https://github.com/dealii/dealii/pull/16681

#16680: Minor updates to the documentation of a few functions. (proposed by 
bangerth; merged) https://github.com/dealii/dealii/pull/16680

#16679: Tpetra: Fix compiling with complex values (proposed by masterleinad; 
merged) https://github.com/dealii/dealii/pull/16679

#16677: Add Tpetra SparseMatrix::matrix_scalar_product() and 
matrix_norm_square(). (proposed by bangerth; merged) 
https://github.com/dealii/dealii/pull/16677

#16676: Tpetra: Add SparseMatrix::clear_row[s] (proposed by masterleinad; 
merged) https://github.com/dealii/dealii/pull/16676

#16675: Add function to retrieve a writable reference to particle locations 
(proposed by gassmoeller; merged) https://github.com/dealii/dealii/pull/16675

#16674: CMake: honor `optimized`,`debug`, and `general` keywords in `LIBRARIES` 
and `TARGETS` (proposed by tamiko; merged) 
https://github.com/dealii/dealii/pull/16674

#16673: Fix `make_flux_sparsity_pattern` for `FENothing` (proposed by 
mschreter; merged) https://github.com/dealii/dealii/pull/16673

#16672: Tpetra: Implement Vector::is_non_negative (proposed by masterleinad; 
merged) https://github.com/dealii/dealii/pull/16672

#16670: Use size_type as return type of SparseMatrix::m(). (proposed by 
bangerth; merged) https://github.com/dealii/dealii/pull/16670

#16669: Fix bundled boost 1.70.0 to avoid using std::unary_function (proposed 
by masterleinad; merged) https://github.com/dealii/dealii/pull/16669

#16668: Make LA::TpetraWrappers::SparseMatrix::copy_from compatible with older 
Trilinos versions. (proposed by kinnewig; merged) 
https://github.com/dealii/dealii/pull/16668

#1: Relicensing: require all new contributions to be dual licensed 
(proposed by tamiko; merged) https://github.com/dealii/dealii/pull/1

#16664: Add a comparison operator to LA::TpetraWrappers::Vector (proposed by 
kinnewig; merged) https://github.com/dealii/dealii/pull/16664

#16663: Declare conversion assignments for Tpetra vectors. (proposed by 
kinnewig; merged) https://github.com/dealii/dealii/pull/16663

#16661: Add python code for plotting in Step 3 (proposed by ampdes) 
https://github.com/dealii/dealii/pull/16661

#16660: Remove verbose output from Tpetra direct solver (proposed by jpthiele; 
merged) https://github.com/dealii/dealii/pull/16660

#16659: Update Trilinos readme. (proposed by marcfehling; merged) 
https://github.com/dealii/dealii/pull/16659

#16658: Find active cell around point simplices 9.5 (proposed by drwells; 
merged) https://github.com/dealii/dealii/pull/16658

#16657: Assert that we only extrude quadrilateral meshes. (proposed by drwells; 
merged) https://github.com/dealii/dealii/pull/16657

#16655: [9.5] take over pr #16653 (proposed by tamiko; merged) 
https://github.com/dealii/dealii/pull/16655

#16654: Only enable a function if a template type is right. (proposed by 
bangerth; merged) https://github.com/dealii/dealii/pull/16654

#16653: Fix segmentation fault when using mpich (proposed by tamiko; merged) 
https://github.com/dealii/dealii/pull/16653

#16651: Add the remaining SUNDIALS 7 output variants. (proposed by bangerth; 
merged) https://github.com/dealii/dealii/pull/16651

#16650: Add 

Re: [deal.II] Error of Installing Deal.ii 9.5.2 on Intel-based Mac Devices

2024-02-26 Thread Lex Lee
Not fixed yet.   -Lex

On Mon, Feb 26, 2024 at 5:14 AM Ester Comellas 
wrote:

> Hi Luca, hi Lex
>
> Has this issue been solved? I'm trying to install deal.II on my macOS
> Sonoma 14.3.1 with an Intel processor using the dmg package
> "dealii-9.5.2-sonoma-intel.dmg" and get an error like the one Lex reported.
> Any help on how to get deal.II running on my laptopt will be appreciated!
>
> Best,
> Ester
>
> El dia dilluns, 5 de febrer del 2024 a les 12:24:57 UTC+1,
> hitl...@gmail.com va escriure:
>
>> Hello Luca,
>>
>>
>> Thank you for your kind reply.
>>
>> I have 2 Intel-based mac devices. MacOS version on these 2 devices:
>> Ventura + Sonoma. Both are installed with deal.ii version 9.5.2 and the
>> latest compatible Xcode version. Unluckily, deal.ii 9.5.2 failed to run on
>> these 2 devices.
>>
>>
>> Best,
>> Lex
>>
>> On Sun, Feb 4, 2024 at 11:56 PM Luca Heltai  wrote:
>>
>>> Dear Lex,
>>>
>>> I see you are using a spack installed version of the dmg package.
>>>
>>> What package version is this? What OS version do you have (i.e., is this
>>> sonoma?). If you upgraded to sonoma, and are still using the old package,
>>> this cannot work, since the compiler has changed with the upgrade.
>>>
>>> If you use the 9.5.2 package, deal.II comes pre-installed. Does that
>>> work for you?
>>>
>>> L.
>>>
>>> > On 3 Feb 2024, at 21:35, Lex Lee  wrote:
>>> >
>>> > I got the following error messages
>>> >
>>> >
>>> > -- Detecting CXX compiler ABI info - failed
>>> > -- Check for working CXX compiler: /Applications/
>>> deal.II.app/Contents/Resources/spack/lib/spack/env/clang/clang++
>>> > -- Check for working CXX compiler: /Applications/
>>> deal.II.app/Contents/Resources/spack/lib/spack/env/clang/clang++ -
>>> broken
>>> > CMake Error at
>>> /usr/local/Cellar/cmake/3.28.2/share/cmake/Modules/CMakeTestCXXCompiler.cmake:60
>>> (message):
>>> >   The C++ compiler
>>> >
>>> > "/Applications/
>>> deal.II.app/Contents/Resources/spack/lib/spack/env/clang/clang++"
>>> >
>>> >   is not able to compile a simple test program.
>>> >
>>> >   It fails with the following output:
>>> >
>>> > Change Dir: '/Applications/
>>> deal.II.app/Contents/Resources/Libraries/share/deal.II/examples/step-32/CMakeFiles/CMakeScratch/TryCompile-Fkp1zK
>>> '
>>> >
>>> > Run Build Command(s): /usr/local/Cellar/cmake/3.28.2/bin/cmake -E
>>> env VERBOSE=1 /usr/bin/make -f Makefile cmTC_e8efc/fast
>>> > /Library/Developer/CommandLineTools/usr/bin/make  -f
>>> CMakeFiles/cmTC_e8efc.dir/build.make CMakeFiles/cmTC_e8efc.dir/build
>>> > Building CXX object CMakeFiles/cmTC_e8efc.dir/testCXXCompiler.cxx.o
>>> > /Applications/
>>> deal.II.app/Contents/Resources/spack/lib/spack/env/clang/clang++-o
>>> CMakeFiles/cmTC_e8efc.dir/testCXXCompiler.cxx.o -c /Applications/
>>> deal.II.app/Contents/Resources/Libraries/share/deal.II/examples/step-32/CMakeFiles/CMakeScratch/TryCompile-Fkp1zK/testCXXCompiler.cxx
>>> > [spack cc] ERROR: Spack compiler must be run from Spack! Input
>>> 'SPACK_ENV_PATH' is missing.
>>> > make[1]: *** [CMakeFiles/cmTC_e8efc.dir/testCXXCompiler.cxx.o]
>>> Error 1
>>> > make: *** [cmTC_e8efc/fast] Error 2
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >   CMake will not be able to correctly generate this project.
>>> > Call Stack (most recent call first):
>>> >   CMakeLists.txt:58 (project)
>>> >
>>> >
>>> > What happened? Thank you for your valuable time.
>>> >
>>> > --
>>> > The deal.II project is located at http://www.dealii.org/
>>> > For mailing list/forum options, see
>>> https://groups.google.com/d/forum/dealii?hl=en
>>> > ---
>>> > You received this message because you are subscribed to the Google
>>> Groups "deal.II User Group" group.
>>> > To unsubscribe from this group and stop receiving emails from it, send
>>> an email to dealii+un...@googlegroups.com.
>>> > To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/dealii/8b2f0f8e-7b7e-4a66-9853-6b2e8b909820n%40googlegroups.com
>>> .
>>>
>>> --
>>> The deal.II project is located at http://www.dealii.org/
>>> For mailing list/forum options, see
>>> https://groups.google.com/d/forum/dealii?hl=en
>>> ---
>>>
>> You received this message because you are subscribed to a topic in the
>>> Google Groups "deal.II User Group" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/dealii/3X-tLW7i10k/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> dealii+un...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/dealii/A95D4F7D-E073-4503-88B7-3DB9C0EB9659%40gmail.com
>>> .
>>>
>> --
> The deal.II project is located at http://www.dealii.org/
> For mailing list/forum options, see
> https://groups.google.com/d/forum/dealii?hl=en
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "deal.II User Group" group.
> To unsubscribe from this topic, visit
> 

Re: [deal.II] Error of Installing Deal.ii 9.5.2 on Intel-based Mac Devices

2024-02-26 Thread Ester Comellas
Hi Luca, hi Lex

Has this issue been solved? I'm trying to install deal.II on my macOS 
Sonoma 14.3.1 with an Intel processor using the dmg package 
"dealii-9.5.2-sonoma-intel.dmg" and get an error like the one Lex reported. 
Any help on how to get deal.II running on my laptopt will be appreciated!

Best,
Ester

El dia dilluns, 5 de febrer del 2024 a les 12:24:57 UTC+1, 
hitl...@gmail.com va escriure:

> Hello Luca,
>
>
> Thank you for your kind reply.
>
> I have 2 Intel-based mac devices. MacOS version on these 2 devices: 
> Ventura + Sonoma. Both are installed with deal.ii version 9.5.2 and the 
> latest compatible Xcode version. Unluckily, deal.ii 9.5.2 failed to run on 
> these 2 devices.
>
>
> Best,
> Lex 
>
> On Sun, Feb 4, 2024 at 11:56 PM Luca Heltai  wrote:
>
>> Dear Lex, 
>>
>> I see you are using a spack installed version of the dmg package.
>>
>> What package version is this? What OS version do you have (i.e., is this 
>> sonoma?). If you upgraded to sonoma, and are still using the old package, 
>> this cannot work, since the compiler has changed with the upgrade. 
>>
>> If you use the 9.5.2 package, deal.II comes pre-installed. Does that work 
>> for you?
>>
>> L.
>>
>> > On 3 Feb 2024, at 21:35, Lex Lee  wrote:
>> > 
>> > I got the following error messages
>> > 
>> > 
>> > -- Detecting CXX compiler ABI info - failed
>> > -- Check for working CXX compiler: /Applications/
>> deal.II.app/Contents/Resources/spack/lib/spack/env/clang/clang++
>> > -- Check for working CXX compiler: /Applications/
>> deal.II.app/Contents/Resources/spack/lib/spack/env/clang/clang++ - broken
>> > CMake Error at 
>> /usr/local/Cellar/cmake/3.28.2/share/cmake/Modules/CMakeTestCXXCompiler.cmake:60
>>  
>> (message):
>> >   The C++ compiler
>> > 
>> > "/Applications/
>> deal.II.app/Contents/Resources/spack/lib/spack/env/clang/clang++"
>> > 
>> >   is not able to compile a simple test program.
>> > 
>> >   It fails with the following output:
>> > 
>> > Change Dir: '/Applications/
>> deal.II.app/Contents/Resources/Libraries/share/deal.II/examples/step-32/CMakeFiles/CMakeScratch/TryCompile-Fkp1zK
>> '
>> > 
>> > Run Build Command(s): /usr/local/Cellar/cmake/3.28.2/bin/cmake -E 
>> env VERBOSE=1 /usr/bin/make -f Makefile cmTC_e8efc/fast
>> > /Library/Developer/CommandLineTools/usr/bin/make  -f 
>> CMakeFiles/cmTC_e8efc.dir/build.make CMakeFiles/cmTC_e8efc.dir/build
>> > Building CXX object CMakeFiles/cmTC_e8efc.dir/testCXXCompiler.cxx.o
>> > /Applications/
>> deal.II.app/Contents/Resources/spack/lib/spack/env/clang/clang++-o 
>> CMakeFiles/cmTC_e8efc.dir/testCXXCompiler.cxx.o -c /Applications/
>> deal.II.app/Contents/Resources/Libraries/share/deal.II/examples/step-32/CMakeFiles/CMakeScratch/TryCompile-Fkp1zK/testCXXCompiler.cxx
>> > [spack cc] ERROR: Spack compiler must be run from Spack! Input 
>> 'SPACK_ENV_PATH' is missing.
>> > make[1]: *** [CMakeFiles/cmTC_e8efc.dir/testCXXCompiler.cxx.o] 
>> Error 1
>> > make: *** [cmTC_e8efc/fast] Error 2
>> > 
>> > 
>> > 
>> >   
>> > 
>> >   CMake will not be able to correctly generate this project.
>> > Call Stack (most recent call first):
>> >   CMakeLists.txt:58 (project)
>> > 
>> > 
>> > What happened? Thank you for your valuable time.
>> > 
>> > -- 
>> > The deal.II project is located at http://www.dealii.org/
>> > For mailing list/forum options, see 
>> https://groups.google.com/d/forum/dealii?hl=en
>> > --- 
>> > You received this message because you are subscribed to the Google 
>> Groups "deal.II User Group" group.
>> > To unsubscribe from this group and stop receiving emails from it, send 
>> an email to dealii+un...@googlegroups.com.
>> > To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/dealii/8b2f0f8e-7b7e-4a66-9853-6b2e8b909820n%40googlegroups.com
>> .
>>
>> -- 
>> The deal.II project is located at http://www.dealii.org/
>> For mailing list/forum options, see 
>> https://groups.google.com/d/forum/dealii?hl=en
>> --- 
>>
> You received this message because you are subscribed to a topic in the 
>> Google Groups "deal.II User Group" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/dealii/3X-tLW7i10k/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> dealii+un...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/dealii/A95D4F7D-E073-4503-88B7-3DB9C0EB9659%40gmail.com
>> .
>>
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit