Skip to content

Commit

Permalink
Fix a bug issued by #5598
Browse files Browse the repository at this point in the history
- The standalone MPAS-O build was broken due to a missing 'USE_LAPACK' directive in the SI solver code.
  • Loading branch information
hyungyukang committed Apr 14, 2023
1 parent 5918d07 commit 47f0bca
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4324,15 +4324,14 @@ subroutine si_precond(SIvec_in,SIvec_out)
#endif
!#######################################################################
#else
#elif defined(USE_LAPACK)
! LAPACK on CPU
! (also if no MAGMA & CUBLAS for GPU ; Data staging)
!$acc update host(SIvec_in)
call DSPMV('U', nPrecVec, 1.0_RKIND, prec_ivmat(:,1), &
SIvec_in(1:nPrecVec) , 1, 0.0_RKIND, &
SIvec_out(1:nPrecVec), 1)
#endif
elseif ( trim(config_btr_si_preconditioner) == 'jacobi' ) then
Expand Down

0 comments on commit 47f0bca

Please sign in to comment.