pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

math/suitesparse broken on Alma (RHEL) 8




The patch below averts the error, and I think it's safe, but not 100%
sure.  Please chime in if you know it is not.

# Silence compiler error on Alma8: Sym is predetermined 'shared'

--- ParU/Source/paru_init_rowFronts.cpp.orig    2024-12-18
14:04:59.003674095 +0
000
+++ ParU/Source/paru_init_rowFronts.cpp
@@ -439,7 +439,7 @@ ParU_Info paru_init_rowFronts
     // copying Diag_map
     if (Diag_map)
     {
-        #pragma omp taskloop default(none) shared(Sym, Diag_map,
inv_Diag_map)
\
+        #pragma omp taskloop default(none) shared(Diag_map, inv_Diag_map) \
         grainsize(512)
         for (int64_t i = 0; i < Sym->n; i++)
         {

--
Life is a game.  Play hard.  Play fair.  Have fun.



Home | Main Index | Thread Index | Old Index