Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
spell check the comments
authorMartin Quinson <martin.quinson@loria.fr>
Sun, 9 Aug 2015 10:19:38 +0000 (12:19 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Sun, 9 Aug 2015 10:19:38 +0000 (12:19 +0200)
26 files changed:
doc/msg-tuto-src/masterworker0.c
doc/msg-tuto-src/masterworker1.c
doc/msg-tuto-src/masterworker2.c
doc/msg-tuto-src/masterworker3.c
doc/msg-tuto-src/masterworker4.c
examples/msg/masterslave/masterslave_bypass.c
examples/msg/masterslave/masterslave_cluster.c
examples/msg/masterslave/masterslave_failure.c
examples/msg/masterslave/masterslave_forwarder.c
examples/msg/masterslave/masterslave_platfgen.c
examples/msg/ns3/ns3.c
examples/msg/pastry/pastry.c
examples/msg/tracing/simple.c
examples/simdag/dax/dax_test.c
examples/simdag/dot/dot_test2.c
examples/simdag/metaxml/sd_meta.c
examples/simdag/properties/sd_prop.c
examples/simdag/scheduling/minmin_test.c
examples/simdag/sd_test2.c
examples/simdag/simdag_trace.c
teshsuite/simdag/basic/basic4.c
teshsuite/simdag/platforms/Evaluate_get_route_time.c
teshsuite/simdag/platforms/basic_parsing_test.c
teshsuite/simdag/platforms/is_router_test.c
tools/internal/spell_comments.pl
tools/internal/spell_dict.txt

index 54d4af2..665cba9 100644 (file)
@@ -53,7 +53,7 @@ int master(int argc, char *argv[])
     }
   }
 
-  {                             /* Process organisation */
+  {                             /* Process organization */
     workers_count = argc - 4;
     workers = xbt_new0(msg_host_t, workers_count);
 
index 7f1b96c..f4da400 100644 (file)
@@ -64,7 +64,7 @@ int master(int argc, char *argv[])
     }
   }
 
