mirror of
https://github.com/sfilippone/psblas3.git
synced 2026-10-23 22:31:47 +00:00
Improved error messaging for sample programs.
This commit is contained in:
@@ -67,7 +67,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: psb_d_fileread ctrl-file '
|
||||
call psb_abort(ctxt)
|
||||
stop
|
||||
end if
|
||||
! Read Input Parameters
|
||||
read(inp_unit,*) ip
|
||||
@@ -187,7 +189,9 @@ contains
|
||||
write(psb_err_unit,*) 'Opened file ',trim(filename),' for input'
|
||||
end if
|
||||
else
|
||||
inp_unit=inp_unit
|
||||
write(psb_err_unit,*) 'Usage: psb_s_fileread ctrl-file '
|
||||
call psb_abort(ctxt)
|
||||
stop
|
||||
end if
|
||||
! Read Input Parameters
|
||||
read(inp_unit,*) ip
|
||||
|
||||
Reference in New Issue
Block a user