소스 검색

Amélioration help

Arthur Brandao 6 년 전
부모
커밋
2c7b459db7
5개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 1 1
      Partie_1/Hybride/Main.cpp
  2. 1 1
      Partie_1/MPI/Main.cpp
  3. 1 1
      Partie_1/Thread/Main.cpp
  4. 1 1
      Partie_2/EMA/Main.cpp
  5. 1 1
      Partie_2/Moyenne/Main.cpp

+ 1 - 1
Partie_1/Hybride/Main.cpp

@@ -12,7 +12,7 @@ int world_size;
 int world_rank;
 
 void help(char* prog) {
-    fprintf(stderr, "usage: mpirun -n int ./%s -i file.cnf [-t int]\n\t-t Number of threads to use\n", prog);
+    fprintf(stderr, "usage: mpirun -n int ./%s -i file.cnf [-t int]\n\t-n Number of process to use\n\t-i CNF file to solve\n\t-t Number of threads to use\n", prog);
     exit(1);
 }
 

+ 1 - 1
Partie_1/MPI/Main.cpp

@@ -9,7 +9,7 @@
 using namespace std;
 
 void help(char* prog) {
-    fprintf(stderr, "usage: %s -i file.cnf\n", prog);
+    fprintf(stderr, "usage: mpirun -n int %s -i file.cnf\n\t-n Number of process to use\n\t-i CNF file to solve\n", prog);
     exit(1);
 }
 

+ 1 - 1
Partie_1/Thread/Main.cpp

@@ -8,7 +8,7 @@
 using namespace std;
 
 void help(char* prog) {
-    fprintf(stderr, "usage: %s -i file.cnf [-t int] [-s] [-m int]\n\t-t Number of threads to use\n\t-s Silent mode\n\t-m Max iteration number\n", prog);
+    fprintf(stderr, "usage: %s -i file.cnf [-t int] [-s] [-m int]\n\t-i CNF file to solve\n\t-t Number of threads to use\n\t-s Silent mode\n\t-m Max iteration number\n", prog);
     exit(1);
 }
 

+ 1 - 1
Partie_2/EMA/Main.cpp

@@ -8,7 +8,7 @@
 using namespace std;
 
 void help(char* prog) {
-    fprintf(stderr, "usage: %s -i file.cnf [-t int] [-s] [-e double] [-d]\n\t-t Number of threads to use\n\t-s Silent mode\n\t-e Use epsilon greedy method with the value (0 <= value <= 1)\n\t-d Use dynamic alpha (default is static alpha = 0.5)\n", prog);
+    fprintf(stderr, "usage: %s -i file.cnf [-t int] [-s] [-e double] [-d]\n\t-i CNF file to solve\n\t-t Number of threads to use\n\t-s Silent mode\n\t-e Use epsilon greedy method with the value (0 <= value <= 1)\n\t-d Use dynamic alpha (default is static alpha = 0.5)\n", prog);
     exit(1);
 }
 

+ 1 - 1
Partie_2/Moyenne/Main.cpp

@@ -8,7 +8,7 @@
 using namespace std;
 
 void help(char* prog) {
-    fprintf(stderr, "usage: %s -i file.cnf [-t int] [-s] [-e double]\n\t-t Number of threads to use\n\t-s Silent mode\n\t-e Use epsilon greedy method with the value (0 <= value <= 1)\n", prog);
+    fprintf(stderr, "usage: %s -i file.cnf [-t int] [-s] [-e double]\n\t-i CNF file to solve\n\t-t Number of threads to use\n\t-s Silent mode\n\t-e Use epsilon greedy method with the value (0 <= value <= 1)\n", prog);
     exit(1);
 }