diff --git a/README.md b/README.md index e248512..4760af0 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Compilation -`mpicc -Wall -O0 zadanieX.c common.c -o zadanieX` +`mpicc -Wall -O0 assignmentX.c common.c -o assignmentX` # Running -`mpirun -v -np NP zadanieX` +`mpirun -v -np NP assignmentX` diff --git a/zadanie1.c b/assignment1.c similarity index 99% rename from zadanie1.c rename to assignment1.c index 7375d10..d9a23f9 100644 --- a/zadanie1.c +++ b/assignment1.c @@ -1,6 +1,6 @@ #include "common.h" -#define INPUTFILE "zadanie1.in" +#define INPUTFILE "assignment1.in" int maximum(int n, int *arrNumbers); diff --git a/zadanie1.in b/assignment1.in similarity index 100% rename from zadanie1.in rename to assignment1.in diff --git a/zadanie2.c b/assignment2.c similarity index 99% rename from zadanie2.c rename to assignment2.c index cecc856..bbc66db 100644 --- a/zadanie2.c +++ b/assignment2.c @@ -1,6 +1,6 @@ #include "common.h" -#define INPUTFILE "zadanie2.in" +#define INPUTFILE "assignment2.in" // TODO: define custom structure for this probably #define CODE_SIZE 0 diff --git a/zadanie2.in b/assignment2.in similarity index 100% rename from zadanie2.in rename to assignment2.in diff --git a/common.h b/common.h index 7665db2..7d3202d 100644 --- a/common.h +++ b/common.h @@ -11,7 +11,7 @@ #define INIT_BUFFER_SIZE 16 // Optimal exponential buffer growth factor, 2 is sometimes used to #define GROWTH_FACTOR 1.5 -// Maximum length of the file that will be read (not applicable to z1) +// Maximum length of the file that will be read (not applicable to a1) #define MAX_LINE_LENGTH 8192 void *my_malloc(size_t size);