|
|
|
@ -37,8 +37,8 @@ module psb_error_mod
|
|
|
|
|
& psb_get_erraction, psb_set_erraction
|
|
|
|
|
|
|
|
|
|
interface psb_error
|
|
|
|
|
module procedure psb_serror
|
|
|
|
|
module procedure psb_perror
|
|
|
|
|
module procedure psb_serror
|
|
|
|
|
module procedure psb_perror
|
|
|
|
|
end interface
|
|
|
|
|
|
|
|
|
|
!!$ integer, parameter :: act_ret=0, act_abort=1, no_err=0
|
|
|
|
@ -47,21 +47,21 @@ module psb_error_mod
|
|
|
|
|
|
|
|
|
|
type psb_errstack_node
|
|
|
|
|
|
|
|
|
|
integer :: err_code=0 ! the error code
|
|
|
|
|
character(len=20) :: routine='' ! the name of the routine generating the error
|
|
|
|
|
integer,dimension(5) :: i_err_data=0 ! array of integer data to complete the error msg
|
|
|
|
|
! real(kind(1.d0))(dim=10) :: r_err_data=0.d0 ! array of real data to complete the error msg
|
|
|
|
|
! complex(dim=10) :: c_err_data=0.c0 ! array of complex data to complete the error msg
|
|
|
|
|
character(len=20) :: a_err_data='' ! array of character data to complete the error msg
|
|
|
|
|
type(psb_errstack_node), pointer :: next ! pointer to the next element in the stack
|
|
|
|
|
integer :: err_code=0 ! the error code
|
|
|
|
|
character(len=20) :: routine='' ! the name of the routine generating the error
|
|
|
|
|
integer,dimension(5) :: i_err_data=0 ! array of integer data to complete the error msg
|
|
|
|
|
! real(kind(1.d0))(dim=10) :: r_err_data=0.d0 ! array of real data to complete the error msg
|
|
|
|
|
! complex(dim=10) :: c_err_data=0.c0 ! array of complex data to complete the error msg
|
|
|
|
|
character(len=20) :: a_err_data='' ! array of character data to complete the error msg
|
|
|
|
|
type(psb_errstack_node), pointer :: next ! pointer to the next element in the stack
|
|
|
|
|
|
|
|
|
|
end type psb_errstack_node
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
type psb_errstack
|
|
|
|
|
|
|
|
|
|
type(psb_errstack_node), pointer :: top => null() ! pointer to the top element of the stack
|
|
|
|
|
integer :: n_elems=0 ! number of entries in the stack
|
|
|
|
|
type(psb_errstack_node), pointer :: top => null() ! pointer to the top element of the stack
|
|
|
|
|
integer :: n_elems=0 ! number of entries in the stack
|
|
|
|
|
|
|
|
|
|
end type psb_errstack
|
|
|
|
|
|
|
|
|
@ -198,34 +198,34 @@ contains
|
|
|
|
|
integer :: err_c
|
|
|
|
|
character(len=20) :: r_name, a_e_d
|
|
|
|
|
integer :: i_e_d(5)
|
|
|
|
|
integer :: nprow, npcol, me, mypcol, temp(2)
|
|
|
|
|
integer :: nprow, npcol, me, mypcol
|
|
|
|
|
integer, parameter :: ione=1, izero=0
|
|
|
|
|
|
|
|
|
|
call blacs_gridinfo(ictxt, nprow, npcol, me, mypcol)
|
|
|
|
|
|
|
|
|
|
if(error_status.gt.0) then
|
|
|
|
|
if(verbosity_level.gt.1) then
|
|
|
|
|
|
|
|
|
|
do while (error_stack%n_elems.gt.izero)
|
|
|
|
|
write(0,'(50("="))')
|
|
|
|
|
call psb_errpop(err_c, r_name, i_e_d, a_e_d)
|
|
|
|
|
call psb_errmsg(err_c, r_name, i_e_d, a_e_d,me)
|
|
|
|
|
! write(0,'(50("="))')
|
|
|
|
|
end do
|
|
|
|
|
call blacs_abort(ictxt,-1)
|
|
|
|
|
else
|
|
|
|
|
if(verbosity_level.gt.1) then
|
|
|
|
|
|
|
|
|
|
do while (error_stack%n_elems.gt.izero)
|
|
|
|
|
write(0,'(50("="))')
|
|
|
|
|
call psb_errpop(err_c, r_name, i_e_d, a_e_d)
|
|
|
|
|
call psb_errmsg(err_c, r_name, i_e_d, a_e_d,me)
|
|
|
|
|
do while (error_stack%n_elems.gt.0)
|
|
|
|
|
call psb_errpop(err_c, r_name, i_e_d, a_e_d)
|
|
|
|
|
end do
|
|
|
|
|
call blacs_abort(ictxt,-1)
|
|
|
|
|
end if
|
|
|
|
|
! write(0,'(50("="))')
|
|
|
|
|
end do
|
|
|
|
|
call blacs_abort(ictxt,-1)
|
|
|
|
|
else
|
|
|
|
|
|
|
|
|
|
call psb_errpop(err_c, r_name, i_e_d, a_e_d)
|
|
|
|
|
call psb_errmsg(err_c, r_name, i_e_d, a_e_d,me)
|
|
|
|
|
do while (error_stack%n_elems.gt.0)
|
|
|
|
|
call psb_errpop(err_c, r_name, i_e_d, a_e_d)
|
|
|
|
|
end do
|
|
|
|
|
call blacs_abort(ictxt,-1)
|
|
|
|
|
end if
|
|
|
|
|
end if
|
|
|
|
|
|
|
|
|
|
if(error_status.gt.izero) then
|
|
|
|
|
call blacs_abort(ictxt,err_c)
|
|
|
|
|
call blacs_abort(ictxt,err_c)
|
|
|
|
|
end if
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -238,27 +238,26 @@ contains
|
|
|
|
|
integer :: err_c
|
|
|
|
|
character(len=20) :: r_name, a_e_d
|
|
|
|
|
integer :: i_e_d(5)
|
|
|
|
|
integer :: nprow, npcol, me, mypcol, temp(2)
|
|
|
|
|
integer, parameter :: ione=1, izero=0
|
|
|
|
|
|
|
|
|
|
if(error_status.gt.0) then
|
|
|
|
|
if(verbosity_level.gt.1) then
|
|
|
|
|
if(verbosity_level.gt.1) then
|
|
|
|
|
|
|
|
|
|
do while (error_stack%n_elems.gt.izero)
|
|
|
|
|
write(0,'(50("="))')
|
|
|
|
|
call psb_errpop(err_c, r_name, i_e_d, a_e_d)
|
|
|
|
|
call psb_errmsg(err_c, r_name, i_e_d, a_e_d)
|
|
|
|
|
! write(0,'(50("="))')
|
|
|
|
|
end do
|
|
|
|
|
do while (error_stack%n_elems.gt.izero)
|
|
|
|
|
write(0,'(50("="))')
|
|
|
|
|
call psb_errpop(err_c, r_name, i_e_d, a_e_d)
|
|
|
|
|
call psb_errmsg(err_c, r_name, i_e_d, a_e_d)
|
|
|
|
|
! write(0,'(50("="))')
|
|
|
|
|
end do
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
else
|
|
|
|
|
|
|
|
|
|
call psb_errpop(err_c, r_name, i_e_d, a_e_d)
|
|
|
|
|
call psb_errmsg(err_c, r_name, i_e_d, a_e_d)
|
|
|
|
|
do while (error_stack%n_elems.gt.0)
|
|
|
|
|
call psb_errpop(err_c, r_name, i_e_d, a_e_d)
|
|
|
|
|
call psb_errmsg(err_c, r_name, i_e_d, a_e_d)
|
|
|
|
|
do while (error_stack%n_elems.gt.0)
|
|
|
|
|
call psb_errpop(err_c, r_name, i_e_d, a_e_d)
|
|
|
|
|
end do
|
|
|
|
|
end if
|
|
|
|
|
end do
|
|
|
|
|
end if
|
|
|
|
|
end if
|
|
|
|
|
|
|
|
|
|
end subroutine psb_serror
|
|
|
|
@ -273,188 +272,188 @@ contains
|
|
|
|
|
integer, optional :: me
|
|
|
|
|
|
|
|
|
|
if(present(me)) then
|
|
|
|
|
write(0,'("Process: ",i0,". PSBLAS Error (",i0,") in subroutine: ",a20)')me,err_c,r_name
|
|
|
|
|
write(0,'("Process: ",i0,". PSBLAS Error (",i0,") in subroutine: ",a20)')me,err_c,r_name
|
|
|
|
|
else
|
|
|
|
|
write(0,'("PSBLAS Error (",i0,") in subroutine: ",a20)')err_c,r_name
|
|
|
|
|
write(0,'("PSBLAS Error (",i0,") in subroutine: ",a20)')err_c,r_name
|
|
|
|
|
end if
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
select case (err_c)
|
|
|
|
|
case(:0)
|
|
|
|
|
write (0,'("error on calling sperror. err_c must be greater than 0")')
|
|
|
|
|
write (0,'("error on calling sperror. err_c must be greater than 0")')
|
|
|
|
|
case(2)
|
|
|
|
|
write (0,'("pivot too small: ",i0,1x,a)')i_e_d(1),a_e_d
|
|
|
|
|
write (0,'("pivot too small: ",i0,1x,a)')i_e_d(1),a_e_d
|
|
|
|
|
case(3)
|
|
|
|
|
write (0,'("Invalid number of ovr:",i0)')i_e_d(1)
|
|
|
|
|
write (0,'("Invalid number of ovr:",i0)')i_e_d(1)
|
|
|
|
|
case(5)
|
|
|
|
|
write (0,'("Invalid input")')
|
|
|
|
|
write (0,'("Invalid input")')
|
|
|
|
|
|
|
|
|
|
case(10)
|
|
|
|
|
write (0,'("input argument n. ",i0," cannot be less than 0")')i_e_d(1)
|
|
|
|
|
write (0,'("current value is ",i0)')i_e_d(2)
|
|
|
|
|
write (0,'("input argument n. ",i0," cannot be less than 0")')i_e_d(1)
|
|
|
|
|
write (0,'("current value is ",i0)')i_e_d(2)
|
|
|
|
|
|
|
|
|
|
case(20)
|
|
|
|
|
write (0,'("input argument n. ",i0," cannot be greater than 0")')i_e_d(1)
|
|
|
|
|
write (0,'("current value is ",i0)')i_e_d(2)
|
|
|
|
|
write (0,'("input argument n. ",i0," cannot be greater than 0")')i_e_d(1)
|
|
|
|
|
write (0,'("current value is ",i0)')i_e_d(2)
|
|
|
|
|
case(30)
|
|
|
|
|
write (0,'("input argument n. ",i0," has an invalid value")')i_e_d(1)
|
|
|
|
|
write (0,'("current value is ",i0)')i_e_d(2)
|
|
|
|
|
write (0,'("input argument n. ",i0," has an invalid value")')i_e_d(1)
|
|
|
|
|
write (0,'("current value is ",i0)')i_e_d(2)
|
|
|
|
|
case(35)
|
|
|
|
|
write (0,'("Size of input array argument n. ",i0," is invalid.")')i_e_d(1)
|
|
|
|
|
write (0,'("Current value is ",i0)')i_e_d(2)
|
|
|
|
|
write (0,'("Size of input array argument n. ",i0," is invalid.")')i_e_d(1)
|
|
|
|
|
write (0,'("Current value is ",i0)')i_e_d(2)
|
|
|
|
|
case(40)
|
|
|
|
|
write (0,'("input argument n. ",i0," has an invalid value")')i_e_d(1)
|
|
|
|
|
write (0,'("current value is ",a)')a_e_d(2:2)
|
|
|
|
|
write (0,'("input argument n. ",i0," has an invalid value")')i_e_d(1)
|
|
|
|
|
write (0,'("current value is ",a)')a_e_d(2:2)
|
|
|
|
|
case(50)
|
|
|
|
|
write (0,'("input argument n. ",i0," must be equal or greater than input argument n. ",i0)') i_e_d(1), i_e_d(3)
|
|
|
|
|
write (0,'("current values are ",i0," < ",i0)') i_e_d(2),i_e_d(5)
|
|
|
|
|
write (0,'("input argument n. ",i0," must be equal or greater than input argument n. ",i0)') i_e_d(1), i_e_d(3)
|
|
|
|
|
write (0,'("current values are ",i0," < ",i0)') i_e_d(2),i_e_d(5)
|
|
|
|
|
case(60)
|
|
|
|
|
write (0,'("input argument n. ",i0," must be greater than or equal to ",i0)')i_e_d(1),i_e_d(2)
|
|
|
|
|
write (0,'("current value is ",i0," < ",i0)')i_e_d(3), i_e_d(2)
|
|
|
|
|
write (0,'("input argument n. ",i0," must be greater than or equal to ",i0)')i_e_d(1),i_e_d(2)
|
|
|
|
|
write (0,'("current value is ",i0," < ",i0)')i_e_d(3), i_e_d(2)
|
|
|
|
|
case(70)
|
|
|
|
|
write (0,'("input argument n. ",i0," in entry # ",i0," has an invalid value")')i_e_d(1:2)
|
|
|
|
|
write (0,'("current value is ",a)')a_e_d
|
|
|
|
|
write (0,'("input argument n. ",i0," in entry # ",i0," has an invalid value")')i_e_d(1:2)
|
|
|
|
|
write (0,'("current value is ",a)')a_e_d
|
|
|
|
|
case(71)
|
|
|
|
|
write (0,'("Impossible error in ASB: nrow>ncol,")')
|
|
|
|
|
write (0,'("Actual values are ",i0," > ",i0)')i_e_d(1:2)
|
|
|
|
|
! ... csr format error ...
|
|
|
|
|
write (0,'("Impossible error in ASB: nrow>ncol,")')
|
|
|
|
|
write (0,'("Actual values are ",i0," > ",i0)')i_e_d(1:2)
|
|
|
|
|
! ... csr format error ...
|
|
|
|
|
case(80)
|
|
|
|
|
write (0,'("input argument ia2(1) is less than 0")')
|
|
|
|
|
write (0,'("current value is ",i0)')i_e_d(1)
|
|
|
|
|
! ... csr format error ...
|
|
|
|
|
write (0,'("input argument ia2(1) is less than 0")')
|
|
|
|
|
write (0,'("current value is ",i0)')i_e_d(1)
|
|
|
|
|
! ... csr format error ...
|
|
|
|
|
case(90)
|
|
|
|
|
write (0,'("indices in ia2 array are not in increasing order")')
|
|
|
|
|
write (0,'("indices in ia2 array are not in increasing order")')
|
|
|
|
|
case(91)
|
|
|
|
|
write (0,'("indices in ia1 array are not in increasing order")')
|
|
|
|
|
! ... csr format error ...
|
|
|
|
|
write (0,'("indices in ia1 array are not in increasing order")')
|
|
|
|
|
! ... csr format error ...
|
|
|
|
|
case(100)
|
|
|
|
|
write (0,'("indices in ia1 array are not within problem dimension")')
|
|
|
|
|
write (0,'("problem dimension is ",i0)')i_e_d(1)
|
|
|
|
|
write (0,'("indices in ia1 array are not within problem dimension")')
|
|
|
|
|
write (0,'("problem dimension is ",i0)')i_e_d(1)
|
|
|
|
|
case(110)
|
|
|
|
|
write (0,'("invalid combination of input arguments")')
|
|
|
|
|
write (0,'("invalid combination of input arguments")')
|
|
|
|
|
case(115)
|
|
|
|
|
write (0,'("Invalid process identifier in input array argument n. ",i0,".")')i_e_d(1)
|
|
|
|
|
write (0,'("Current value is ",i0)')i_e_d(2)
|
|
|
|
|
write (0,'("Invalid process identifier in input array argument n. ",i0,".")')i_e_d(1)
|
|
|
|
|
write (0,'("Current value is ",i0)')i_e_d(2)
|
|
|
|
|
case(120)
|
|
|
|
|
write (0,'("input argument n. ",i0," must be greater than input argument n. ",i0)')i_e_d(1:2)
|
|
|
|
|
write (0,'("current values are ",i0," < ",i0)') i_e_d(3:4)
|
|
|
|
|
! ... coo format error ...
|
|
|
|
|
write (0,'("input argument n. ",i0," must be greater than input argument n. ",i0)')i_e_d(1:2)
|
|
|
|
|
write (0,'("current values are ",i0," < ",i0)') i_e_d(3:4)
|
|
|
|
|
! ... coo format error ...
|
|
|
|
|
case(130)
|
|
|
|
|
write (0,'("there are duplicated elements in coo format")')
|
|
|
|
|
write (0,'("please set repflag flag to 2 or 3")')
|
|
|
|
|
write (0,'("there are duplicated elements in coo format")')
|
|
|
|
|
write (0,'("please set repflag flag to 2 or 3")')
|
|
|
|
|
case(134)
|
|
|
|
|
write (0,'("Invalid input format ",a3)')a_e_d(1:3)
|
|
|
|
|
write (0,'("Invalid input format ",a3)')a_e_d(1:3)
|
|
|
|
|
case(135)
|
|
|
|
|
write (0,'("Format ",a3," not yet supported here")')a_e_d(1:3)
|
|
|
|
|
write (0,'("Format ",a3," not yet supported here")')a_e_d(1:3)
|
|
|
|
|
case(136)
|
|
|
|
|
write (0,'("Format ",a3," is unknown")')a_e_d(1:3)
|
|
|
|
|
write (0,'("Format ",a3," is unknown")')a_e_d(1:3)
|
|
|
|
|
case(140)
|
|
|
|
|
write (0,'("indices in input array are not within problem dimension ",2(i0,2x))')i_e_d(1:2)
|
|
|
|
|
write (0,'("indices in input array are not within problem dimension ",2(i0,2x))')i_e_d(1:2)
|
|
|
|
|
case(150)
|
|
|
|
|
write (0,'("indices in input array are not belonging to the calling process ",i0)')i_e_d(1)
|
|
|
|
|
write (0,'("indices in input array are not belonging to the calling process ",i0)')i_e_d(1)
|
|
|
|
|
case(290)
|
|
|
|
|
write (0,'("Is not possible to call this routine without calling before psdalloc on the same matrix")')
|
|
|
|
|
write (0,'("Is not possible to call this routine without calling before psdalloc on the same matrix")')
|
|
|
|
|
case(295)
|
|
|
|
|
write (0,'("Is not possible to call this routine without calling before psdspalloc on the same matrix")')
|
|
|
|
|
write (0,'("Is not possible to call this routine without calling before psdspalloc on the same matrix")')
|
|
|
|
|
case(300)
|
|
|
|
|
write (0,'("Input argument n. ",i0," must be equal to entry n. ",i0," in array input argument n.",i0)') &
|
|
|
|
|
& i_e_d(1),i_e_d(4),i_e_d(3)
|
|
|
|
|
write (0,'("Current values are ",i0," != ",i0)')i_e_d(2), i_e_d(5)
|
|
|
|
|
write (0,'("Input argument n. ",i0," must be equal to entry n. ",i0," in array input argument n.",i0)') &
|
|
|
|
|
& i_e_d(1),i_e_d(4),i_e_d(3)
|
|
|
|
|
write (0,'("Current values are ",i0," != ",i0)')i_e_d(2), i_e_d(5)
|
|
|
|
|
case(400)
|
|
|
|
|
write (0,'("MPI error:",i0)')i_e_d(1)
|
|
|
|
|
write (0,'("MPI error:",i0)')i_e_d(1)
|
|
|
|
|
case(550)
|
|
|
|
|
write (0,'("Parameter n. ",i0," must be equal on all BLACS processes. ",i0)')i_e_d(1)
|
|
|
|
|
write (0,'("Parameter n. ",i0," must be equal on all BLACS processes. ",i0)')i_e_d(1)
|
|
|
|
|
case(570)
|
|
|
|
|
write (0,'("partition function passed as input argument n. ",i0," returns number of processes")')i_e_d(1)
|
|
|
|
|
write (0,'("greater than No of grid s processes on global point ",i0,". Actual number of grid s ")')i_e_d(4)
|
|
|
|
|
write (0,'("processes is ",i0,", number returned is ",i0)')i_e_d(2),i_e_d(3)
|
|
|
|
|
write (0,'("partition function passed as input argument n. ",i0," returns number of processes")')i_e_d(1)
|
|
|
|
|
write (0,'("greater than No of grid s processes on global point ",i0,". Actual number of grid s ")')i_e_d(4)
|
|
|
|
|
write (0,'("processes is ",i0,", number returned is ",i0)')i_e_d(2),i_e_d(3)
|
|
|
|
|
case(575)
|
|
|
|
|
write (0,'("partition function passed as input argument n. ",i0," returns number of processes")')i_e_d(1)
|
|
|
|
|
write (0,'("less or equal to 0 on global point ",i0,". Number returned is ",i0)')i_e_d(3),i_e_d(2)
|
|
|
|
|
write (0,'("partition function passed as input argument n. ",i0," returns number of processes")')i_e_d(1)
|
|
|
|
|
write (0,'("less or equal to 0 on global point ",i0,". Number returned is ",i0)')i_e_d(3),i_e_d(2)
|
|
|
|
|
case(580)
|
|
|
|
|
write (0,'("partition function passed as input argument n. ",i0," returns wrong processes identifier")')i_e_d(1)
|
|
|
|
|
write (0,'("on global point ",i0,". Current value returned is : ",i0)')i_e_d(3),i_e_d(2)
|
|
|
|
|
write (0,'("partition function passed as input argument n. ",i0," returns wrong processes identifier")')i_e_d(1)
|
|
|
|
|
write (0,'("on global point ",i0,". Current value returned is : ",i0)')i_e_d(3),i_e_d(2)
|
|
|
|
|
case(600)
|
|
|
|
|
write (0,'("Sparse Matrix and decsriptors are in an invalid state for this subroutine call: ",i0)')i_e_d(1)
|
|
|
|
|
write (0,'("Sparse Matrix and decsriptors are in an invalid state for this subroutine call: ",i0)')i_e_d(1)
|
|
|
|
|
case (1122)
|
|
|
|
|
write (0,'("Invalid state for DESC_A")')
|
|
|
|
|
write (0,'("Invalid state for DESC_A")')
|
|
|
|
|
case (1123)
|
|
|
|
|
write (0,'("Invalid combined state for A and DESC_A")')
|
|
|
|
|
write (0,'("Invalid combined state for A and DESC_A")')
|
|
|
|
|
case(1124:1999)
|
|
|
|
|
write (0,'("computational error. code: ",i0)')err_c
|
|
|
|
|
write (0,'("computational error. code: ",i0)')err_c
|
|
|
|
|
case(2010)
|
|
|
|
|
write (0,'("BLACS error. Number of processes=-1")')
|
|
|
|
|
write (0,'("BLACS error. Number of processes=-1")')
|
|
|
|
|
case(2011)
|
|
|
|
|
write (0,'("Initialization error: not enough processes available in the parallel environment")')
|
|
|
|
|
write (0,'("Initialization error: not enough processes available in the parallel environment")')
|
|
|
|
|
case(2025)
|
|
|
|
|
write (0,'("Cannot allocate ",i0," bytes")')i_e_d(1)
|
|
|
|
|
write (0,'("Cannot allocate ",i0," bytes")')i_e_d(1)
|
|
|
|
|
case(2030)
|
|
|
|
|
write (0,'("BLACS ERROR: Number of grid columns must be equal to 1\nCurrent value is ",i4," != 1.")')i_e_d(1)
|
|
|
|
|
write (0,'("BLACS ERROR: Number of grid columns must be equal to 1\nCurrent value is ",i4," != 1.")')i_e_d(1)
|
|
|
|
|
case(2231)
|
|
|
|
|
write (0,'("Invalid input state for matrix.")')
|
|
|
|
|
write (0,'("Invalid input state for matrix.")')
|
|
|
|
|
case(2232)
|
|
|
|
|
write (0,'("Input state for matrix is not adequate for regeneration.")')
|
|
|
|
|
write (0,'("Input state for matrix is not adequate for regeneration.")')
|
|
|
|
|
case (2233:2999)
|
|
|
|
|
write(0,'("resource error. code: ",i0)')err_c
|
|
|
|
|
write(0,'("resource error. code: ",i0)')err_c
|
|
|
|
|
case(3000:3009)
|
|
|
|
|
write (0,'("sparse matrix representation ",a3," not yet implemented")')a_e_d(1:3)
|
|
|
|
|
write (0,'("sparse matrix representation ",a3," not yet implemented")')a_e_d(1:3)
|
|
|
|
|
case(3010)
|
|
|
|
|
write (0,'("Case lld not equal matrix_data[N_COL_] is not yet implemented.")')
|
|
|
|
|
write (0,'("Case lld not equal matrix_data[N_COL_] is not yet implemented.")')
|
|
|
|
|
case(3015)
|
|
|
|
|
write (0,'("transpose option for sparse matrix representation ",a3," not implemented")')a_e_d(1:3)
|
|
|
|
|
write (0,'("transpose option for sparse matrix representation ",a3," not implemented")')a_e_d(1:3)
|
|
|
|
|
case(3020)
|
|
|
|
|
write (0,'("Case trans = C is not yet implemented.")')
|
|
|
|
|
write (0,'("Case trans = C is not yet implemented.")')
|
|
|
|
|
case(3021)
|
|
|
|
|
write (0,'("Case trans /= N is not yet implemented.")')
|
|
|
|
|
write (0,'("Case trans /= N is not yet implemented.")')
|
|
|
|
|
case(3022)
|
|
|
|
|
write (0,'("Only unit diagonal so far for triangular matrices. ")')
|
|
|
|
|
write (0,'("Only unit diagonal so far for triangular matrices. ")')
|
|
|
|
|
case(3023)
|
|
|
|
|
write (0,'("Cases DESCRA(1:1)=S DESCRA(1:1)=T not yet implemented. ")')
|
|
|
|
|
write (0,'("Cases DESCRA(1:1)=S DESCRA(1:1)=T not yet implemented. ")')
|
|
|
|
|
case(3024)
|
|
|
|
|
write (0,'("Cases DESCRA(1:1)=G not yet implemented. ")')
|
|
|
|
|
write (0,'("Cases DESCRA(1:1)=G not yet implemented. ")')
|
|
|
|
|
case(3030)
|
|
|
|
|
write (0,'("Case ja/=ix or ia/=iy is not yet implemented.")')
|
|
|
|
|
write (0,'("Case ja/=ix or ia/=iy is not yet implemented.")')
|
|
|
|
|
case(3040)
|
|
|
|
|
write (0,'("Case ix /= 1 or iy /= 1 is not yet implemented.")')
|
|
|
|
|
write (0,'("Case ix /= 1 or iy /= 1 is not yet implemented.")')
|
|
|
|
|
case(3050)
|
|
|
|
|
write (0,'("Case ix /= iy is not yet implemented.")')
|
|
|
|
|
write (0,'("Case ix /= iy is not yet implemented.")')
|
|
|
|
|
case(3060)
|
|
|
|
|
write (0,'("Case ix /= 1 is not yet implemented.")')
|
|
|
|
|
write (0,'("Case ix /= 1 is not yet implemented.")')
|
|
|
|
|
case(3070)
|
|
|
|
|
write (0,'("This operation is only implemented with no overlap.")')
|
|
|
|
|
write (0,'("This operation is only implemented with no overlap.")')
|
|
|
|
|
case(3080)
|
|
|
|
|
write (0,'("Decompostion type ",i0," not yet supported.")')i_e_d(1)
|
|
|
|
|
write (0,'("Decompostion type ",i0," not yet supported.")')i_e_d(1)
|
|
|
|
|
case(3090)
|
|
|
|
|
write (0,'("Insert matrix mode not yet implemented.")')
|
|
|
|
|
write (0,'("Insert matrix mode not yet implemented.")')
|
|
|
|
|
case(3100)
|
|
|
|
|
write (0,'("Error on index. Element has not been inserted")')
|
|
|
|
|
write (0,'("local index is: ",i0," and global index is:",i0)')i_e_d(1:2)
|
|
|
|
|
write (0,'("Error on index. Element has not been inserted")')
|
|
|
|
|
write (0,'("local index is: ",i0," and global index is:",i0)')i_e_d(1:2)
|
|
|
|
|
case(3110)
|
|
|
|
|
write (0,'("Before you call this routine, you must assembly sparse matrix")')
|
|
|
|
|
write (0,'("Before you call this routine, you must assembly sparse matrix")')
|
|
|
|
|
case(3111:3999)
|
|
|
|
|
write(0,'("miscellaneus error. code: ",i0)')err_c
|
|
|
|
|
write(0,'("miscellaneus error. code: ",i0)')err_c
|
|
|
|
|
case(4000)
|
|
|
|
|
write(0,'("Allocation/deallocation error")')
|
|
|
|
|
write(0,'("Allocation/deallocation error")')
|
|
|
|
|
case(4010)
|
|
|
|
|
write (0,'("Error from call to subroutine ",a)')a_e_d
|
|
|
|
|
write (0,'("Error from call to subroutine ",a)')a_e_d
|
|
|
|
|
case(4011)
|
|
|
|
|
write (0,'("Error from call to a subroutine ")')
|
|
|
|
|
write (0,'("Error from call to a subroutine ")')
|
|
|
|
|
case(4012)
|
|
|
|
|
write (0,'("Error ",i0," from call to a subroutine ")')i_e_d(1)
|
|
|
|
|
write (0,'("Error ",i0," from call to a subroutine ")')i_e_d(1)
|
|
|
|
|
case(4013)
|
|
|
|
|
write (0,'("Error from call to subroutine ",a," ",i0)')a_e_d,i_e_d(1)
|
|
|
|
|
write (0,'("Error from call to subroutine ",a," ",i0)')a_e_d,i_e_d(1)
|
|
|
|
|
case(4110)
|
|
|
|
|
write (0,'("Error ",i0," from call to an external package in subroutine ",a)')i_e_d(1),a_e_d
|
|
|
|
|
write (0,'("Error ",i0," from call to an external package in subroutine ",a)')i_e_d(1),a_e_d
|
|
|
|
|
case (5001)
|
|
|
|
|
write (0,'("Invalid ISTOP: ",i0)')i_e_d(1)
|
|
|
|
|
write (0,'("Invalid ISTOP: ",i0)')i_e_d(1)
|
|
|
|
|
case (5002)
|
|
|
|
|
write (0,'("Invalid PREC: ",i0)')i_e_d(1)
|
|
|
|
|
write (0,'("Invalid PREC: ",i0)')i_e_d(1)
|
|
|
|
|
case (5003)
|
|
|
|
|
write (0,'("Invalid PREC: ",a3)')a_e_d(1:3)
|
|
|
|
|
write (0,'("Invalid PREC: ",a3)')a_e_d(1:3)
|
|
|
|
|
case default
|
|
|
|
|
write(0,'("unknown error (",i0,") in subroutine ",a)')err_c,r_name
|
|
|
|
|
write(0,'(5(i0,2x))') i_e_d
|
|
|
|
|
write(0,'(a)') a_e_d
|
|
|
|
|
write(0,'("unknown error (",i0,") in subroutine ",a)')err_c,r_name
|
|
|
|
|
write(0,'(5(i0,2x))') i_e_d
|
|
|
|
|
write(0,'(a)') a_e_d
|
|
|
|
|
|
|
|
|
|
end select
|
|
|
|
|
|
|
|
|
|