renamed zadanie to assignment

master
Peter Babič 9 years ago
parent 5ed57d3150
commit 7715b65a79
  1. 4
      README.md
  2. 2
      assignment1.c
  3. 0
      assignment1.in
  4. 2
      assignment2.c
  5. 0
      assignment2.in
  6. 2
      common.h

@ -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`

@ -1,6 +1,6 @@
#include "common.h"
#define INPUTFILE "zadanie1.in"
#define INPUTFILE "assignment1.in"
int maximum(int n, int *arrNumbers);

@ -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

@ -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);

Loading…
Cancel
Save