Re: [deal.II] Re: Can't configure with cmake

2024-02-07 Thread 'Daniel Jodlbauer' via deal.II User Group
Ran into the same problem. The bundled folder is not installed, since no bundled libraries are used, but the cmake targets still reference them. As a workaround, you can just create the bundled folder. I haven't had the time to dig through the cmake files to fix it, but for the moment opened an

Re: [deal.II] Re: Can't configure with cmake

2024-02-07 Thread Bruno Turcksin
Sean, If the configuration steps errors out, there is no point in trying to compile the code. You probably want to remove the deal.II files that have been installed and reinstall the library. Best, Bruno Le mar. 6 févr. 2024 à 18:26, Sean Johnson a écrit : > Bruno, > > I apparently spoke to

Re: [deal.II] Re: Can't configure with cmake

2024-02-07 Thread Daniel Arndt
Sean, that problem doesn't sound specific to compiling with Kokkos+Cuda. Can you make sure to start from a clean work directory and again select `nvcc_wrapper` as compiler? Best, Daniel On Tue, Feb 6, 2024 at 6:26 PM Sean Johnson wrote: > Bruno, > > I apparently spoke to soon. It passed "make

Re: [deal.II] Re: Can't configure with cmake

2024-02-06 Thread Sean Johnson
Bruno, I apparently spoke to soon. It passed "make test" with 0 failed test. However, when I run "cmake ." in the directory of step-1 I get this output: -- Using the deal.II-9.5.2 installation found at /usr/local -- Include macro /usr/local/share/deal.II/macros/macro_deal_ii_add_test.cmake --

Re: [deal.II] Re: Can't configure with cmake

2024-02-06 Thread Bruno Turcksin
Sean, That's great to hear. We don't mark problems as solved. So there is nothing to do. Best, Bruno Le mar. 6 févr. 2024 à 16:41, Sean Johnson a écrit : > Thanks again! > > The using a newer version of Boost helped me get further and realize I > made another bone headed mistake of compiling

Re: [deal.II] Re: Can't configure with cmake

2024-02-06 Thread Sean Johnson
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

Re: [deal.II] Re: Can't configure with cmake

2024-02-06 Thread Bruno Turcksin
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

Re: [deal.II] Re: Can't configure with cmake

2024-02-06 Thread Sean Johnson
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. [

Re: [deal.II] Re: Can't configure with cmake

2024-02-05 Thread Bruno Turcksin
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 a écrit : > Thanks Bruno, > > This was definitely it. > > So I have now gotten to

[deal.II] Re: Can't configure with cmake

2024-02-05 Thread Sean Johnson
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

[deal.II] Re: Can't configure with cmake

2024-02-05 Thread Bruno Turcksin
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