From 8f9249bb8ea984b062bf431f4251280b56f2955d Mon Sep 17 00:00:00 2001 From: Giovanna Stefanelli <giovanna.stefanelli@student.uclouvain.be> Date: Wed, 22 Apr 2020 20:50:16 +0200 Subject: [PATCH] Update README.md --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 6e72fbe..dadb2c3 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,17 @@ # Projet3_first_pull_request +Welcome to project 3! +This program allows to determine if a number is prime otherwise its prime +dividers are calculated. +The numbers to be considered shall be in an file (*.txt) then the programme +can be called with this sintax: + +./fact [-N number_of_threads] input_file.txt output_file.txt + +Whether the number of threads is not defined, the default number of threads is 2. +The programme performance could not increase with a too high number of threads +because, above all, it will depend on the machine architecture (e.g. number of cores). +The maximum number of threads allowed by the programme is 20, nevertheless +the programme "fact" can be updated by changing the constant MAX_NO_THREADS +(#define MAX_NO_THREADS 20). + -- GitLab