Skip to content

Commit

Permalink
minor correction for compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
liuyangzhuan committed Jan 9, 2025
1 parent 3a1556a commit 48d0c75
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 1 deletion.
2 changes: 2 additions & 0 deletions SRC/complex16/pzdistribute.c
Original file line number Diff line number Diff line change
Expand Up @@ -2328,7 +2328,9 @@ if ( !iam) printf(".. Construct Reduce tree for U: %.2f\t\n", t);
ScalePermstruct, supernodeMask, grid);
SUPERLU_FREE(supernodeMask);
if (get_acc_solve()){
#ifdef HAVE_NVSHMEM
nv_init_wrapper(grid->comm);
#endif
}


Expand Down
2 changes: 2 additions & 0 deletions SRC/complex16/pzdistribute3d.c
Original file line number Diff line number Diff line change
Expand Up @@ -1135,7 +1135,9 @@ pzdistribute3d(superlu_dist_options_t *options, int_t n, SuperMatrix *A,
SUPERLU_FREE(supernodeMask);
}
if (get_acc_solve()){
#ifdef HAVE_NVSHMEM
nv_init_wrapper(grid->comm);
#endif
}


Expand Down
2 changes: 2 additions & 0 deletions SRC/complex16/pzsymbfact_distdata.c
Original file line number Diff line number Diff line change
Expand Up @@ -3321,7 +3321,9 @@ doublecomplex *dense, *dense_col; /* SPA */
ScalePermstruct, supernodeMask, grid);
SUPERLU_FREE(supernodeMask);
if (get_acc_solve()){
#ifdef HAVE_NVSHMEM
nv_init_wrapper(grid->comm);
#endif
}


Expand Down
2 changes: 2 additions & 0 deletions SRC/double/pddistribute.c
Original file line number Diff line number Diff line change
Expand Up @@ -2330,7 +2330,9 @@ if ( !iam) printf(".. Construct Reduce tree for U: %.2f\t\n", t);
ScalePermstruct, supernodeMask, grid);
SUPERLU_FREE(supernodeMask);
if (get_acc_solve()){
#ifdef HAVE_NVSHMEM
nv_init_wrapper(grid->comm);
#endif
}


Expand Down
2 changes: 2 additions & 0 deletions SRC/double/pddistribute3d.c
Original file line number Diff line number Diff line change
Expand Up @@ -2468,7 +2468,9 @@ pddistribute3d(superlu_dist_options_t *options, int_t n, SuperMatrix *A,
SUPERLU_FREE(supernodeMask);
}
if (get_acc_solve()){
#ifdef HAVE_NVSHMEM
nv_init_wrapper(grid->comm);
#endif
}


Expand Down
2 changes: 2 additions & 0 deletions SRC/double/pdsymbfact_distdata.c
Original file line number Diff line number Diff line change
Expand Up @@ -3319,7 +3319,9 @@ double *dense, *dense_col; /* SPA */
ScalePermstruct, supernodeMask, grid);
SUPERLU_FREE(supernodeMask);
if (get_acc_solve()){
#ifdef HAVE_NVSHMEM
nv_init_wrapper(grid->comm);
#endif
}


Expand Down
2 changes: 2 additions & 0 deletions SRC/single/psdistribute.c
Original file line number Diff line number Diff line change
Expand Up @@ -2329,7 +2329,9 @@ if ( !iam) printf(".. Construct Reduce tree for U: %.2f\t\n", t);
ScalePermstruct, supernodeMask, grid);
SUPERLU_FREE(supernodeMask);
if (get_acc_solve()){
#ifdef HAVE_NVSHMEM
nv_init_wrapper(grid->comm);
#endif
}


Expand Down
2 changes: 2 additions & 0 deletions SRC/single/psdistribute3d.c
Original file line number Diff line number Diff line change
Expand Up @@ -1136,7 +1136,9 @@ psdistribute3d(superlu_dist_options_t *options, int_t n, SuperMatrix *A,
SUPERLU_FREE(supernodeMask);
}
if (get_acc_solve()){
#ifdef HAVE_NVSHMEM
nv_init_wrapper(grid->comm);
#endif
}


Expand Down
4 changes: 3 additions & 1 deletion SRC/single/pssymbfact_distdata.c
Original file line number Diff line number Diff line change
Expand Up @@ -3322,7 +3322,9 @@ float *dense, *dense_col; /* SPA */
ScalePermstruct, supernodeMask, grid);
SUPERLU_FREE(supernodeMask);
if (get_acc_solve()){
nv_init_wrapper(grid->comm);
#ifdef HAVE_NVSHMEM
nv_init_wrapper(grid->comm);
#endif
}


Expand Down

0 comments on commit 48d0c75

Please sign in to comment.