Commit 97a854f5 authored by David Expósito Singh's avatar David Expósito Singh
Browse files

Check&Updates

parent 0c53479a
No related merge requests found
Showing with 3 additions and 5 deletions
+3 -5
......@@ -44,7 +44,6 @@
#include "controller.h"
static const char *HOME;
struct timeval initial;
struct applicationset GLOBAL_app[MAX_APPS];
......@@ -1337,8 +1336,7 @@ int main (int argc, char** argv)
if (strcmp(argv[n], "-scheduling_algorithm") == 0) {
GLOBAL_SCHEDULING_ALGORITHM=atoi(argv[n+1]);;
}
}
}
if(GLOBAL_SCHEDULING_ALGORITHM>0) printf("\n # I/O scheduling algorithm %d selected. \n",GLOBAL_SCHEDULING_ALGORITHM);
GLOBAL_FAIRSHEDULING=0;
......
......@@ -13,7 +13,7 @@ void IO_scheduler(){
printf("\n E2: Application I/O data size (Bytes): ");
for(n=0;n<GLOBAL_napps;n++) printf(" \t %.2E ",GLOBAL_IOsize[n]);
printf("\n E2: Application iteration number: ");
for(n=0;n<GLOBAL_napps;n++) printf(" \t %.2d ",niter[cnt_app[n]-1][n]);
for(n=0;n<GLOBAL_napps;n++) printf(" \t %.2d \t",niter[cnt_app[n]-1][n]);
printf("\n E2: Application total iterations: ");
for(n=0;n<GLOBAL_napps;n++) printf(" \t %.2d ",GLOBAL_app[n].numiter);
printf("\n");
......
......@@ -907,7 +907,7 @@ static void EMPI_Parse_cfile (int argc, char **argv) {
EMPI_GLOBAL_nhosts ++;
//Set nprocs
if (hostlist->id == 0) hostlist->nprocs = 1;
if (hostlist->id == 0) hostlist->nprocs = 0;
else hostlist->nprocs = 0;
hostlist->iniprocs = hostlist->nprocs;
......
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