Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of 192.168.8.160:/git/simgrid
authorPaul Bédaride <paul.bedaride@gmail.com>
Tue, 29 Jan 2013 18:29:08 +0000 (19:29 +0100)
committerPaul Bédaride <paul.bedaride@gmail.com>
Tue, 29 Jan 2013 18:29:08 +0000 (19:29 +0100)
ChangeLog
NEWS
buildtools/Cmake/Distrib.cmake
examples/simdag/CMakeLists.txt
src/simix/smx_smurf_private.h
src/smpi/smpicc.in
src/smpi/smpif90.in
src/surf/surf_routing.c
src/xbt/mmalloc/mm_diff.c

index 2cf30fd..00c3ebe 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -17,8 +17,8 @@ SimGrid (3.9) NOT RELEASED; urgency=low
 
  Documentation:
  * Major overhaul. Merge our documentation again as time proved that
-   spliting it was really not helping our users.
- * Further improve the developer documentation to help newcommers
+   splitting it was really not helping our users.
+ * Further improve the developer documentation to help newcomers
    hacking on SimGrid itself. The user documentation (and in
    particular, the beginner documentation) is still in a sorry state.
 
@@ -27,19 +27,21 @@ SimGrid (3.9) NOT RELEASED; urgency=low
  * Much more extensive test suite, from MPICH
 
  SIMDAG:
- * Add a new loader (SD_PTG_dotload) that creates a parallel task graph 
-  (i.e., a DAG whose nodes are parallel tasks) from a dot file. Creates a dynar
-   of SD_TASK_COMP_PAR_AMDAHL and SD_TASK_COMM_MXN_1D_BLOCK tasks.
- * Bug fix: let task be scheduled when the last dependency to be solved is a 
-   control dependency.
+ * Add a new loader (SD_PTG_dotload) that creates a parallel task graph
+  (i.e., a DAG whose nodes are parallel tasks) from a dot file. Creates a
+  dynar of SD_TASK_COMP_PAR_AMDAHL and SD_TASK_COMM_MXN_1D_BLOCK tasks.
+ * Bug fix: let task be scheduled when the last dependency to be solved is
+   control dependency.
  * Remove SD_load_environment_script function.
-   Use the C sg_platf function if you want to declare a platform programmatically  
+   Use the C sg_platf function if you want to declare a platform
+   programmatically.
 
  MSG:
  * New function: MSG_process_get_number()
  * Old function documented: MSG_config()
  * Remove MSG_load_platform_script function
