Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
David Expósito Singh
FlexMPI
Commits
97a854f5
Commit
97a854f5
authored
3 years ago
by
David Expósito Singh
Browse files
Options
Download
Email Patches
Plain Diff
Check&Updates
parent
0c53479a
master
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
controller/controller.c
+1
-3
controller/controller.c
controller/ioscheduler.c.bak1
+1
-1
controller/ioscheduler.c.bak1
src/init.c
+1
-1
src/init.c
with
3 additions
and
5 deletions
+3
-5
controller/controller.c
+
1
-
3
View file @
97a854f5
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
controller/ioscheduler.c.bak1
+
1
-
1
View file @
97a854f5
...
...
@@ -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");
...
...
This diff is collapsed.
Click to expand it.
src/init.c
+
1
-
1
View file @
97a854f5
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets