psi_penv_mod.F90

Modified psb_close so that in serial mode NCTXT gets decremented, to
free an ICTXT slot.
psblas3-type-indexed
Salvatore Filippone 14 years ago
parent 8b577420c8
commit 90800f7b5b

@ -271,7 +271,11 @@ contains
! !$ call psb_error(ictxt) ! !$ call psb_error(ictxt)
! !$ endif ! !$ endif
! !$ endif ! !$ endif
#if !defined(SERIAL_MPI) #if defined(SERIAL_MPI)
! Under serial mode, CLOSE has no effect, but reclaim
! the used ICTXT number.
nctxt = max(0, nctxt - 1)
#else
if (close_) then if (close_) then
call psb_close_all_context(psb_mesg_queue) call psb_close_all_context(psb_mesg_queue)
else else

Loading…
Cancel
Save