-  {                             /* Process organisation */
+  {                             /* Process organization */
     workers_count = MSG_get_host_number();
     workers = xbt_dynar_to_array(MSG_hosts_as_dynar());
     
index 002eac4..b8cdc8d 100644 (file)
@@ -51,7 +51,7 @@ int master(int argc, char *argv[])
   res = sscanf(argv[3], "%lg", &task_comm_size);
   xbt_assert(res, "Invalid argument %s\n", argv[3]);
 
-  {                             /* Process organisation */
+  {                             /* Process organization */
     workers_count = MSG_get_host_number();
     workers = xbt_dynar_to_array(MSG_hosts_as_dynar());
     
index 3de680f..85f16da 100644 (file)
@@ -53,7 +53,7 @@ int master(int argc, char *argv[])
   res = sscanf(argv[3], "%lg", &task_comm_size);
   xbt_assert(res, "Invalid argument %s\n", argv[3]);
 
-  {                             /* Process organisation */
+  {                             /* Process organization */
     workers_count = MSG_get_host_number();
     workers = xbt_dynar_to_array(MSG_hosts_as_dynar());
     
index 9530a24..68ae6ee 100644 (file)
@@ -53,7 +53,7 @@ int master(int argc, char *argv[])
   res = sscanf(argv[3], "%lg", &task_comm_size);
   xbt_assert(res, "Invalid argument %s\n", argv[3]);
 
-  {                             /* Process organisation */
+  {                             /* Process organization */
     workers_count = MSG_get_host_number();
     workers = xbt_dynar_to_array(MSG_hosts_as_dynar());
     
index a6cfcb4..bb54684 100644 (file)
@@ -187,7 +187,7 @@ int master(int argc, char *argv[])
     }
   }
 
-  {                             /* Process organisation */
+  {                             /* Process organization */
     slaves_count = argc - 4;
     slaves = xbt_new0(msg_host_t, slaves_count);
 
index e0cf330..6d1bba8 100644 (file)
@@ -54,7 +54,7 @@ int master(int argc, char *argv[])
     }
   }
 
-  {                             /* Process organisation */
+  {                             /* Process organization */
     slaves_count = argc - 4;
     slaves = xbt_new0(msg_host_t, slaves_count);
 
index 6eecffa..0e9d2fb 100644 (file)
@@ -39,7 +39,7 @@ int master(int argc, char *argv[])
   read = sscanf(argv[3], "%lg", &task_comm_size);
   xbt_assert(read, "Invalid argument %s\n", argv[3]);
 
-  {                             /* Process organisation */
+  {                             /* Process organization */
     slaves_count = argc - 4;
     slaves = xbt_new0(msg_host_t, slaves_count);
 
index 733b326..7b2c01e 100644 (file)
@@ -63,7 +63,7 @@ int master(int argc, char *argv[])
     }
   }
 
-  {                             /* Process organisation */
+  {                             /* Process organization */
     slaves_count = argc - 4;
     slaves = xbt_new0(msg_host_t, slaves_count);
 
@@ -135,7 +135,7 @@ int forwarder(int argc, char *argv[])
   int slaves_count;
   msg_host_t *slaves;
 
-  {                             /* Process organisation */
+  {                             /* Process organization */
     slaves_count = argc - 1;
     slaves = xbt_new0(msg_host_t, slaves_count);
 
index ae8143c..7334207 100644 (file)
@@ -74,7 +74,7 @@ int master(int argc, char *argv[])
   task_comp_size = 2400000*argc;
   task_comm_size = 1000000;
 
-  {                             /* Process organisation */
+  {                             /* Process organization */
     slaves_count = argc;
     slaves = xbt_new0(msg_host_t, slaves_count);
 
@@ -174,7 +174,7 @@ int main(int argc, char **argv) {
   int connected;
   int max_tries = 10;
 
-  //MSG initialisation
+  //MSG initialization
   MSG_init(&argc, argv);
 
   //Set up the seed for the platform generation
index 19a580b..4a8b214 100644 (file)
@@ -90,7 +90,7 @@ int master(int argc, char *argv[])
     gl_data_size[id] = task_comm_size;
   }
 
-  {                             /* Process organisation */
+  {                             /* Process organization */
     MSG_get_host_by_name(slavename);
   }
 
index 8c33d84..1627a37 100644 (file)
@@ -130,7 +130,7 @@ static int shl(int a, int b) {
 }
 
 /*
- * Get the cloest id to the dest in the node namespace_set
+ * Get the closest id to the dest in the node namespace_set
  */
 static int closest_in_namespace_set(node_t node, int dest) {
   int best_dist;
@@ -423,7 +423,7 @@ static int join(node_t node){
 }
 
 /*
- * Print the node infomations
+ * Print the node infomation
  */
 static void print_node(node_t node) {
   printf("Node:\n");
index 3e89add..774cdca 100644 (file)
@@ -10,7 +10,7 @@
 
 /** @addtogroup MSG_examples
  * 
- * @section MSG_ex_tracing Tracing and vizualization features
+ * @section MSG_ex_tracing Tracing and vizualisation features
  * 
  * - <b>tracing/simple.c</b> very simple program where each process creates, executes and
  *   destroy a task. You might want to run this program with the following parameters:
index 124e00b..9169020 100644 (file)
@@ -31,7 +31,7 @@ int main(int argc, char **argv)
   unsigned int cursor;
   SD_task_t task;
 
-  /* initialisation of SD */
+  /* SD initialization */
   SD_init(&argc, argv);
 
   /* Check our arguments */
index 81c0b42..47f327a 100644 (file)
@@ -22,7 +22,7 @@ int main(int argc, char **argv)
   unsigned int cursor;
   SD_task_t task, *dot_as_array=NULL;
 
-  /* initialisation of SD */
+  /* SD initialization */
   SD_init(&argc, argv);
 
   /* Check our arguments */
index 526ea4d..0f2f339 100644 (file)
@@ -30,7 +30,7 @@ int main(int argc, char **argv)
   const char *name1, *name2;
   int i, j, k;
 
-  /* initialisation of SD */
+  /* SD initialization */
   SD_init(&argc, argv);
 
   /*  xbt_log_control_set("sd.thres=debug"); */
index 7a954cb..72cbc00 100644 (file)
@@ -27,7 +27,7 @@ int main(int argc, char **argv)
   const char *value;
   char exist[] = "Hdd";
 
-  /* initialisation of SD */
+  /* SD initialization */
   SD_init(&argc, argv);
   if (argc < 2) {
     XBT_INFO("Usage: %s platform_file", argv[0]);
index a6608db..edf703a 100644 (file)
@@ -18,7 +18,7 @@ XBT_LOG_NEW_DEFAULT_CATEGORY(test,
 
 typedef struct _WorkstationAttribute *WorkstationAttribute;
 struct _WorkstationAttribute {
-  /* Earliest time at wich a workstation is ready to execute a task */
+  /* Earliest time at which a workstation is ready to execute a task */
   double available_at;
   SD_task_t last_scheduled_task;
 };
index ccbb1a2..9342bd8 100644 (file)
@@ -57,7 +57,7 @@ int main(int argc, char **argv)
   double final_cost = 5e+9;
   double *ParComp_wcomm2_table;
 
-  /* initialisation of SD */
+  /* SD initialization */
   SD_init(&argc, argv);
 
   /* creation of the environment */
index 4e0a0d7..cc2eabb 100644 (file)
@@ -27,7 +27,7 @@ int main(int argc, char **argv)
   double rate = -1.0;
   SD_workstation_t w1, w2;
 
-  /* initialisation of SD */
+  /* SD initialization */
   SD_init(&argc, argv);
 
   /*  xbt_log_control_set("sd.thres=debug"); */
index 9b3e44b..3861477 100644 (file)
@@ -32,7 +32,7 @@ int main(int argc, char **argv)
   double no_cost[] = { 0., 0., 0., 0. };
   double amount[] = { 0., 1., 0., 0. };
 
-  /* initialisation of SD */
+  /* SD initialization */
   SD_init(&argc, argv);
 
   /* creation of the environment */
index 107cd9c..7f303de 100644 (file)
@@ -24,7 +24,7 @@ int main(int argc, char **argv)
   int list_size;
   xbt_os_timer_t timer = xbt_os_timer_new();
 
-  /* initialisation of SD */
+  /* SD initialization */
   SD_init(&argc, argv);
 
   /* creation of the environment */
index da6283e..f273c69 100644 (file)
@@ -11,7 +11,7 @@
 
 int main(int argc, char **argv)
 {
-  /* initialisation of SD */
+  /* SD initialization */
 
   SD_workstation_t w1, w2;
   const SD_workstation_t *workstations;
index 2aa89e4..b7622b4 100644 (file)
@@ -13,7 +13,7 @@ extern routing_platf_t routing_platf;
 
 int main(int argc, char **argv)
 {
-  /* initialisation of SD */
+  /* SD initialization */
   int size;
   xbt_lib_cursor_t cursor = NULL;
   char *key, *data;
index 18855d7..5ab5958 100755 (executable)
@@ -29,7 +29,7 @@ $DICTFILE="./spell_dict.txt" unless (-e $DICTFILE);
 die "Call this script from its location or from the SimGrid root directory\n" unless (-e $DICTFILE);
 
 die "Usage: ". ($DICTFILE eq "./spell_dict.txt"? "./":"tools/internal/")."spell_comments.pl "
-           ."`find ". ($DICTFILE eq "./spell_dict.txt"? "../../":".")." -name '*.[ch]' -o -name '*.hpp' -o -name '*.cpp'`\n"
+           ."`find ". ($DICTFILE eq "./spell_dict.txt"? "../../":".")." -name '*.[ch]' -o -name '*.hpp' -o -name '*.cpp' |grep -v umpire|grep -v smpi/mpich3-test|grep -v NAS`\n"
   unless length(@ARGV)>1;
 
 my $total = 0;
index 50aa56b..ed4530e 100644 (file)
@@ -1,28 +1,64 @@
 addtogroup
+argc
+argv
+atof
+callgrind
+calloc
+cfg
 const
 cplusplus
+dict
+dicts
+DPOR
 dst
+dynar
+dynars
 FIXME
+Gbytes
+GPU
 hideinitializer
+inlining
+int
 java
 Java
 JEDULE
 JNI
+kcachegrind
 lat
 LGPL
 lmm
+LTL
+malloc
+Mbytes
+Mflops
+MPI
+msg
+ok
+Paje
 param
+pid
+printf
 pstate
+RngStream
 SD
 simcall
 simcalls
+SimDag
+simgrid
 SimGrid
 simix
 SIMIX
+sizeof
+SMPI
 smx
 src
+struct
+tesh
 todo
 TODO
+valgrind
+VM
+VMs
 xbt
 XBT
 xml