*** empty log message ***

psblas-3.1-maint
Salvatore Filippone 12 years ago
parent 86888b58ef
commit d5468f699f

@ -280,7 +280,7 @@ contains
numflag = 1 numflag = 1
wgflag = 0 wgflag = 0
write(*,*) 'Before allocation',nparts !!$ write(*,*) 'Before allocation',nparts
irpl=irp irpl=irp
jal = ja jal = ja
@ -289,23 +289,23 @@ contains
wgh_ = -1.0 wgh_ = -1.0
if(present(weights)) then if(present(weights)) then
if (size(weights) == nptl) then if (size(weights) == nptl) then
write(*,*) 'weights present',weights !!$ write(*,*) 'weights present',weights
! call METIS_PartGraphRecursive(n,irp,ja,idummy,jdummy,& ! call METIS_PartGraphRecursive(n,irp,ja,idummy,jdummy,&
! & wgflag,numflag,nparts,weights,iopt,nedc,graph_vect) ! & wgflag,numflag,nparts,weights,iopt,nedc,graph_vect)
info = METIS_PartGraphRecursive(nl,irpl,jal,idummy,jdummy,& info = METIS_PartGraphRecursive(nl,irpl,jal,idummy,jdummy,&
& nptl,weights,gvl) & nptl,weights,gvl)
else else
write(*,*) 'weights absent',wgh_ !write(*,*) 'weights absent',wgh_
info = METIS_PartGraphRecursive(nl,irpl,jal,idummy,jdummy,& info = METIS_PartGraphRecursive(nl,irpl,jal,idummy,jdummy,&
& nptl,wgh_,gvl) & nptl,wgh_,gvl)
end if end if
else else
write(*,*) 'weights absent',wgh_ !write(*,*) 'weights absent',wgh_
info = METIS_PartGraphRecursive(nl,irpl,jal,idummy,jdummy,& info = METIS_PartGraphRecursive(nl,irpl,jal,idummy,jdummy,&
& nptl,wgh_,gvl) & nptl,wgh_,gvl)
endif endif
write(*,*) 'after allocation',info !write(*,*) 'after allocation',info
do i=1, n do i=1, n
graph_vect(i) = gvl(i) - 1 graph_vect(i) = gvl(i) - 1

Loading…
Cancel
Save