Thanks again!

The using a newer version of Boost helped me get further and realize I made 
another bone headed mistake of compiling kokkos as a static library.

I am all compiled and passed all tests now.

Thanks for your help and let me know if I have to do anything for this to 
be marked as solved.

Best,
Sean

On Tuesday, February 6, 2024 at 8:30:19 AM UTC-7 bruno.t...@gmail.com wrote:

> Sean,
>
> I am not sure what's the issue. It's probably not the issue but make sure 
> that mpi is using nvcc_wrapper as the underlying compiler. If you use 
> OpenMPI, you can use export `OMPI_CXX=nvcc_wrapper`. You could also try to 
> use a newer version of Boost. The bundled version is pretty old. Since you 
> are using Ubuntu 22.04, you can just use your package manager to install a 
> newer version of boost.
>
> Best,
>
> Bruno
>
> Le mar. 6 févr. 2024 à 09:37, Sean Johnson <sljoh...@gmail.com> a écrit :
>
>> Thanks,
>>
>> I tried lowering it down to 2 and it looks like two of them were caught a 
>> lot earlier. Now I don't make it past 6%. I erased everything from before 
>> and recompiled the cmake files and ran with just 2 jobs and again it stuck 
>> in the same spot.
>>
>> Here are the last few lines and logs.
>>
>> [  6%] Building CXX object 
>> bundled/boost-1.70.0/libs/iostreams/src/CMakeFiles/bundled_boost_iostreams_debug.dir/gzip.cpp.o
>> /home/sean/dealii-9.5.2/bundled/boost-1.70.0/libs/iostreams/src/../../../include/boost/mpl/assert.hpp:193:42:
>>  
>> warning: unnecessary parentheses in declaration of ‘assert_arg’ 
>> [-Wparentheses]
>>   193 | template< typename Pred >
>>       |                                          ^                       
>>                                                               
>> /home/sean/dealii-9.5.2/bundled/boost-1.70.0/libs/iostreams/src/../../../include/boost/mpl/assert.hpp:193:42:
>>  
>> note: remove parentheses
>>   193 | template< typename Pred >
>>       |                                          ^                       
>>                                                               
>>       |                                          -                       
>>                                                              -
>> /home/sean/dealii-9.5.2/bundled/boost-1.70.0/libs/iostreams/src/../../../include/boost/mpl/assert.hpp:198:42:
>>  
>> warning: unnecessary parentheses in declaration of ‘assert_not_arg’ 
>> [-Wparentheses]
>>   198 | template< typename Pred >
>>       |                                          ^                       
>>                                                                             
>>               
>> /home/sean/dealii-9.5.2/bundled/boost-1.70.0/libs/iostreams/src/../../../include/boost/mpl/assert.hpp:198:42:
>>  
>> note: remove parentheses
>>   198 | template< typename Pred >
>>       |                                          ^                       
>>                                                                             
>>               
>>       |                                          -                       
>>                                                                             
>>              -
>> [  6%] Building CXX object 
>> bundled/boost-1.70.0/libs/iostreams/src/CMakeFiles/bundled_boost_iostreams_debug.dir/mapped_file.cpp.o
>>
>> Thanks again for your patience and help,
>> Sean
>>
>> On Monday, February 5, 2024 at 7:07:01 PM UTC-7 bruno.t...@gmail.com 
>> wrote:
>>
>>> Sean,
>>>
>>> It's possible that you don't have enough RAM and that you are swapping 
>>> memory which is extremely slow. Try to reinstall using fewer processors.
>>>
>>> Best,
>>>
>>> Bruno
>>>
>>> Le lun. 5 févr. 2024 à 19:01, Sean Johnson <sljoh...@gmail.com> a 
>>> écrit :
>>>
>>>> Thanks Bruno,
>>>>
>>>> This was definitely it.
>>>>
>>>> So I have now gotten to running make --jobs=4 install but it has frozen 
>>>> at 82%
>>>> I have been sitting on it for about 6 to 7 hours with no change at all. 
>>>> The last line is:
>>>> [ 82%] Built target object_non_matching_debug
>>>>
>>>>  and attached are the summary.log and detailed.log
>>>>
>>>> I will keep it running still just incase but from previous 
>>>> installations of dealii this has never happened.
>>>>
>>>> Thanks,
>>>> Sean
>>>>
>>>> On Monday, February 5, 2024 at 8:32:28 AM UTC-7 bruno.t...@gmail.com 
>>>> wrote:
>>>>
>>>>> Sean,
>>>>>
>>>>> It looks like you are using the wrong compiler. If you want to use 
>>>>> CUDA, you should use nvcc_wrapper as your C++ compiler. You want 
>>>>> something 
>>>>> like `-DCMAKE_CXX_COMPILER=/path/nvcc_wrapper`. You should already have 
>>>>> used `nvcc_wrapper` to compiler Kokkos.
>>>>>
>>>>> Best,
>>>>>
>>>>> Bruno
>>>>>
>>>>> On Monday, February 5, 2024 at 2:40:37 AM UTC-5 sljoh...@gmail.com 
>>>>> wrote:
>>>>>
>>>>>> Hey,
>>>>>>
>>>>>> I am trying to get deal.ii to compile with p4est and cuda. Due to 
>>>>>> cuda it also needs MPI and Kokkos from me. I can't even make the make 
>>>>>> file 
>>>>>> yet. I tried to find any similar problems in the mailing list and was 
>>>>>> unable to.
>>>>>>
>>>>>> I am running Ubuntu 22.04
>>>>>>
>>>>>> The Error at the end reads:
>>>>>> [ 50%] Building CXX object 
>>>>>> CMakeFiles/CheckCompilerSetupExec.dir/dummy.cpp.o
>>>>>>  /usr/bin/c++   -fopenmp-simd -O0 -ggdb -Wa,--compress-debug-sections 
>>>>>> -extended-lambda
>>>>>>  -Wext-lambda-captures-this -arch=sm_89 -DKOKKOS_DEPENDENCE 
>>>>>> -Wno-non-template-friend -o
>>>>>>  CMakeFiles/CheckCompilerSetupExec.dir/dummy.cpp.o -c
>>>>>>  /home/sean/dealii-9.5.2/cmake/macros/check_compiler_setup/dummy.cpp
>>>>>>  c++: error: unrecognized command-line option 
>>>>>> -Wext-lambda-captures-this
>>>>>>  c++: error: unrecognized command-line option -arch=sm_89
>>>>>>  gmake[2]: *** [CMakeFiles/CheckCompilerSetupExec.dir/build.make:78:
>>>>>>  CMakeFiles/CheckCompilerSetupExec.dir/dummy.cpp.o] Error 1
>>>>>>  gmake[2]: Leaving directory
>>>>>>
>>>>>>  
>>>>>> '/home/sean/dealii-9.5.2/build/check_compiler_setup/DEAL_II_HAVE_USABLE_FLAGS_DEBUG'
>>>>>>  gmake[1]: *** [CMakeFiles/Makefile2:86: 
>>>>>> CMakeFiles/CheckCompilerSetupExec.dir/all] Error 2
>>>>>>  gmake[1]: Leaving directory
>>>>>>
>>>>>>  
>>>>>> '/home/sean/dealii-9.5.2/build/check_compiler_setup/DEAL_II_HAVE_USABLE_FLAGS_DEBUG'
>>>>>>  gmake: *** [Makefile:94: all] Error 2
>>>>>>
>>>>>>
>>>>>>  CMake Error at cmake/setup_finalize.cmake:126 (message):
>>>>>>
>>>>>>
>>>>>>      Configuration error: Cannot compile a test program with the 
>>>>>> final set of
>>>>>>      compiler and linker flags:
>>>>>>        CXX flags (DEBUG): -fopenmp-simd -O0 -ggdb 
>>>>>> -Wa,--compress-debug-sections
>>>>>>        LD flags  (DEBUG): -rdynamic  -fopenmp -ggdb 
>>>>>> -Wl,--compress-debug-sections=zlib
>>>>>>        LIBRARIES (DEBUG): rt;
>>>>>>
>>>>>> Attached are the output and error logs.
>>>>>>
>>>>>> Thanks for any help,
>>>>>> Sean
>>>>>>
>>>>>> -- 
>>>> 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/l1tWck3YnHs/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/6ad27807-9f07-4a98-9a8b-c1fea625d13an%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/dealii/6ad27807-9f07-4a98-9a8b-c1fea625d13an%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/l1tWck3YnHs/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/539d86cb-8437-4b70-bd28-23c279e3dd5cn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/dealii/539d86cb-8437-4b70-bd28-23c279e3dd5cn%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/56c23c4c-c70a-462e-bb1a-85dd497a689bn%40googlegroups.com.

Reply via email to