[deal.II] dealii-9.4.0 release candidate 1

2022-06-16 Thread Matthias Maier
Dear all,

We have tagged a first release candidate for the upcoming deal.II 9.4.0 release.
You can find the sources and a generated offline documentation here:

  https://github.com/dealii/dealii/releases/tag/v9.4.0-rc1

Alternatively, you can switch to the dealii-9.4 branch in your local git 
repository

  git remote update
  git checkout v9.4.0-rc1

It would be great if you could test it on your machine with your typical 
configuration!
If no further regressions show up, we will release Friday June 24. The release
progress is tracked in the following GitHub issue:

  https://github.com/dealii/dealii/issues/13574

Thanks!

Matthias
on behalf of the deal.II developer team

-- 
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 
https://groups.google.com/d/msgid/dealii/87sfo4xqud.fsf%4043-1.org.


Re: [deal.II] Compilation fails for deal.II when compiling with PETSc+Kokkos

2022-06-16 Thread Daniel Arndt
Roland,

Instead of debugging where thighs go wring in choosing the correct compiler
when using the launch_compiler, you could either use Kokkos' nvcc_wrapper
(in the Kokkos installation directory in the bin directory) or use clang++.
The former one forces all compilation to go through nvcc which you likely
want anyway since everything you are compiling now implicitly depends on
Kokkos (which considers all files as CUDA files if you compile with the
CUDA backend).
The same applies to using clang++ that can deal with CUDA files
out-of-the-box on its own.

Best,
Daniel

On Thu, Jun 16, 2022 at 4:20 AM 'develo...@googlemail.com' via deal.II User
Group  wrote:

> I did not set any of those settings by hand, they were set automatically
> during the configuration/generation step, I suppose.
> Regards,
> Roland
>
> Wolfgang Bangerth schrieb am Donnerstag, 16. Juni 2022 um 10:14:10 UTC+2:
>
>> On 6/16/22 01:49, 'develo...@googlemail.com' via deal.II User Group
>> wrote:
>> > **
>> >
>> > Thanks for the idea! I tested it, and got the following output:
>> > //opt/petsc/bin/kokkos_launch_compiler /opt/petsc/bin/nvcc_wrapper
>> > /opt/intel/oneapi/mpi/2021.6.0/bin/mpicxx
>> > /opt/intel/oneapi/mpi/2021.6.0/bin/mpicxx -DBOOST_NO_AUTO_PTR  -fPIC
>> > -march=native -mavx2 -fPIC -Wall -Wextra -Wmissing-braces
>> -Woverloaded-virtual
>> > -Wpointer-arith -Wsign-compare -Wsuggest-override -Wswitch -Wsynth
>> > -Wwrite-strings -Wno-placement-new -Wno-deprecated-declarations
>> > -Wno-literal-suffix -Wno-psabi -Wno-class-memaccess -fopenmp-simd
>> > -DKOKKOS_DEPENDENCE -fPIC -march=native -mavx2 -Wno-parentheses
>> > -Wno-unused-local-typedefs
>> >
>> -expt-extended-lambda;-Wext-lambda-captures-this;-lineinfo;-arch=sm_60;-Xcompiler;-fopenmp
>>
>> > -MD -MT
>> >
>> cmake/scripts/CMakeFiles/expand_instantiations_exe.dir/expand_instantiations.cc.o
>>
>> > -MF
>> CMakeFiles/expand_instantiations_exe.dir/expand_instantiations.cc.o.d -o
>> > CMakeFiles/expand_instantiations_exe.dir/expand_instantiations.cc.o -c
>> >
>> /home/local/Downloads/git-files/dealii/cmake/scripts/expand_instantiations.cc
>>
>> > nvcc fatal   : No input files specified; use option --help for more
>> information
>> > /bin/sh: 1: -Wext-lambda-captures-this: not found
>> > /bin/sh: 1: -lineinfo: not found
>> > /bin/sh: 1: -arch=sm_60: not found
>> > /bin/sh: 1: -Xcompiler: not found
>> > /bin/sh: 1: -fopenmp: not found
>> > make[2]: ***
>> > [cmake/scripts/CMakeFiles/expand_instantiations_exe.dir/build.make:76:
>> >
>> cmake/scripts/CMakeFiles/expand_instantiations_exe.dir/expand_instantiations.cc.o]
>>
>> > Error 127/
>> > Are there other flags which might help?
>>
>> The underlying issue here is that you are trying to compile a tool that
>> is
>> supposed to be run during compile time on the host (namely, the
>> 'expand_instantiations' program) with the *target* compiler (namely,
>> nvcc).
>> The error messages indicate that that doesn't work, and indeed it
>> shouldn't
>> work because the executable is not meant to be executed on the GPU but on
>> the CPU.
>>
>> The bigger question is *why* that happens. I don't really know the answer
>> because I've never tried to compile for GPUs, so others might have to
>> help out
>> with that, but I wonder how it comes that you are trying to compile with
>> /opt/petsc/bin/kokkos_launch_compiler. Did you set the CXX environment
>> variable to that, or passed this as a flag to cmake?
>>
>> Best
>> W.
>>
>> --
>> 
>> Wolfgang Bangerth email: bang...@colostate.edu
>> www: http://www.math.colostate.edu/~bangerth/
>>
>> --
> 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
> https://groups.google.com/d/msgid/dealii/313e44cd-de0a-4c6a-9642-a6c912248c92n%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 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 
https://groups.google.com/d/msgid/dealii/CAOYDWbJYaXKtxSWa3%2BCkjJzXZBacigGphp4WrDxxEwTh4eiFBA%40mail.gmail.com.


Re: [deal.II] Compilation fails for deal.II when compiling with PETSc+Kokkos

2022-06-16 Thread 'develo...@googlemail.com' via deal.II User Group
I did not set any of those settings by hand, they were set automatically 
during the configuration/generation step, I suppose.
Regards,
Roland

Wolfgang Bangerth schrieb am Donnerstag, 16. Juni 2022 um 10:14:10 UTC+2:

> On 6/16/22 01:49, 'develo...@googlemail.com' via deal.II User Group wrote:
> > **
> > 
> > Thanks for the idea! I tested it, and got the following output:
> > //opt/petsc/bin/kokkos_launch_compiler /opt/petsc/bin/nvcc_wrapper 
> > /opt/intel/oneapi/mpi/2021.6.0/bin/mpicxx 
> > /opt/intel/oneapi/mpi/2021.6.0/bin/mpicxx -DBOOST_NO_AUTO_PTR  -fPIC 
> > -march=native -mavx2 -fPIC -Wall -Wextra -Wmissing-braces 
> -Woverloaded-virtual 
> > -Wpointer-arith -Wsign-compare -Wsuggest-override -Wswitch -Wsynth 
> > -Wwrite-strings -Wno-placement-new -Wno-deprecated-declarations 
> > -Wno-literal-suffix -Wno-psabi -Wno-class-memaccess -fopenmp-simd 
> > -DKOKKOS_DEPENDENCE -fPIC -march=native -mavx2 -Wno-parentheses 
> > -Wno-unused-local-typedefs 
> > 
> -expt-extended-lambda;-Wext-lambda-captures-this;-lineinfo;-arch=sm_60;-Xcompiler;-fopenmp
>  
>
> > -MD -MT 
> > 
> cmake/scripts/CMakeFiles/expand_instantiations_exe.dir/expand_instantiations.cc.o
>  
>
> > -MF 
> CMakeFiles/expand_instantiations_exe.dir/expand_instantiations.cc.o.d -o 
> > CMakeFiles/expand_instantiations_exe.dir/expand_instantiations.cc.o -c 
> > 
> /home/local/Downloads/git-files/dealii/cmake/scripts/expand_instantiations.cc
> > nvcc fatal   : No input files specified; use option --help for more 
> information
> > /bin/sh: 1: -Wext-lambda-captures-this: not found
> > /bin/sh: 1: -lineinfo: not found
> > /bin/sh: 1: -arch=sm_60: not found
> > /bin/sh: 1: -Xcompiler: not found
> > /bin/sh: 1: -fopenmp: not found
> > make[2]: *** 
> > [cmake/scripts/CMakeFiles/expand_instantiations_exe.dir/build.make:76: 
> > 
> cmake/scripts/CMakeFiles/expand_instantiations_exe.dir/expand_instantiations.cc.o]
>  
>
> > Error 127/
> > Are there other flags which might help?
>
> The underlying issue here is that you are trying to compile a tool that is 
> supposed to be run during compile time on the host (namely, the 
> 'expand_instantiations' program) with the *target* compiler (namely, 
> nvcc). 
> The error messages indicate that that doesn't work, and indeed it 
> shouldn't 
> work because the executable is not meant to be executed on the GPU but on 
> the CPU.
>
> The bigger question is *why* that happens. I don't really know the answer 
> because I've never tried to compile for GPUs, so others might have to help 
> out 
> with that, but I wonder how it comes that you are trying to compile with 
> /opt/petsc/bin/kokkos_launch_compiler. Did you set the CXX environment 
> variable to that, or passed this as a flag to cmake?
>
> Best
> W.
>
> -- 
> 
> Wolfgang Bangerth email: bang...@colostate.edu
> www: http://www.math.colostate.edu/~bangerth/
>
>

