Skip to content

Commit 75fa5f8

Browse files
committed
main: add comments for later
1 parent c26eb00 commit 75fa5f8

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

src/main/main.c

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,15 @@ int main(int argc, char **argv) {
88
// Initialize MPI
99
int rank, size, len;
1010
char version[MPI_MAX_LIBRARY_VERSION_STRING];
11+
12+
// Load Graph Here
13+
14+
// Generate Adjacency Matrix Here
15+
void *adj_mat_network = NULL;
16+
void *list_id_size = NULL;
17+
(void) adj_mat_network;
18+
(void) list_id_size;
19+
1120
MPI_Init(&argc, &argv);
1221
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
1322
MPI_Comm_size(MPI_COMM_WORLD, &size);
@@ -23,6 +32,23 @@ int main(int argc, char **argv) {
2332
else
2433
{
2534
// TODO: Je sais pas je suis senser faire quoi
35+
36+
// Node Creation
37+
// Form rank number !
38+
39+
// Start Leader !
40+
41+
42+
// Wait Leader
43+
44+
// If is leader
45+
46+
47+
48+
// else
49+
50+
51+
2652
}
2753

2854
MPI_Finalize();

0 commit comments

Comments
 (0)