-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Still need to test and fully implment the HPX version. In this implementation, all ranks determine a latency between rank 0 and themselves, then compute a clock drift between the two. That drift is added to the archive file creation time as an absolute reference that all ranks can use.
- Loading branch information
Showing
9 changed files
with
147 additions
and
42 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
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,34 @@ | ||
/* | ||
* Copyright (c) 2014-2021 Kevin Huck | ||
* Copyright (c) 2014-2021 University of Oregon | ||
* | ||
* Distributed under the Boost Software License, Version 1.0. (See accompanying | ||
* file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | ||
*/ | ||
|
||
/* This file contains MPI implementations of communication necessary to support | ||
OTF2 tracing. For example, event unification and clock Synchronization. | ||
*/ | ||
|
||
// only compile this file if we have NO networking support! | ||
#if !defined(HPX_HAVE_NETWORKING) && !defined(APEX_HAVE_MPI) | ||
|
||
#include "otf2_listener.hpp" | ||
|
||
namespace apex { | ||
|
||
int64_t otf2_listener::synchronizeClocks(void) { | ||
return 0; | ||
} | ||
|
||
int otf2_listener::getCommRank() { | ||
return apex::instance()->get_node_id(); | ||
} | ||
|
||
int otf2_listener::getCommSize() { | ||
return apex::instance()->get_num_ranks(); | ||
} | ||
|
||
} // namespace apex | ||
|
||
#endif |
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