I see. The only reason I installed Kokkos separately was I wanted to use
Kokkos GPU and LAMDA support for other parts of my code. But I could not
find how to do that for kokkos that come with Trilinos. Specifically, I
want to set these kokkos cmake configs
-DKokkos_ENABLE_CUDA=ON, -DKokkos_ARCH_PASCAL61=ON,  -DKokkos_ENABLE_OPENMP=ON
, -DCMAKE_CXX_COMPILER=/kokkos/bin/nvcc_wrapper,
-DKokkos_ENABLE_CUDA_LAMBDA=ON,  -DKokkos_ENABLE_CUDA_CONSTEXPR=ON,
-DKokkos_ENABLE_AGGRESSIVE_VECTORIZATION=ON.
For some reason, automatic detection of ARCH does not work on my machine so
I have to set  Kokkos_ARCH_PASCAL61 explicitly. And I could not find a way
to do that for the kokkos that comes with Trilinous. I would appreciate any
help on this matter. Thank you.

On Wed, Oct 16, 2024 at 10:18 AM Bruno Turcksin <[email protected]>
wrote:

> The issue is that you have two versions of Kokkos installed. You can only
> have a single version of Kokkos. Remove the version of Kokkos you installed
> yourself and reinstall ArborX . Set the Kokkos directory to the Trilinos
> directory when configuring ArborX.
>
> Bruno
>
> Le mer. 16 oct. 2024 à 10:04, Kaushik Das <[email protected]> a écrit :
>
>> Thanks for the clarification. I installed Kokkos separately, and I also
>> have Trilinos support. Can this issue be related to Kokkos's version? It
>> seems the latest Arborx needs Kokkos 4.3.00, but I have 4.3.01. It's not a
>> major version mismatch, though.
>>
>> On Wed, Oct 16, 2024 at 9:58 AM Bruno Turcksin <[email protected]>
>> wrote:
>>
>>> Kaushik,
>>>
>>> The message you see is the auto-detect trying to find ADOLC. It's OK if
>>> the auto-detect does not find ADOLC. The real issue is with Kokkos. When
>>> you installed ArborX, did you use the Kokkos library from Trilinos or did
>>> you install Kokkos yourself too?
>>>
>>> Best,
>>>
>>> Bruno
>>>
>>> On Tuesday, October 15, 2024 at 10:45:34 AM UTC-4 [email protected]
>>> wrote:
>>>
>>>> Hi,
>>>> If I turn on Arborx then cmake is also looking for ADOLC.
>>>> Is Arborx support dependent on ADOLC?
>>>> I have attached a log from a docker build. Arborx was built first then
>>>> I used -DDEAL_II_WITH_ARBORX=ON  and -DARBORX_DIR="/usr/local/Arborx" but
>>>> cmake thorws an error  "ADOLC_INCLUDE_DIR not found!"
>>>>
>>>> Thanks,
>>>> Kaushik
>>>>
>>> --
>>> 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/e518ui3VC3Y/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/dealii/c0996099-3f1d-4205-9523-3ed062cf9a70n%40googlegroups.com
>>> <https://groups.google.com/d/msgid/dealii/c0996099-3f1d-4205-9523-3ed062cf9a70n%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 a topic in the
>> Google Groups "deal.II User Group" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/dealii/e518ui3VC3Y/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/dealii/CAC-fs6uWux1GraZRd1ywjnpeSfDDbpZpgen0jOccDRZuDvxDGA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/dealii/CAC-fs6uWux1GraZRd1ywjnpeSfDDbpZpgen0jOccDRZuDvxDGA%40mail.gmail.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 a topic in the
> Google Groups "deal.II User Group" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/dealii/e518ui3VC3Y/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dealii/CAGVt9ePJePPVcwzt%3DCc2qv_Sfexf6nVTpqcd9b66zAJcHZMMMg%40mail.gmail.com
> <https://groups.google.com/d/msgid/dealii/CAGVt9ePJePPVcwzt%3DCc2qv_Sfexf6nVTpqcd9b66zAJcHZMMMg%40mail.gmail.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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/CAC-fs6sGh%2B0NZW2hoHYQvLuh3%3Dv0q8ApxHPrCcRY6qnO-HkTyQ%40mail.gmail.com.

Reply via email to