Typographical changes for old/new style comparison operators.

psblas3-type-indexed
Salvatore Filippone 17 years ago
parent 042be22898
commit 369a40850f

@ -142,7 +142,7 @@ program df_sample
end if end if
! switch over different partition types ! switch over different partition types
if (ipart.eq.0) then if (ipart == 0) then
call psb_barrier(ictxt) call psb_barrier(ictxt)
if (iam==psb_root_) write(*,'("Partition type: block")') if (iam==psb_root_) write(*,'("Partition type: block")')
allocate(ivg(m_problem),ipv(np)) allocate(ivg(m_problem),ipv(np))
@ -152,7 +152,7 @@ program df_sample
enddo enddo
call psb_matdist(aux_a, a, ivg, ictxt, & call psb_matdist(aux_a, a, ivg, ictxt, &
& desc_a,b_col_glob,b_col,info,fmt=afmt) & desc_a,b_col_glob,b_col,info,fmt=afmt)
else if (ipart.eq.2) then else if (ipart == 2) then
if (iam==psb_root_) then if (iam==psb_root_) then
write(*,'("Partition type: graph")') write(*,'("Partition type: graph")')
write(*,'(" ")') write(*,'(" ")')

@ -142,7 +142,7 @@ program zf_sample
end if end if
! switch over different partition types ! switch over different partition types
if (ipart.eq.0) then if (ipart == 0) then
call psb_barrier(ictxt) call psb_barrier(ictxt)
if (iam==psb_root_) write(*,'("Partition type: block")') if (iam==psb_root_) write(*,'("Partition type: block")')
allocate(ivg(m_problem),ipv(np)) allocate(ivg(m_problem),ipv(np))
@ -152,7 +152,7 @@ program zf_sample
enddo enddo
call psb_matdist(aux_a, a, ivg, ictxt, & call psb_matdist(aux_a, a, ivg, ictxt, &
& desc_a,b_col_glob,b_col,info,fmt=afmt) & desc_a,b_col_glob,b_col,info,fmt=afmt)
else if (ipart.eq.2) then else if (ipart == 2) then
if (iam==psb_root_) then if (iam==psb_root_) then
write(*,'("Partition type: graph")') write(*,'("Partition type: graph")')
write(*,'(" ")') write(*,'(" ")')

@ -234,7 +234,7 @@ contains
if (iam==0) then if (iam==0) then
read(*,*) ip read(*,*) ip
if (ip.ge.3) then if (ip >= 3) then
read(*,*) kmethd read(*,*) kmethd
read(*,*) ptype read(*,*) ptype
read(*,*) afmt read(*,*) afmt
@ -246,22 +246,22 @@ contains
read(*,*) idim read(*,*) idim
if (ip.ge.4) then if (ip >= 4) then
read(*,*) istopc read(*,*) istopc
else else
istopc=1 istopc=1
endif endif
if (ip.ge.5) then if (ip >= 5) then
read(*,*) itmax read(*,*) itmax
else else
itmax=500 itmax=500
endif endif
if (ip.ge.6) then if (ip >= 6) then
read(*,*) itrace read(*,*) itrace
else else
itrace=-1 itrace=-1
endif endif
if (ip.ge.7) then if (ip >= 7) then
read(*,*) irst read(*,*) irst
else else
irst=1 irst=1

Loading…
Cancel
Save