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
95a7bcf9
Commit
95a7bcf9
authored
2 years ago
by
Peter W. Draper
Browse files
Options
Downloads
Patches
Plain Diff
Tidyups
parent
b23f83ce
Branches
Branches containing commit
No related tags found
1 merge request
!6
Version with faked data
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
mpiuse.c
+3
-3
3 additions, 3 deletions
mpiuse.c
mpiuse.h
+2
-2
2 additions, 2 deletions
mpiuse.h
with
6 additions
and
5 deletions
.gitignore
+
1
−
0
View file @
95a7bcf9
swiftmpistepsim
swiftmpifakestepsim
*.o
*~
This diff is collapsed.
Click to expand it.
mpiuse.c
+
3
−
3
View file @
95a7bcf9
...
...
@@ -291,14 +291,14 @@ static double gauss_rand_upper(void) {
* selection this is just a scale factor of the values.
* @param random whether to use random sizes.
* @param seed the random seed, use same for fixed sequences.
* @param uniform whether to use a uniform distribution o
the
r gaussian, unless
* @param uniform whether to use a uniform distribution or gaussian, unless
* cdf is defined, in which case this parameter is ignored.
* @param cdf text file containing a normalized CDF to use as a basis for
* inverse transform sampling of the randoms. NULL for no file.
* @param odata text file containing a values representing
a
occurences of the
* @param odata text file containing a values representing occurences of the
* expected distribution -- converted into a normalised CDF to
* use as a basis for inverse transform sampling of the
* randoms. NULL for no file. Not use if cdf is not NULL.
* randoms. NULL for no file. Not use
d
if cdf is not NULL.
*/
void
mpiuse_log_generate
(
int
nr_nodes
,
int
nr_logs
,
int
size
,
int
random
,
long
int
seed
,
int
uniform
,
const
char
*
cdf
,
...
...
This diff is collapsed.
Click to expand it.
mpiuse.h
+
2
−
2
View file @
95a7bcf9
...
...
@@ -86,8 +86,8 @@ struct mpiuse_log_entry {
/* Flags for the types of request when generating fakes. */
#ifndef SEND_TYPE
#define SEND_TYPE 2
2
#define RECV_TYPE 2
3
#define SEND_TYPE 2
5
#define RECV_TYPE 2
6
#define NO_SUBTYPE 0
#endif
...
...
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