Justin,

a docker file that we are using in a different project can be found at
https://github.com/arborx/ArborX/blob/master/docker/Dockerfile in case that
helps.
In general, I would advise against using nvhpc/nvc++ which proves to be
pretty buggy as compared to nvcc/nvcc_wrapper or even (clang++ which is
another option for a compiler supporting CUDA).
Anyway, it seems the current configuration is using nvcc_wrapper. What does
the failing compile-line look like? What is the host compiler (I guess g++
but which version)?

Best,
Daniel

On Thu, Jul 27, 2023 at 10:39 AM Justin O'Connor <jul...@rams.colostate.edu>
wrote:

> Howdy!
>
> I'm working on making a Dockerfile that will let me use deal.ii with CUDA.
> However, when I run make install, I get the following error:
>
> Error: Internal Compiler Error (codegen): "casting aggregate to non-void
> type is not supported!"
>
> make[2]: *** [source/fe/CMakeFiles/object_fe_debug.dir/build.make:713:
> source/fe/CMakeFiles/object_fe_debug.dir/fe_values.cc.o] Error 2
> make[2]: *** Waiting for unfinished jobs....
>
> I'm hoping this is a known issue and I'm just doing something silly. Any
> pointers would be greatly appreciated.
>
> My Dockerfile is attached if that is of any use to anyone.
>
> Thank you,
> Justin
>
> --
> 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/34846fa5-7a9e-4417-80c9-af54792844a9n%40googlegroups.com
> <https://groups.google.com/d/msgid/dealii/34846fa5-7a9e-4417-80c9-af54792844a9n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAOYDWb%2BAcEzUbpnYtnK1VvQsdYdVwJK7YreO34YTD-PPzW2eeg%40mail.gmail.com.

Reply via email to