forked from sstsimulator/sst-elements
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix alltoall tests (fails for the right reasons now)
- Loading branch information
Showing
5 changed files
with
27 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,6 +53,7 @@ Questions? Contact [email protected] | |
#include <mercury/operating_system/process/progress_queue.h> | ||
#include <mercury/hardware/network/network_message_fwd.h> | ||
#include <mercury/components/node_fwd.h> | ||
#include <mercury/components/operating_system.h> | ||
|
||
#include <iris/sumi/message_fwd.h> | ||
#include <iris/sumi/collective.h> | ||
|
@@ -122,7 +123,9 @@ class SimTransport : public Transport, public SST::Hg::API { | |
Output output; | ||
|
||
SST::Hg::NodeId rankToNode(int rank) const override { | ||
return rank_mapper_->rankToNode(rank); | ||
//return SST::Hg::NodeId(rank); | ||
//return rank_mapper_->rankToNode(rank); | ||
return os_->rankToNode(rank); | ||
} | ||
|
||
/** | ||
|
@@ -302,7 +305,7 @@ class SimTransport : public Transport, public SST::Hg::API { | |
|
||
SST::Hg::App* parent_app_; | ||
|
||
SST::Iris::sumi::RankMapping::ptr rank_mapper_; | ||
//SST::Iris::sumi::RankMapping::ptr rank_mapper_; | ||
|
||
DefaultProgressQueue default_progress_queue_; | ||
|
||
|
@@ -315,6 +318,8 @@ class SimTransport : public Transport, public SST::Hg::API { | |
|
||
double pragma_timeout_; | ||
|
||
SST::Hg::OperatingSystem* os_; | ||
|
||
void drop(Message*){} | ||
}; | ||
|
||
|
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 |
---|---|---|
|
@@ -42,7 +42,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
Questions? Contact [email protected] | ||
*/ | ||
|
||
#define ssthg_app_name sendrecv | ||
#define ssthg_app_name alltoall | ||
|
||
#include <stddef.h> | ||
#include <stdio.h> | ||
|
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