-   Use the C sg_platf function if you want to declare a platform programmatically  
+   Use the C sg_platf function if you want to declare a platform
+   programmatically.
 
  SURF:
  * Change the default value of the TCP_gamma constant (maximal size of TCP
@@ -47,9 +49,9 @@ SimGrid (3.9) NOT RELEASED; urgency=low
    your simulation results, you can fall back to the previous 20k tiny window
    by adding --cfg=network/TCP_gamma:20000 on command line.
  * Bug fix about the way periodic availability/state traces are handled.
- * Bug fix: use default values at start when first event in availability/state 
+ * Bug fix: use default values at start when first event in availability/state
    trace is not at time 0.
-   
+
  PLATFORM:
  * remove the "new_" part of function name sg_platf_new_trace_connect
    (resulting in sg_platf_trace_connect), since it does not create
@@ -57,18 +59,18 @@ SimGrid (3.9) NOT RELEASED; urgency=low
 
  XBT:
  * Kill synchronized dynars, and xbt_dynar_dopar(). We cannot think of a
-   usecase where it's really mandatory, and maintaining it was a pain in
-   our codebase.
+   use case where it's really mandatory, and maintaining it was a pain in
+   our code base.
  * New: xbt_fifo_search(), search an item with a user-provided
    comparison function instead of dumb pointer comparison.
 
  LUA:
  * Fix the lua deployment:
-   Use `simgrid.init_application()` before deployment instead of 
+   Use `simgrid.init_application()` before deployment instead of
    `simgrid.msg_register_application()` after.
 
  TRACING:
- * Transfert the tracing files into the corresponding modules.
+ * Transfer the tracing files into the corresponding modules.
 
  -- $date Da SimGrid team <simgrid-devel@lists.gforge.inria.fr>
 
diff --git a/NEWS b/NEWS
index c8220be..221a8f8 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -8,7 +8,7 @@ The "Grasgory" release. Major changes:
 
  * Gras was completely removed from this version.
  * Documentation reorganization to ease browsing it.
+
                     _               _____  ___   _
 __   _____ _ __ ___(_) ___  _ __   |___ / ( _ ) / |
 \ \ / / _ \ '__/ __| |/ _ \| '_ \    |_ \ / _ \ | |
index ba1fc9c..cfb0beb 100644 (file)
@@ -5,6 +5,7 @@
 # doc
 file(MAKE_DIRECTORY ${CMAKE_HOME_DIRECTORY}/doc/shared/doxygen/)
 file(MAKE_DIRECTORY ${CMAKE_HOME_DIRECTORY}/doc/ref_guide/html/)
+file(MAKE_DIRECTORY ${CMAKE_HOME_DIRECTORY}/doc/user_guide/html/)
 
 install(DIRECTORY "${CMAKE_HOME_DIRECTORY}/doc/ref_guide/html/"
   DESTINATION "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/doc/simgrid/ref_guide/html/"
index d177379..32f6e6e 100644 (file)
@@ -57,7 +57,6 @@ set(tesh_files
   ${tesh_files}
   ${CMAKE_CURRENT_SOURCE_DIR}/test_simdag.tesh
   ${CMAKE_CURRENT_SOURCE_DIR}/test_simdag2.tesh
-  ${CMAKE_CURRENT_SOURCE_DIR}/test_simdag2_lua.tesh
   ${CMAKE_CURRENT_SOURCE_DIR}/test_simdag_comm_throttling.tesh
   ${CMAKE_CURRENT_SOURCE_DIR}/test_simdag_seq_access.tesh
   ${CMAKE_CURRENT_SOURCE_DIR}/test_simdag_tracing.tesh
index 82a65ca..a418dd0 100644 (file)
   inline static SIMCALL_FUNC_RETURN_TYPE(RES) simcall_BODY_##NAME(MAP(SIMCALL_ARG, ##__VA_ARGS__)) { \
     smx_process_t self = SIMIX_process_self(); \
     self->simcall.call = TYPE; \
+    memset(self->simcall.args, 0, sizeof(self->simcall.args));  \
     MAP_WITH_DEFAULT_ARGS(SIMCALL_INIT_FIELD, (), ##__VA_ARGS__) \
     if (self != simix_global->maestro_process) { \
       XBT_DEBUG("Yield process '%s' on simcall %s (%d)", self->name, \
index 1d1d843..1c6e3eb 100755 (executable)
@@ -6,10 +6,10 @@ INCLUDEARGS="@includeflag@"
 CMAKE_LINKARGS="-L@libdir@"
 
 if [ "@WIN32@" != "1" ]; then
-  CFLAGS="-O2 -Dmain=smpi_simulated_main__"
+  CFLAGS="-Dmain=smpi_simulated_main__"
   LINKARGS="-lsimgrid -lsmpi -lm"
 else
-  CFLAGS="-O2 -include @includedir@/smpi/smpi_main.h"
+  CFLAGS="-include @includedir@/smpi/smpi_main.h"
   LINKARGS="@libdir@\libsimgrid.dll @libdir@\libsmpi.dll"
 fi
 
index 5487477..d7cfde1 100644 (file)
@@ -5,7 +5,7 @@ CC=@CMAKE_Fortran_Compiler@
 INCLUDEARGS="@includeflag@"
 CMAKE_LINKARGS="-L@libdir@"
 
-FFLAGS="-O2 -ff2c "
+FFLAGS="-ff2c "
 LINKARGS="-lsimgrid -lsmpi -lm -lgfortran"
 main_name=main
 TMPFILE=$(mktemp).f90
index e4ce24d..cf77d31 100644 (file)
@@ -923,7 +923,7 @@ static void routing_parse_cluster(sg_platf_cluster_cbarg_t cluster)
   free(newid);
 
   //Make the backbone
-  if ((cluster->bb_bw != 0) && (cluster->bb_lat != 0)) {
+  if ((cluster->bb_bw != 0) || (cluster->bb_lat != 0)) {
     char *link_backbone = bprintf("%s_backbone", cluster->id);
     XBT_DEBUG("<link\tid=\"%s\" bw=\"%f\" lat=\"%f\"/>", link_backbone,
               cluster->bb_bw, cluster->bb_lat);
index 1bf6f9b..2aa4c8e 100644 (file)
@@ -145,7 +145,9 @@ int mmalloc_compare_heap(xbt_mheap_t heap1, xbt_mheap_t heap2, xbt_dynar_t *stac
   }
 
   /* Start comparison */
-  size_t i1, i2, j1, j2, k, current_block, current_fragment;
+  size_t i1, i2, j1, j2, k;
+  size_t current_block = -1;    /* avoid "maybe uninitialized" warning */
+  size_t current_fragment;
   void *addr_block1, *addr_block2, *addr_frag1, *addr_frag2;
   void *snap_addr_block1, *snap_addr_block2;
   char *stack_name;