Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Iker Martín Álvarez
Proteo
Commits
cdf78452
Commit
cdf78452
authored
Apr 02, 2024
by
iker_martin
Browse files
Minor bug fixed. Block distribution for spawned processes was not calculated correctly.
parent
65c0c692
Changes
1
Show whitespace changes
Inline
Side-by-side
Codes/malleability/spawn_methods/ProcessDist.c
View file @
cdf78452
...
...
@@ -134,7 +134,7 @@ void compact_dist(Spawn_data spawn_data, int *used_nodes, int *procs) {
int
i
,
asigCores
;
int
tamBl
,
remainder
;
tamBl
=
mall
->
num_cpus
/
mall
->
num_nodes
;
tamBl
=
mall
->
num_cpus
;
asigCores
=
spawn_data
.
already_created
;
i
=
*
used_nodes
=
spawn_data
.
already_created
/
tamBl
;
remainder
=
spawn_data
.
already_created
%
tamBl
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment