diff --git a/.gitignore b/.gitignore index afa445084e6ff202c6d10f1a42d9af832100a8b4..753ecb8407375c93ae44d9d3d0c26c836a5068e8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ swiftmpistepsim +swiftmpifakestepsim *.o *~ diff --git a/mpiuse.c b/mpiuse.c index ab6a03111e6a60958c04f0bcddff0ee81e694e25..7e5b7d7b6c7c258379be593515c4bcebadf1ea4e 100644 --- a/mpiuse.c +++ b/mpiuse.c @@ -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 other 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 used 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, diff --git a/mpiuse.h b/mpiuse.h index a138a72979e35e7271b6a02bd6c8fba7babf7b73..71d8982f0cbb020dd6a563d2f8cb756ccacf3dd5 100644 --- a/mpiuse.h +++ b/mpiuse.h @@ -86,8 +86,8 @@ struct mpiuse_log_entry { /* Flags for the types of request when generating fakes. */ #ifndef SEND_TYPE -#define SEND_TYPE 22 -#define RECV_TYPE 23 +#define SEND_TYPE 25 +#define RECV_TYPE 26 #define NO_SUBTYPE 0 #endif