diff --git a/swiftmpifakestepsim.c b/swiftmpifakestepsim.c index 6b846ba1e88373bed238e3e544c0186cd38d2270..e4514569448dc9db85acaa68ee928e6791a9c67b 100644 --- a/swiftmpifakestepsim.c +++ b/swiftmpifakestepsim.c @@ -446,7 +446,7 @@ static void usage(char *argv[]) { "\t-r -o <file> use occurence sample of values in a file, size is a " "scale factor.,] \n" "\t-x random seed\n" - "\t-z output log in standard format, i.e. can be used as input"); + "\t-z outout log in standard format, i.e. can be used as input"); fflush(stderr); } diff --git a/swiftmpistepsim.c b/swiftmpistepsim.c index 37dbcb7765ea776dee6c20c0bce9692e57e0ae22..b35f06b20fcbcaeb50d30858f6ba18ef5b76931b 100644 --- a/swiftmpistepsim.c +++ b/swiftmpistepsim.c @@ -56,7 +56,7 @@ static const int task_type_send = 25; static const int task_type_recv = 26; /* Global communicators for each of the subtypes. */ -static const int task_subtype_count = 34; // Just some upper limit on subtype. +#define task_subtype_count 34 // Just some upper limit on subtype. static MPI_Comm subtypeMPI_comms[task_subtype_count]; /* The local queues. */