-- 
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 
https://groups.google.com/d/msgid/dealii/313e44cd-de0a-4c6a-9642-a6c912248c92n%40googlegroups.com.


Re: [deal.II] Compilation fails for deal.II when compiling with PETSc+Kokkos

2022-06-16 Thread Wolfgang Bangerth

On 6/16/22 01:49, 'develo...@googlemail.com' via deal.II User Group wrote:

**

Thanks for the idea! I tested it, and got the following output:
//opt/petsc/bin/kokkos_launch_compiler /opt/petsc/bin/nvcc_wrapper 
/opt/intel/oneapi/mpi/2021.6.0/bin/mpicxx 
/opt/intel/oneapi/mpi/2021.6.0/bin/mpicxx -DBOOST_NO_AUTO_PTR  -fPIC 
-march=native -mavx2 -fPIC -Wall -Wextra -Wmissing-braces -Woverloaded-virtual 
-Wpointer-arith -Wsign-compare -Wsuggest-override -Wswitch -Wsynth 
-Wwrite-strings -Wno-placement-new -Wno-deprecated-declarations 
-Wno-literal-suffix -Wno-psabi -Wno-class-memaccess -fopenmp-simd 
-DKOKKOS_DEPENDENCE -fPIC -march=native -mavx2 -Wno-parentheses 
-Wno-unused-local-typedefs 
-expt-extended-lambda;-Wext-lambda-captures-this;-lineinfo;-arch=sm_60;-Xcompiler;-fopenmp 
-MD -MT 
cmake/scripts/CMakeFiles/expand_instantiations_exe.dir/expand_instantiations.cc.o 
-MF CMakeFiles/expand_instantiations_exe.dir/expand_instantiations.cc.o.d -o 
CMakeFiles/expand_instantiations_exe.dir/expand_instantiations.cc.o -c 
/home/local/Downloads/git-files/dealii/cmake/scripts/expand_instantiations.cc

nvcc fatal   : No input files specified; use option --help for more information
/bin/sh: 1: -Wext-lambda-captures-this: not found
/bin/sh: 1: -lineinfo: not found
/bin/sh: 1: -arch=sm_60: not found
/bin/sh: 1: -Xcompiler: not found
/bin/sh: 1: -fopenmp: not found
make[2]: *** 
[cmake/scripts/CMakeFiles/expand_instantiations_exe.dir/build.make:76: 
cmake/scripts/CMakeFiles/expand_instantiations_exe.dir/expand_instantiations.cc.o] 
Error 127/

Are there other flags which might help?


The underlying issue here is that you are trying to compile a tool that is 
supposed to be run during compile time on the host (namely, the 
'expand_instantiations' program) with the *target* compiler (namely, nvcc). 
The error messages indicate that that doesn't work, and indeed it shouldn't 
work because the executable is not meant to be executed on the GPU but on the CPU.


The bigger question is *why* that happens. I don't really know the answer 
because I've never tried to compile for GPUs, so others might have to help out 
with that, but I wonder how it comes that you are trying to compile with 
/opt/petsc/bin/kokkos_launch_compiler. Did you set the CXX environment 
variable to that, or passed this as a flag to cmake?


Best
 W.

--

Wolfgang Bangerth  email: bange...@colostate.edu
   www: http://www.math.colostate.edu/~bangerth/

--
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 
https://groups.google.com/d/msgid/dealii/bbf85448-da0d-8d13-baeb-5e1ef986e59c%40colostate.edu.


Re: [deal.II] Compilation fails for deal.II when compiling with PETSc+Kokkos

2022-06-16 Thread 'develo...@googlemail.com' via deal.II User Group
Thanks for the idea! I tested it, and got the following output:







*/opt/petsc/bin/kokkos_launch_compiler /opt/petsc/bin/nvcc_wrapper 
/opt/intel/oneapi/mpi/2021.6.0/bin/mpicxx 
/opt/intel/oneapi/mpi/2021.6.0/bin/mpicxx -DBOOST_NO_AUTO_PTR  -fPIC 
-march=native -mavx2 -fPIC -Wall -Wextra -Wmissing-braces 
-Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wsuggest-override 
-Wswitch -Wsynth -Wwrite-strings -Wno-placement-new 
-Wno-deprecated-declarations -Wno-literal-suffix -Wno-psabi 
-Wno-class-memaccess -fopenmp-simd -DKOKKOS_DEPENDENCE -fPIC -march=native 
-mavx2 -Wno-parentheses -Wno-unused-local-typedefs 
-expt-extended-lambda;-Wext-lambda-captures-this;-lineinfo;-arch=sm_60;-Xcompiler;-fopenmp
 
-MD -MT 
cmake/scripts/CMakeFiles/expand_instantiations_exe.dir/expand_instantiations.cc.o
 
-MF CMakeFiles/expand_instantiations_exe.dir/expand_instantiations.cc.o.d 
-o CMakeFiles/expand_instantiations_exe.dir/expand_instantiations.cc.o -c 
/home/local/Downloads/git-files/dealii/cmake/scripts/expand_instantiations.ccnvcc
 
fatal   : No input files specified; use option --help for more 
information/bin/sh: 1: -Wext-lambda-captures-this: not found/bin/sh: 1: 
-lineinfo: not found/bin/sh: 1: -arch=sm_60: not found/bin/sh: 1: 
-Xcompiler: not found/bin/sh: 1: -fopenmp: not foundmake[2]: *** 
[cmake/scripts/CMakeFiles/expand_instantiations_exe.dir/build.make:76: 
cmake/scripts/CMakeFiles/expand_instantiations_exe.dir/expand_instantiations.cc.o]
 
Error 127*
Are there other flags which might help?
Thanks,
regards,
Roland

d.arnd...@gmail.com schrieb am Mittwoch, 15. Juni 2022 um 14:20:51 UTC+2:

> Somewhere the compiler flag -DKOKKOS_DEPENDENCE got lost, you might try if 
> adding it fixes your problem.
> Kokkos allows specifying an arbitrary CMake C++ compiler to be used as 
> host compiler for nvcc under the hood. As long as the compiler is not 
> clang++ (which can compile CUDA code on its own),
> everything that depends on Kokkos (all targets that use 
> -DKOKKOS_DEPENDENCE for compilation) is compiled by nvcc with the specified 
> CMake C++ as host compiler.
> If the target doesn't depend on Kokkos, the host compiler is invoked 
> directly but it of course doesn't know about CUDA compiler flags like 
> -arch=sm_60.
>
> Best,
> Daniel
>
> On Wed, Jun 15, 2022 at 3:03 AM 'develo...@googlemail.com' via deal.II 
> User Group  wrote:
>
>>
>> Hei,
>> I recently tried to re-install deal.II on a new server. For testing 
>> purposes I installed PETSc with Kokkos (as it supports the direct 
>> integration) and CUDA-support.
>> Unfortunately, compilation does now not work at all, with the error
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> */usr/bin/cmake -S/home/local/Downloads/git-files/dealii 
>> -B/home/local/Downloads/git-files/dealii/build --check-build-system 
>> CMakeFiles/Makefile.cmake 0/usr/bin/cmake -E cmake_progress_start 
>> /home/local/Downloads/git-files/dealii/build/CMakeFiles 
>> /home/local/Downloads/git-files/dealii/build//CMakeFiles/progress.marksmake 
>>  -f CMakeFiles/Makefile2 allmake[1]: Entering directory 
>> '/home/local/Downloads/git-files/dealii/build'make  -f 
>> cmake/scripts/CMakeFiles/expand_instantiations_exe.dir/build.make 
>> cmake/scripts/CMakeFiles/expand_instantiations_exe.dir/dependmake[2]: 
>> Entering directory '/home/local/Downloads/git-files/dealii/build'cd 
>> /home/local/Downloads/git-files/dealii/build && /usr/bin/cmake -E 
>> cmake_depends "Unix Makefiles" /home/local/Downloads/git-files/dealii 
>> /home/local/Downloads/git-files/dealii/cmake/scripts 
>> /home/local/Downloads/git-files/dealii/build 
>> /home/local/Downloads/git-files/dealii/build/cmake/scripts 
>> /home/local/Downloads/git-files/dealii/build/cmake/scripts/CMakeFiles/expand_instantiations_exe.dir/DependInfo.cmake
>>  
>> --color=make[2]: Leaving directory 
>> '/home/local/Downloads/git-files/dealii/build'make  -f 
>> cmake/scripts/CMakeFiles/expand_instantiations_exe.dir/build.make 
>> cmake/scripts/CMakeFiles/expand_instantiations_exe.dir/buildmake[2]: 
>> Entering directory '/home/local/Downloads/git-files/dealii/build'[  0%] 
>> Building CXX object 
>> cmake/scripts/CMakeFiles/expand_instantiations_exe.dir/expand_instantiations.cc.ocd
>>  
>> /home/local/Downloads/git-files/dealii/build/cmake/scripts && 
>> /opt/petsc/bin/kokkos_launch_compiler /opt/petsc/bin/nvcc_wrapper 
>> /opt/intel/oneapi/mpi/2021.6.0/bin/mpicxx 
>> /opt/intel/oneapi/mpi/2021.6.0/bin/mpicxx -DBOOST_NO_AUTO_PTR  -fPIC 
>> -march=native -mavx2 -fPIC -Wall -Wextra -Wmissing-braces 
>> -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wsuggest-override 
>> -Wswitch -Wsynth -Wwrite-strings -Wno-placement-new 
>> -Wno-deprecated-declarations -Wno-literal-suffix -Wno-psabi 
>> -Wno-class-memaccess -fopenmp-simd -Wno-parentheses 
>> -Wno-unused-local-typedefs 
>> -expt-extended-lambda;-Wext-lambda-captures-this;-lineinfo;-arch=sm_60;-Xcompiler;-fopenmp
>>  
>> -MD -MT 
>> cmake/scripts/CMakeFiles/e