-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
State-less MPI rank management (#103)
* removing all state-related rank processing, use messages instead. this could potentially allow us to remove the barrier from MPI_init * updating tests to remove all references to registerRank * move send and recv mpi to transport * formatting + cleanup * updating original message to avoid bug in faasm + cleanup * uncomment tests * pr comments
- Loading branch information
1 parent
2be5d88
commit c9716ba
Showing
15 changed files
with
315 additions
and
301 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#pragma once | ||
|
||
#include <faabric/proto/faabric.pb.h> | ||
#include <faabric/transport/MessageEndpoint.h> | ||
#include <faabric/transport/common.h> | ||
#include <faabric/transport/macros.h> | ||
|
||
namespace faabric::transport { | ||
faabric::MpiHostsToRanksMessage recvMpiHostRankMsg(); | ||
|
||
void sendMpiHostRankMsg(const std::string& hostIn, | ||
const faabric::MpiHostsToRanksMessage msg); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,5 @@ | |
#define MPI_MESSAGE_PORT 8005 | ||
#define SNAPSHOT_PORT 8006 | ||
#define REPLY_PORT_OFFSET 100 | ||
|
||
#define MPI_PORT 8800 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.