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
4e3ecd1f
Commit
4e3ecd1f
authored
Feb 14, 2022
by
iker_martin
Browse files
Hotfix -- El calculo de num_cpus era incorrecto
parent
3a2c2de1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Codes/Main/Main.c
View file @
4e3ecd1f
...
@@ -58,6 +58,7 @@ int main(int argc, char *argv[]) {
...
@@ -58,6 +58,7 @@ int main(int argc, char *argv[]) {
nodelist
=
argv
[
3
];
nodelist
=
argv
[
3
];
//nodelist_len = strlen(nodelist);
//nodelist_len = strlen(nodelist);
num_nodes
=
atoi
(
argv
[
4
]);
num_nodes
=
atoi
(
argv
[
4
]);
num_cpus
=
num_nodes
*
num_cpus
;
}
}
MPI_Init_thread
(
&
argc
,
&
argv
,
MPI_THREAD_MULTIPLE
,
&
req
);
MPI_Init_thread
(
&
argc
,
&
argv
,
MPI_THREAD_MULTIPLE
,
&
req
);
...
...
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