mirror of
https://github.com/sfilippone/psblas3.git
synced 2026-10-18 03:42:09 +00:00
psblas-3.99
util/psb_metispart_mod.F90 Allow for realloc of graph_vect.
This commit is contained in:
@@ -266,7 +266,8 @@ contains
|
||||
end function METIS_PartGraphRecursive
|
||||
end interface
|
||||
|
||||
allocate(graph_vect(n),gvl(n),wgh_(nparts),stat=info)
|
||||
call psb_realloc(n,graph_vect,info)
|
||||
if (info == psb_success_) allocate(gvl(n),wgh_(nparts),stat=info)
|
||||
|
||||
if (info /= psb_success_) then
|
||||
write(psb_err_unit,*) 'Fatal error in BUILD_MTPART: memory allocation ',&
|
||||
|
||||
Reference in New Issue
Block a user