Skip to content
GitLab
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
30438780
Commit
30438780
authored
6 years ago
by
David Expósito Singh
Browse files
Options
Download
Email Patches
Plain Diff
SolvingCharacterCodingProblems
parent
e76642d6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
FlexMPIUserManual.pdf
+0
-0
FlexMPIUserManual.pdf
controller/workloadgen.c
+2
-2
controller/workloadgen.c
src/wrapper.c
+1
-1
src/wrapper.c
with
3 additions
and
3 deletions
+3
-3
FlexMPIUserManual.pdf
0 → 100644
+
0
-
0
View file @
30438780
File added
This diff is collapsed.
Click to expand it.
controller/workloadgen.c
+
2
-
2
View file @
30438780
...
...
@@ -254,7 +254,7 @@ int main (int argc, char** argv)
printf
(
"
\n
"
);
while
(
fgets
(
readline
,
1000
,
file
)
!=
NULL
)
{
if
(
readline
[
0
]
!=
'#'
&&
readline
[
0
]
!=
'\n'
){
if
(
readline
[
0
]
!=
'#'
&&
readline
[
0
]
!=
'\n'
&&
readline
[
0
]
!=
'\r'
){
record
=
strtok
(
readline
,
token
);
// App name
if
(
record
==
NULL
){
fprintf
(
stderr
,
"
\n
Error0 parsing %s file
\n
"
,
argv
[
2
]);
exit
(
1
);
}
...
...
@@ -264,7 +264,7 @@ int main (int argc, char** argv)
if
(
strcmp
(
record
,
"cg"
)
==
0
)
class
=
2
;
if
(
strcmp
(
record
,
"epigraph"
)
==
0
)
class
=
3
;
if
(
class
==
0
){
fprintf
(
stderr
,
"
\n
Error0 in %s file: application name not valid
\n
"
,
argv
[
2
]);
fprintf
(
stderr
,
"
\n
Error0 in %s file: application name not valid
:: %s
\n
"
,
argv
[
2
]
,
readline
);
exit
(
1
);
}
strcpy
(
appname
[
napp
],
record
);
...
...
This diff is collapsed.
Click to expand it.
src/wrapper.c
+
1
-
1
View file @
30438780
...
...
@@ -108,7 +108,7 @@ int MPI_File_write_all(MPI_File fh, const void *buf, int count, MPI_Datatype dat
else
{
iot1
=
MPI_Wtime
();
iot2
=
MPI_Wtime
();
while
((
iot2
-
iot1
)
<
EMPI_GLOBAL_dummyIO
)
iot2
=
MPI_Wtime
();
// Dela
t
y EMPI_GLOBAL_dummyIO seconds. Active waiting.
while
((
iot2
-
iot1
)
<
EMPI_GLOBAL_dummyIO
)
iot2
=
MPI_Wtime
();
// Delay EMPI_GLOBAL_dummyIO seconds. Active waiting.
err
=
0
;
}
...
...
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