Fixes for handling IBM SP build process.
parent
0b428f4c7d
commit
db4312151f
@ -0,0 +1,7 @@
|
|||||||
|
integer function krecvid(contxt,proc_to_comm,myrow)
|
||||||
|
integer contxt,proc_to_comm,myrow
|
||||||
|
|
||||||
|
krecvid=32766
|
||||||
|
|
||||||
|
return
|
||||||
|
end
|
||||||
@ -0,0 +1,7 @@
|
|||||||
|
integer function ksendid(contxt,proc_to_comm,myrow)
|
||||||
|
integer contxt,proc_to_comm,myrow
|
||||||
|
|
||||||
|
ksendid=32766
|
||||||
|
|
||||||
|
return
|
||||||
|
end
|
||||||
@ -0,0 +1,11 @@
|
|||||||
|
subroutine psb_set_coher(icontxt,isvch)
|
||||||
|
integer :: icontxt, isvch
|
||||||
|
! Ensure global coherence for convergence checks.
|
||||||
|
Call blacs_get(icontxt,16,isvch)
|
||||||
|
Call blacs_set(icontxt,16,1)
|
||||||
|
end subroutine psb_set_coher
|
||||||
|
subroutine psb_restore_coher(icontxt,isvch)
|
||||||
|
integer :: icontxt, isvch
|
||||||
|
! Ensure global coherence for convergence checks.
|
||||||
|
Call blacs_set(icontxt,16,isvch)
|
||||||
|
end subroutine psb_restore_coher
|
||||||
@ -0,0 +1,13 @@
|
|||||||
|
subroutine psb_set_coher(icontxt,isvch)
|
||||||
|
integer :: icontxt, isvch
|
||||||
|
! Ensure global coherence for convergence checks.
|
||||||
|
! Do nothing: ESSL does coherence by default,
|
||||||
|
! and does not handle req=16
|
||||||
|
!!$ Call blacs_get(icontxt,16,isvch)
|
||||||
|
!!$ Call blacs_set(icontxt,16,1)
|
||||||
|
end subroutine psb_set_coher
|
||||||
|
subroutine psb_restore_coher(icontxt,isvch)
|
||||||
|
integer :: icontxt, isvch
|
||||||
|
! Ensure global coherence for convergence checks.
|
||||||
|
!!$ Call blacs_set(icontxt,16,isvch)
|
||||||
|
end subroutine psb_restore_coher
|
||||||
Loading…
Reference in New Issue