Spack w Oneapi Compiler

42 views
Skip to first unread message

Elmira

unread,
Mar 9, 2025, 7:02:03 AM3/9/25
to deal.II User Group
Dear Dealiiers,

Unfortunately can't install Dealii 9.6.0 with Spack 1.0.0 dev0  using oneapi.2024.1.0 compiler. The only component that fails is llvm. Seemingly, libxml2 header files can't be found. My OS is SLES 15.6 having glibc 2.38

The spack command used:
 spack install dea...@9.6.0 +mpi +petsc +trilinos +p4est +gmsh +kokkos ~taskflow %one...@2024.1.0

The error I get:
1 error found in build log:
     563    -- Performing Test HAVE_POSIX_REGEX
     564    -- Performing Test HAVE_POSIX_REGEX -- success
     565    -- Performing Test HAVE_STEADY_CLOCK
     566    -- Performing Test HAVE_STEADY_CLOCK
     567    -- Performing Test HAVE_STEADY_CLOCK -- success
     568    -- Configuring done (155.5s)
  >> 569    CMake Error in /dss/lxclscratch/0C/di35koy/di35koy/spack-stage/spack-stage-llvm-17.0.6-zhtngf3kkylqmmt7mfq3whgynkcw6xik/spack-src/lldb/source/Host/CMakeLists.txt:
     570      Imported target "LibXml2::LibXml2" includes non-existent path
     571    
     572        "/include"
     573    
     574      in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:
     575   

 
The installation of software via gcc 13.2 was successful, even though installing all components from source made the building extremely slow. I try the installation on the login node and $HOME directory HPC cluster. 

Please let me know if I should provide further info.  

Thanks in advance,
Elmira

Luca Heltai

unread,
Mar 9, 2025, 7:28:43 AM3/9/25
to dea...@googlegroups.com, deal.II User Group
Dear Elmira,

This is an issue with LLVM, not with deal.II. We have no control on that. Maybe you should ask their mailing list for support? Or, alternatively, try figuring out who is including LLVM, and disable that dependency (if you don’t need it). 

Luca

Il giorno 9 mar 2025, alle ore 12:02, Elmira <elmira...@gmail.com> ha scritto:


--
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+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/dealii/c6597144-71af-46f7-81c4-8cb043c1cb60n%40googlegroups.com.

Elmira

unread,
Mar 12, 2025, 3:32:40 AM3/12/25
to deal.II User Group
Dear Luca,

Thanks for the reply, LLVM issue is solved using oneapi.2025.0.4 compiler, however there are some other errors while installation of dealii via spack. I debug one by one, those related to deal.ii I will report with possible solutions. I  provide Deal.II for Leibniz Computing Centre as a module.

Best regards,
Elmira
Reply all
Reply to author
Forward
0 new messages