Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
codes
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
38
Issues
38
List
Boards
Labels
Milestones
Merge Requests
8
Merge Requests
8
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
codes
codes
Commits
c1e1e761
Commit
c1e1e761
authored
May 17, 2018
by
Misbah Mubarak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enabling compute times with lammps and nekbone
parent
127b92ae
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
src/network-workloads/model-net-mpi-replay.c
src/network-workloads/model-net-mpi-replay.c
+1
-0
src/networks/model-net/dragonfly-custom.C
src/networks/model-net/dragonfly-custom.C
+1
-1
src/workload/methods/codes-online-comm-wrkld.C
src/workload/methods/codes-online-comm-wrkld.C
+4
-4
No files found.
src/network-workloads/model-net-mpi-replay.c
View file @
c1e1e761
...
...
@@ -2780,6 +2780,7 @@ int modelnet_mpi_replay(MPI_Comm comm, int* argc, char*** argv )
}
i
++
;
}
printf
(
"
\n
num_net_traces %d "
,
num_net_traces
);
fclose
(
name_file
);
assert
(
strlen
(
alloc_file
)
!=
0
);
alloc_spec
=
1
;
...
...
src/networks/model-net/dragonfly-custom.C
View file @
c1e1e761
...
...
@@ -25,7 +25,7 @@
#include <cortex/topology.h>
#endif
#define DUMP_CONNECTIONS
1
#define DUMP_CONNECTIONS
0
#define CREDIT_SIZE 8
#define DFLY_HASH_TABLE_SIZE 4999
// debugging parameters
...
...
src/workload/methods/codes-online-comm-wrkld.C
View file @
c1e1e761
...
...
@@ -324,14 +324,14 @@ void SWM_Irecv(SWM_PEER peer,
void
SWM_Compute
(
long
cycle_count
)
{
if
(
!
cpu_freq
)
cpu_freq
=
4.0e9
;
cpu_freq
=
2
.
0
;
/* Add an event in the shared queue and then yield */
struct
codes_workload_op
wrkld_per_rank
;
wrkld_per_rank
.
op_type
=
CODES_WK_DELAY
;
/* TODO: Check how to convert cycle count into delay? */
wrkld_per_rank
.
u
.
delay
.
nsecs
=
(
cycle_count
/
cpu_freq
)
;
wrkld_per_rank
.
u
.
delay
.
seconds
=
(
cycle_count
/
cpu_freq
)
/
(
1000
.
0
*
1000
.
0
*
1000
.
0
);
wrkld_per_rank
.
u
.
delay
.
nsecs
=
cycle_count
;
wrkld_per_rank
.
u
.
delay
.
seconds
=
(
cycle_count
)
/
(
1000
.
0
*
1000
.
0
*
1000
.
0
);
#ifdef DBG_COMM
printf
(
"
\n
compute op delay: %ld "
,
cycle_count
);
#endif
...
...
@@ -815,7 +815,7 @@ static int comm_online_workload_load(const char * params, int app_id, int rank)
std
::
ifstream
jsonFile
(
path
.
c_str
());
boost
::
property_tree
::
json_parser
::
read_json
(
jsonFile
,
root
);
uint32_t
process_cnt
=
root
.
get
<
uint32_t
>
(
"jobs.size"
,
1
);
cpu_freq
=
root
.
get
<
double
>
(
"jobs.cfg.cpu_freq"
);
cpu_freq
=
root
.
get
<
double
>
(
"jobs.cfg.cpu_freq"
)
/
1e9
;
}
catch
(
std
::
exception
&
e
)
{
...
...
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