Commit 4e3ecd1f authored by iker_martin's avatar iker_martin
Browse files

Hotfix -- El calculo de num_cpus era incorrecto

parent 3a2c2de1
...@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment