Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
SWIFT
SWIFTsim
Commits
4500d31f
Commit
4500d31f
authored
8 years ago
by
Matthieu Schaller
Browse files
Options
Downloads
Patches
Plain Diff
Updated the default value of the repartitioning to the valid choice 'task_weights'
parent
a374ea9c
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/parallel_io.c
+1
-0
1 addition, 0 deletions
src/parallel_io.c
src/partition.c
+1
-1
1 addition, 1 deletion
src/partition.c
with
2 additions
and
1 deletion
src/parallel_io.c
+
1
−
0
View file @
4500d31f
...
...
@@ -441,6 +441,7 @@ void read_ic_parallel(char* fileName, const struct unit_system* internal_units,
N_total
[
ptype
]
=
(
numParticles
[
ptype
])
+
(
numParticles_highWord
[
ptype
]
<<
32
);
/* Get the box size if not cubic */
dim
[
0
]
=
boxSize
[
0
];
dim
[
1
]
=
(
boxSize
[
1
]
<
0
)
?
boxSize
[
0
]
:
boxSize
[
1
];
dim
[
2
]
=
(
boxSize
[
2
]
<
0
)
?
boxSize
[
0
]
:
boxSize
[
2
];
...
...
This diff is collapsed.
Click to expand it.
src/partition.c
+
1
−
1
View file @
4500d31f
...
...
@@ -995,7 +995,7 @@ void partition_init(struct partition *partition,
/* Defaults make use of METIS if available */
#ifdef HAVE_METIS
const
char
*
default_repart
=
"
both
"
;
const
char
*
default_repart
=
"
task_weights
"
;
const
char
*
default_part
=
"simple_metis"
;
#else
const
char
*
default_repart
=
"none"
;
...
...
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