Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Xin Wang
codes-dev
Commits
1ab4ea24
Commit
1ab4ea24
authored
Apr 11, 2014
by
mubarak
Browse files
minor change: commenting out some debug statements
parent
a0f8d975
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/network-workload/codes-scala-trace-nw-wrkld.c
View file @
1ab4ea24
...
...
@@ -77,7 +77,7 @@ int scala_trace_nw_workload_load(const char* params, int rank)
event_array
=
(
struct
st_write_data
*
)
malloc
(
sizeof
(
struct
st_write_data
)
*
mpi_info
.
events_per_rank
);
printf
(
"
\n
rank %d allocated array of size %d "
,
rank
,
mpi_info
.
events_per_rank
);
//
printf("\n rank %d allocated array of size %d ", rank, mpi_info.events_per_rank);
MPI_File_open
(
MPI_COMM_WORLD
,
wrkld_file
,
MPI_MODE_RDONLY
,
MPI_INFO_NULL
,
&
fh
);
MPI_File_set_view
(
fh
,
mpi_info
.
offset
*
sizeof
(
struct
st_write_data
),
MPI_WRITE_INFO
,
MPI_WRITE_INFO
,
"derived"
,
MPI_INFO_NULL
);
MPI_File_read
(
fh
,
event_array
,
mpi_info
.
events_per_rank
,
MPI_WRITE_INFO
,
MPI_STATUS_IGNORE
);
...
...
Write
Preview
Markdown
is supported
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