Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
codes-dev
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Xin Wang
codes-dev
Commits
d5cf9422
Commit
d5cf9422
authored
May 30, 2017
by
Misbah Mubarak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removing default dependencies for cortex
parent
b7a1e3bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
src/networks/model-net/topology-test.c
src/networks/model-net/topology-test.c
+10
-1
No files found.
src/networks/model-net/topology-test.c
View file @
d5cf9422
...
...
@@ -4,14 +4,22 @@
#include "codes/codes-workload.h"
#include "codes/codes.h"
#ifdef ENABLE_CORTEX
#include <cortex/topology.h>
#endif
#include "codes/model-net.h"
/* TODO: Replace NUM_NODES and num_routers once we have functions to fetch
* topology node and router counts. Right now it is hard coded for Theta. */
extern
struct
cortex_topology
dragonfly_custom_cortex_topology
;
int
main
(
int
argc
,
char
**
argv
)
{
#ifndef ENABLE_CORTEX
printf
(
"
\n
Cortex needs to be enabled in order to run the test. See <https://xgitlab.cels.anl.gov/codes/codes/wikis/codes-cortex-install> "
);
return
-
1
;
#else
if
(
argc
<
2
)
{
printf
(
"
\n
Usage: %s dragonfly-config-file "
,
argv
[
0
]);
...
...
@@ -148,4 +156,5 @@ int main(int argc, char** argv) {
}
}
MPI_Finalize
();
#endif
}
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