Fixed error handling on ALLOCATE.

psblas3-type-indexed
Salvatore Filippone 18 years ago
parent 88f0e7ef53
commit 801d3498a0

@ -465,7 +465,7 @@ contains
case(4013) 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(4025) case(4025)
write (0,'("Error on allocation request for ",i0," items of type ")')i_e_d(1),a_e_d write (0,'("Error on allocation request for ",i0," items of type ",a)')i_e_d(1),a_e_d
case(4110) 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) case (5001)

@ -658,6 +658,7 @@ Contains
return return
9999 continue 9999 continue
info = err
call psb_erractionrestore(err_act) call psb_erractionrestore(err_act)
if (err_act.eq.psb_act_ret_) then if (err_act.eq.psb_act_ret_) then
@ -733,6 +734,7 @@ Contains
return return
9999 continue 9999 continue
info = err
call psb_erractionrestore(err_act) call psb_erractionrestore(err_act)
if (err_act.eq.psb_act_ret_) then if (err_act.eq.psb_act_ret_) then
@ -806,6 +808,7 @@ Contains
return return
9999 continue 9999 continue
info = err
call psb_erractionrestore(err_act) call psb_erractionrestore(err_act)
if (err_act.eq.psb_act_ret_) then if (err_act.eq.psb_act_ret_) then
@ -898,6 +901,7 @@ Contains
return return
9999 continue 9999 continue
info = err
call psb_erractionrestore(err_act) call psb_erractionrestore(err_act)
if (err_act.eq.psb_act_ret_) then if (err_act.eq.psb_act_ret_) then
@ -991,6 +995,7 @@ Contains
return return
9999 continue 9999 continue
info = err
call psb_erractionrestore(err_act) call psb_erractionrestore(err_act)
if (err_act.eq.psb_act_ret_) then if (err_act.eq.psb_act_ret_) then
@ -1081,6 +1086,7 @@ Contains
return return
9999 continue 9999 continue
info = err
call psb_erractionrestore(err_act) call psb_erractionrestore(err_act)
if (err_act.eq.psb_act_ret_) then if (err_act.eq.psb_act_ret_) then

Loading…
Cancel
Save