Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
swiftmpistepsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWIFT
swiftmpistepsim
Commits
3a085e82
Commit
3a085e82
authored
4 years ago
by
Peter W. Draper
Browse files
Options
Downloads
Patches
Plain Diff
Start time at beginning to tidy up log output
parent
3eb8bfec
No related branches found
No related tags found
1 merge request
!8
Draft: RDMA version with wrapped infinity calls
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
swiftmpirdmastepsim3.c
+5
-5
5 additions, 5 deletions
swiftmpirdmastepsim3.c
with
5 additions
and
5 deletions
swiftmpirdmastepsim3.c
+
5
−
5
View file @
3a085e82
...
...
@@ -469,6 +469,10 @@ static void usage(char *argv[]) {
*/
int
main
(
int
argc
,
char
*
argv
[])
{
/* Start time for logging. This will be reset to restart time. */
clocks_set_cpufreq
(
0
);
cpufreq
=
clocks_get_cpufreq
();
/* Initiate MPI. */
int
prov
=
0
;
int
res
=
MPI_Init_thread
(
&
argc
,
&
argv
,
MPI_THREAD_MULTIPLE
,
&
prov
);
...
...
@@ -553,11 +557,7 @@ int main(int argc, char *argv[]) {
}
}
/* Time to start time. Try to make it synchronous across the ranks.
* Note we reset this once more when the startup costs have been
* done. */
clocks_set_cpufreq
(
0
);
cpufreq
=
clocks_get_cpufreq
();
/* Make synchronous across the ranks. */
MPI_Barrier
(
MPI_COMM_WORLD
);
clocks_set_cpufreq
(
cpufreq
);
if
(
myrank
==
0
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment