Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
openfpm_pdata
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sbalzarini Lab
Software
Parallel Computing
OpenFPM
openfpm_pdata
Commits
17e478e3
Commit
17e478e3
authored
4 years ago
by
i-bird
Browse files
Options
Downloads
Patches
Plain Diff
Fixing memory leaks
parent
4e492768
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#2682
passed
4 years ago
Stage: build
Stage: test
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
gdbgui
+1
-1
1 addition, 1 deletion
gdbgui
script/solve_python
+3
-0
3 additions, 0 deletions
script/solve_python
src/Decomposition/Distribution/metis_util.hpp
+14
-0
14 additions, 0 deletions
src/Decomposition/Distribution/metis_util.hpp
with
18 additions
and
1 deletion
gdbgui
@
c8048e78
Compare
9b94f15f
...
c8048e78
Subproject commit
9b94f15fa6f4086295dbd52184f4377e05eaa30d
Subproject commit
c8048e7898e3a20d1ad1749d82d750e743247d8a
This diff is collapsed.
Click to expand it.
script/solve_python
+
3
−
0
View file @
17e478e3
...
...
@@ -23,6 +23,9 @@ if [ x"$pcman" == x"apt-get" ]; then
if
[
$?
-eq
0
]
;
then
base_python_pkg
=
"python2
$base_python_pkg
"
fi
elif
[
x
"
$pcman
"
==
x
"zypper"
]
;
then
base_python
=
python2
additional_python_pkg
=
python3
fi
if
[
x
"
$1
"
=
x
"linux"
]
;
then
...
...
This diff is collapsed.
Click to expand it.
src/Decomposition/Distribution/metis_util.hpp
+
14
−
0
View file @
17e478e3
...
...
@@ -133,6 +133,16 @@ class Metis
void
constructAdjListWithWeights
(
Graph
&
g
)
{
// create xadj, adjlist, vwgt, adjwgt and vsize
if
(
Mg
.
xadj
!=
NULL
)
{
delete
[]
Mg
.
xadj
;}
if
(
Mg
.
adjncy
!=
NULL
)
{
delete
[]
Mg
.
adjncy
;}
if
(
Mg
.
vwgt
!=
NULL
)
{
delete
[]
Mg
.
vwgt
;}
if
(
Mg
.
adjwgt
!=
NULL
)
{
delete
[]
Mg
.
adjwgt
;}
if
(
Mg
.
vsize
!=
NULL
)
{
delete
[]
Mg
.
vsize
;}
Mg
.
xadj
=
new
idx_t
[
g
.
getNVertex
()
+
1
];
Mg
.
adjncy
=
new
idx_t
[
g
.
getNEdge
()];
Mg
.
vwgt
=
new
idx_t
[
g
.
getNVertex
()];
...
...
@@ -387,6 +397,10 @@ public:
{
delete
[]
Mg
.
part
;
}
if
(
Mg
.
vsize
!=
NULL
)
{
delete
[]
Mg
.
vsize
;
}
}
/*! \brief Decompose the graph
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment