Skip to content

Commit 3703527

Browse files
committed
2 parents c462a5d + 65406c4 commit 3703527

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ OOT}/Applications/BipartiteMatchings" \
186186
-DCMAKE_C_COMPILER=mpicc \
187187
-DCMAKE_CXX_COMPILER=mpicxx \
188188
-DCMAKE_CXX_FLAGS="-std=c++11" \
189-
-DTPL_ENABLE_BLASLIB=OFF \
189+
-DTPL_ENABLE_INTERNAL_BLASLIB=OFF \
190190
-DBUILD_SHARED_LIBS=OFF \
191191
-DCMAKE_INSTALL_PREFIX=.
192192

SRC/prec-independent/ilu_level_symbfact.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,16 @@ int_t ilu_level_symbfact
7676
int_t nnzL = 0, nnzU = 0;
7777

7878
/* Set up supernode partition */
79-
Glu_persist->supno = (int_t *) SUPERLU_MALLOC(n * sizeof(int_t));
80-
Glu_persist->xsup = (int_t *) SUPERLU_MALLOC((n+1) * sizeof(int_t));
8179
if ( options->UserDefineSupernode == NO ) {
80+
Glu_persist->supno = (int_t *) SUPERLU_MALLOC(n * sizeof(int_t));
81+
Glu_persist->xsup = (int_t *) SUPERLU_MALLOC((n+1) * sizeof(int_t));
8282
for (i = 0; i < n; i++) { /* set up trivial supernode for now. */
8383
Glu_persist->supno[i] = i;
8484
Glu_persist->xsup[i] = i;
8585
}
8686
Glu_persist->xsup[n] = n;
87+
} else {
88+
/* User alreay allocated and defined the above supernode partition */
8789
}
8890

8991
/* Count nonzeros per column for L & U */

SRC/prec-independent/trfAux.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2579,9 +2579,9 @@ void permCol_SymbolicFact3d(superlu_dist_options_t *options, int n, SuperMatrix
25792579

25802580
t = SuperLU_timer_();
25812581

2582-
if ( options->ILU_level != SLU_EMPTY ) {
2582+
if ( options->ILU_level != SLU_EMPTY ) { /* for any level-based ILU */
25832583
iinfo = ilu_level_symbfact(options, &GAC, perm_c, etree, Glu_persist, Glu_freeable);
2584-
} else {
2584+
} else { /* for complete LU */
25852585
iinfo = symbfact(options, iam, &GAC, perm_c, etree, Glu_persist, Glu_freeable);
25862586
}
25872587

0 commit comments

Comments
 (0)