mirror of
https://github.com/sfilippone/amg4psblas.git
synced 2026-10-20 12:52:16 +00:00
Improved error messaging for sample programs. Fix PDE2D
This commit is contained in:
@@ -659,7 +659,9 @@ contains
|
||||
write(psb_err_unit,*) 'Opened file ',trim(filename),' for input'
|
||||
end if
|
||||
else
|
||||
inp_unit=psb_inp_unit
|
||||
write(psb_err_unit,*) 'Usage: amg_cf_sample ctrl-file '
|
||||
call psb_abort(ctxt)
|
||||
stop
|
||||
end if
|
||||
!
|
||||
! input files
|
||||
|
||||
@@ -659,7 +659,9 @@ contains
|
||||
write(psb_err_unit,*) 'Opened file ',trim(filename),' for input'
|
||||
end if
|
||||
else
|
||||
inp_unit=psb_inp_unit
|
||||
write(psb_err_unit,*) 'Usage: amg_df_sample ctrl-file '
|
||||
call psb_abort(ctxt)
|
||||
stop
|
||||
end if
|
||||
!
|
||||
! input files
|
||||
|
||||
@@ -659,7 +659,9 @@ contains
|
||||
write(psb_err_unit,*) 'Opened file ',trim(filename),' for input'
|
||||
end if
|
||||
else
|
||||
inp_unit=psb_inp_unit
|
||||
write(psb_err_unit,*) 'Usage: amg_sf_sample ctrl-file '
|
||||
call psb_abort(ctxt)
|
||||
stop
|
||||
end if
|
||||
!
|
||||
! input files
|
||||
|
||||
@@ -659,7 +659,9 @@ contains
|
||||
write(psb_err_unit,*) 'Opened file ',trim(filename),' for input'
|
||||
end if
|
||||
else
|
||||
inp_unit=psb_inp_unit
|
||||
write(psb_err_unit,*) 'Usage: amg_zf_sample ctrl-file '
|
||||
call psb_abort(ctxt)
|
||||
stop
|
||||
end if
|
||||
!
|
||||
! input files
|
||||
|
||||
Reference in New Issue
Block a user