Fixed declaration and use of CONTEXT with new type.

This commit is contained in:
Salvatore Filippone
2020-11-14 16:42:15 +01:00
parent 2009ed8dbe
commit b376d226cb
468 changed files with 3616 additions and 2324 deletions
+2 -1
View File
@@ -1,7 +1,8 @@
program hello
use psb_base_mod
implicit none
integer(psb_ipk_) :: iam, np, icontxt, ip, jp, idummy
type(psb_ctxt_type) :: icontxt
integer(psb_ipk_) :: iam, np, ip, jp, idummy
call psb_init(icontxt)
call psb_info(icontxt,iam,np)
+2 -1
View File
@@ -1,7 +1,8 @@
program pingpong
use psb_base_mod
implicit none
integer(psb_ipk_) :: iam, np, icontxt, ip, jp, idummy
type(psb_ctxt_type) :: icontxt
integer(psb_ipk_) :: iam, np, ip, jp, idummy
integer(psb_ipk_), parameter :: nmax=2**16
integer(psb_ipk_) :: i,j,k,n
real(psb_dpk_) :: v(nmax)