Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
10 years agoBe more defensive against broken parameters.
Arnaud Giersch [Mon, 26 Mar 2012 16:28:45 +0000 (18:28 +0200)]
Be more defensive against broken parameters.

Don't crash unnecessarily if argv[argc] doesn't exist.

10 years agoRevert "This commit breaks the simgrid-java execution; Revert "Avoid unnecessary...
Arnaud Giersch [Mon, 26 Mar 2012 16:19:26 +0000 (18:19 +0200)]
Revert "This commit breaks the simgrid-java execution; Revert "Avoid unnecessary loop.""

The java bindings should be ok now.

This reverts commit 599347b970dec2ad471021b8eecca62e8f0854e9.

10 years agoThis commit breaks the simgrid-java execution; Revert "Avoid unnecessary loop."
navarro [Mon, 26 Mar 2012 15:30:03 +0000 (17:30 +0200)]
This commit breaks the simgrid-java execution; Revert "Avoid unnecessary loop."

This reverts commit cc4648fab8081d9a69a366d34c82295849c556ba.

10 years agoOnly search on given path
navarro [Mon, 26 Mar 2012 13:12:15 +0000 (15:12 +0200)]
Only search on given path

10 years ago[trace] fix more two documentation warnings
schnorr [Mon, 26 Mar 2012 12:50:14 +0000 (14:50 +0200)]
[trace] fix more two documentation warnings

10 years ago[trace] fix warning in the documentation, missing section label
schnorr [Mon, 26 Mar 2012 12:46:43 +0000 (14:46 +0200)]
[trace] fix warning in the documentation, missing section label

10 years agoUpdate example for return values and more files.
navarro [Mon, 26 Mar 2012 12:11:24 +0000 (14:11 +0200)]
Update example for return values and more files.

10 years agoFirst step to return value on storage model.
navarro [Mon, 26 Mar 2012 12:10:14 +0000 (14:10 +0200)]
First step to return value on storage model.

10 years agoAdd 3 constraint to storage system.
navarro [Mon, 26 Mar 2012 12:09:48 +0000 (14:09 +0200)]
Add 3 constraint to storage system.
Bread, Bwirte and Bconnexion.

10 years agoRemove surf_file_t and smx_file_t for only m_file_t
navarro [Mon, 26 Mar 2012 12:06:06 +0000 (14:06 +0200)]
Remove surf_file_t and smx_file_t for only m_file_t

10 years ago[trace] these functions no longer exist
schnorr [Mon, 26 Mar 2012 08:04:16 +0000 (10:04 +0200)]
[trace] these functions no longer exist

10 years ago[trace] fix another memory leak when graph extraction is used with option "one link...
schnorr [Mon, 26 Mar 2012 07:23:32 +0000 (09:23 +0200)]
[trace] fix another memory leak when graph extraction is used with option "one link only"

10 years ago[trace] fix memory leak
schnorr [Mon, 26 Mar 2012 07:13:19 +0000 (09:13 +0200)]
[trace] fix memory leak

10 years ago[trace] better checks on setting cats, if NULL is provided, task is no longer traced
schnorr [Sun, 25 Mar 2012 20:57:06 +0000 (22:57 +0200)]
[trace] better checks on setting cats, if NULL is provided, task is no longer traced

10 years ago[trace] fix SimDag tracing
schnorr [Sat, 24 Mar 2012 22:23:02 +0000 (23:23 +0100)]
[trace] fix SimDag tracing

10 years ago[trace] clean-up of old tracing API
schnorr [Sat, 24 Mar 2012 22:08:38 +0000 (23:08 +0100)]
[trace] clean-up of old tracing API

10 years ago[trace] two new functions for the SD API (set/get tracing categories)
schnorr [Sat, 24 Mar 2012 22:00:23 +0000 (23:00 +0100)]
[trace] two new functions for the SD API (set/get tracing categories)
and their documentation

10 years ago[trace] pointers to SimDag API within category declaration
schnorr [Sat, 24 Mar 2012 21:59:14 +0000 (22:59 +0100)]
[trace] pointers to SimDag API within category declaration

10 years ago[trace] simplify SD function stack
schnorr [Sat, 24 Mar 2012 21:58:20 +0000 (22:58 +0100)]
[trace] simplify SD function stack

10 years ago[trace] function is now private
schnorr [Sat, 24 Mar 2012 21:57:02 +0000 (22:57 +0100)]
[trace] function is now private

10 years agoChangeLog updated with the latest changes in the tracing subsystem
schnorr [Sat, 24 Mar 2012 21:36:44 +0000 (22:36 +0100)]
ChangeLog updated with the latest changes in the tracing subsystem

10 years ago[trace] documenting function that creates a dot file from a SimGrid platform file
schnorr [Sat, 24 Mar 2012 21:12:29 +0000 (22:12 +0100)]
[trace] documenting function that creates a dot file from a SimGrid platform file

as always in the trace world:
- nodes, links and routers are graph nodes
- routes are graph edges

10 years ago[trace] in documentation, make reference to tracing API
schnorr [Sat, 24 Mar 2012 21:06:02 +0000 (22:06 +0100)]
[trace] in documentation, make reference to tracing API

10 years ago[trace] documentation for all the trace user variables API
schnorr [Sat, 24 Mar 2012 21:05:39 +0000 (22:05 +0100)]
[trace] documentation for all the trace user variables API

10 years ago[trace] cosmetics
schnorr [Sat, 24 Mar 2012 21:05:09 +0000 (22:05 +0100)]
[trace] cosmetics

10 years ago[trace] update examples with the new API for setting task category
schnorr [Sat, 24 Mar 2012 18:27:49 +0000 (19:27 +0100)]
[trace] update examples with the new API for setting task category

10 years ago[trace] function is no longer public
schnorr [Sat, 24 Mar 2012 18:22:07 +0000 (19:22 +0100)]
[trace] function is no longer public

10 years ago[trace] improve documentation of tracing API, make tracing.doc points to them
schnorr [Sat, 24 Mar 2012 18:21:35 +0000 (19:21 +0100)]
[trace] improve documentation of tracing API, make tracing.doc points to them

10 years agonew functions for the MSG API (set/get task category)
schnorr [Sat, 24 Mar 2012 17:08:12 +0000 (18:08 +0100)]
new functions for the MSG API (set/get task category)

details:
- only works if HAVE_TRACING is enabled

10 years agopreparing for tracing documentation (a new module called TRACE has been defined)
schnorr [Sat, 24 Mar 2012 16:34:47 +0000 (17:34 +0100)]
preparing for tracing documentation (a new module called TRACE has been defined)

10 years agoget rid of CHECK_HOST
schnorr [Fri, 23 Mar 2012 14:11:45 +0000 (15:11 +0100)]
get rid of CHECK_HOST

10 years agoAdd constraint for disk bandwidth connexion, read and write
navarro [Fri, 23 Mar 2012 15:47:46 +0000 (16:47 +0100)]
Add constraint for disk bandwidth connexion, read and write

10 years agoFix sleep for storage
navarro [Fri, 23 Mar 2012 15:37:38 +0000 (16:37 +0100)]
Fix sleep for storage

10 years agoMore explain for log
navarro [Fri, 23 Mar 2012 15:37:24 +0000 (16:37 +0100)]
More explain for log

10 years agoFix link to Contrib.
Arnaud Giersch [Fri, 23 Mar 2012 14:17:43 +0000 (15:17 +0100)]
Fix link to Contrib.

10 years agofix compilation error
schnorr [Fri, 23 Mar 2012 14:04:05 +0000 (15:04 +0100)]
fix compilation error

10 years agoimprove documentation of the MSG_task_listen* functions
schnorr [Fri, 23 Mar 2012 13:57:31 +0000 (14:57 +0100)]
improve documentation of the MSG_task_listen* functions

10 years agoimprove documentation for MSG_host_is_avail
schnorr [Fri, 23 Mar 2012 13:38:46 +0000 (14:38 +0100)]
improve documentation for MSG_host_is_avail

10 years agoimprove the documentation for the MSG_task_[send|receive]_* functions
schnorr [Fri, 23 Mar 2012 13:35:23 +0000 (14:35 +0100)]
improve the documentation for the MSG_task_[send|receive]_* functions

10 years agoUse type network_element_t instead of void*, and avoid unnecessary casts.
Arnaud Giersch [Fri, 23 Mar 2012 10:25:59 +0000 (11:25 +0100)]
Use type network_element_t instead of void*, and avoid unnecessary casts.

10 years agoHaving LD_LIBRARY_PATH is not mandatory.
Arnaud Giersch [Fri, 23 Mar 2012 09:23:45 +0000 (10:23 +0100)]
Having LD_LIBRARY_PATH is not mandatory.

Think of standard locations, like /usr/lib.

10 years agoFirst step to explain how to use log command line
navarro [Fri, 23 Mar 2012 13:32:28 +0000 (14:32 +0100)]
First step to explain how to use log command line

10 years agoGenerate doc for actions
navarro [Fri, 23 Mar 2012 13:05:28 +0000 (14:05 +0100)]
Generate doc for actions

10 years agoAdd missing documentation for msg_gos
navarro [Fri, 23 Mar 2012 12:30:50 +0000 (13:30 +0100)]
Add missing documentation for msg_gos

10 years agoLink for m_file_t works on doxygen now
navarro [Fri, 23 Mar 2012 11:36:25 +0000 (12:36 +0100)]
Link for m_file_t works on doxygen now

10 years agoWrite doc for MSG_file function.
navarro [Fri, 23 Mar 2012 10:32:38 +0000 (11:32 +0100)]
Write doc for MSG_file function.

10 years agoGtnets works with new struct network_element_t
navarro [Fri, 23 Mar 2012 09:46:18 +0000 (10:46 +0100)]
Gtnets works with new struct network_element_t

10 years agoUpdate doc for compiling gtnets
navarro [Thu, 22 Mar 2012 15:20:01 +0000 (16:20 +0100)]
Update doc for compiling gtnets

10 years agoFirst step to take care of constraint into storage model
navarro [Thu, 22 Mar 2012 14:35:04 +0000 (15:35 +0100)]
First step to take care of constraint into storage model

10 years agoRemove test for cmake 2.8 it fails the first time
navarro [Thu, 22 Mar 2012 14:33:07 +0000 (15:33 +0100)]
Remove test for cmake 2.8 it fails the first time

10 years agomissing documentation for these functions
schnorr [Thu, 22 Mar 2012 15:03:34 +0000 (16:03 +0100)]
missing documentation for these functions

details:
- still TODO (search for FIXME)
- if they are not \ingroup, they won't appear in the MSG functions list
and users won't know that they exist

10 years agoprototypes in public msg.h file should be marked XBT_PUBLIC
schnorr [Thu, 22 Mar 2012 15:02:26 +0000 (16:02 +0100)]
prototypes in public msg.h file should be marked XBT_PUBLIC

10 years agoStupid error.
Arnaud Giersch [Thu, 22 Mar 2012 14:20:44 +0000 (15:20 +0100)]
Stupid error.

10 years agoRegenerate memcheck_tests.cmake.
Arnaud Giersch [Thu, 22 Mar 2012 13:30:24 +0000 (14:30 +0100)]
Regenerate memcheck_tests.cmake.

10 years agoFix path for msg-trace tests.
Arnaud Giersch [Thu, 22 Mar 2012 13:28:24 +0000 (14:28 +0100)]
Fix path for msg-trace tests.

10 years agoAdd setenv GRAS_NO_WARN_EXPERIMENTAL=1 for gras tests.
Arnaud Giersch [Thu, 22 Mar 2012 13:14:48 +0000 (14:14 +0100)]
Add setenv GRAS_NO_WARN_EXPERIMENTAL=1 for gras tests.

The purpose is to deactivate the warning about the experimental status of GRAS,
which was making all tests to fail.

10 years agoUpdate tesh files for gras-rpc tests.
Arnaud Giersch [Thu, 22 Mar 2012 13:05:18 +0000 (14:05 +0100)]
Update tesh files for gras-rpc tests.

Those messages have disappeared.

10 years agoSimplify the construction af argv on process creation.
Arnaud Giersch [Thu, 22 Mar 2012 12:58:03 +0000 (13:58 +0100)]
Simplify the construction af argv on process creation.

Also add a terminating NULLC, following C convention.

10 years agoFix gras initialization messages.
Arnaud Giersch [Thu, 22 Mar 2012 10:25:16 +0000 (11:25 +0100)]
Fix gras initialization messages.

Write them *after* initialization of the XBT layer.

Also use XBT_WARN for the warning about experimental status of GRAS, and
add the possibility to disable it by setting the environment variable
GRAS_NO_WARN_EXPERIMENTAL.

10 years agoRemove useless message.
Arnaud Giersch [Thu, 22 Mar 2012 09:18:05 +0000 (10:18 +0100)]
Remove useless message.

It is never seen, since xbt_log is not initialized at this point.

10 years agoAvoid unnecessary loop.
Arnaud Giersch [Thu, 22 Mar 2012 07:26:22 +0000 (08:26 +0100)]
Avoid unnecessary loop.

10 years agoRegenerate examples/gras/synchro/test_sg_{32,64}.tesh.
Arnaud Giersch [Wed, 14 Mar 2012 10:23:01 +0000 (11:23 +0100)]
Regenerate examples/gras/synchro/test_sg_{32,64}.tesh.

10 years agodocument MSG tracing examples
schnorr [Thu, 22 Mar 2012 12:15:22 +0000 (13:15 +0100)]
document MSG tracing examples

10 years ago[trace] factor code also for extracting the graph (between ASes, hosts, routers)...
schnorr [Thu, 22 Mar 2012 11:28:02 +0000 (12:28 +0100)]
[trace] factor code also for extracting the graph (between ASes, hosts, routers) to the paje trace file

10 years ago[trace] factorizing code so we have just one way to get routes (between ASes, hosts...
schnorr [Thu, 22 Mar 2012 10:25:58 +0000 (11:25 +0100)]
[trace] factorizing code so we have just one way to get routes (between ASes, hosts, routers)

details:
- works only for graphicator

10 years agolet simgrid compile with NDEBUG and warnings are errors
schnorr [Thu, 22 Mar 2012 10:17:36 +0000 (11:17 +0100)]
let simgrid compile with NDEBUG and warnings are errors

10 years agoAdd tag config and path property to be more generic.
navarro [Thu, 22 Mar 2012 10:04:27 +0000 (11:04 +0100)]
Add tag config and path property to be more generic.

10 years agoImplement xbt_dict_t content for storage model
navarro [Thu, 22 Mar 2012 09:36:30 +0000 (10:36 +0100)]
Implement xbt_dict_t content for storage model

10 years agoChange for new url for git clone
navarro [Thu, 22 Mar 2012 09:35:53 +0000 (10:35 +0100)]
Change for new url for git clone

10 years agoFix documentation of task_create
Martin Quinson [Thu, 22 Mar 2012 06:16:44 +0000 (07:16 +0100)]
Fix documentation of task_create

A bug for a 2 lines commits was suboptimal. Next time, remember of
Neil Spring advice: "Don't ask me to add a feature. Send me a patch".

Fixes gforge's #14032

10 years agocosmetics
Martin Quinson [Thu, 22 Mar 2012 06:15:20 +0000 (07:15 +0100)]
cosmetics

10 years agorewrite the text README by dumping the newly written html documentation
Martin Quinson [Wed, 21 Mar 2012 20:48:08 +0000 (21:48 +0100)]
rewrite the text README by dumping the newly written html documentation

10 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Wed, 21 Mar 2012 20:32:00 +0000 (21:32 +0100)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

10 years agofurther improve the MSG doc by documenting the examples
Martin Quinson [Wed, 21 Mar 2012 20:31:48 +0000 (21:31 +0100)]
further improve the MSG doc by documenting the examples

10 years agothis is not an example that the users can read, but rather a regression test
Martin Quinson [Wed, 21 Mar 2012 19:39:30 +0000 (20:39 +0100)]
this is not an example that the users can read, but rather a regression test

10 years ago[trace] correct graph extraction for graphicator
schnorr [Wed, 21 Mar 2012 14:10:31 +0000 (15:10 +0100)]
[trace] correct graph extraction for graphicator

10 years ago[trace] update tesh to follow recent changes in the network topology extraction
schnorr [Wed, 21 Mar 2012 12:19:48 +0000 (13:19 +0100)]
[trace] update tesh to follow recent changes in the network topology extraction

10 years ago[trace] new example to show how to use TRACE_link_srcdst_variable_(set/add/sub)
schnorr [Wed, 21 Mar 2012 11:45:42 +0000 (12:45 +0100)]
[trace] new example to show how to use TRACE_link_srcdst_variable_(set/add/sub)

10 years ago[trace] add new example to show how to use link user variables
schnorr [Wed, 21 Mar 2012 10:30:37 +0000 (11:30 +0100)]
[trace] add new example to show how to use link user variables

10 years ago[trace] wipe out memory leaks in graphicator
schnorr [Wed, 21 Mar 2012 09:49:20 +0000 (10:49 +0100)]
[trace] wipe out memory leaks in graphicator

10 years ago[trace] update graphicator accordingly
schnorr [Wed, 21 Mar 2012 09:32:18 +0000 (10:32 +0100)]
[trace] update graphicator accordingly

10 years ago[trace] only one public function for extracting the graph of a platform
schnorr [Wed, 21 Mar 2012 09:21:49 +0000 (10:21 +0100)]
[trace] only one public function for extracting the graph of a platform

details:
- output the extracted graph to a graphviz dot file
- this is a side effect of the tracing system (the same algorithm is used
for the topological visualization)

10 years ago[trace] remove function from tracing interface, should be internal
schnorr [Wed, 21 Mar 2012 09:16:56 +0000 (10:16 +0100)]
[trace] remove function from tracing interface, should be internal

10 years ago[trace] add some comments, cosmetics
schnorr [Wed, 21 Mar 2012 08:37:53 +0000 (09:37 +0100)]
[trace] add some comments, cosmetics

10 years ago[trace] remove deprecated function from the compilation support when tracing is disable
schnorr [Wed, 21 Mar 2012 08:36:43 +0000 (09:36 +0100)]
[trace] remove deprecated function from the compilation support when tracing is disable

10 years agofix Memleack
navarro [Wed, 21 Mar 2012 10:05:38 +0000 (11:05 +0100)]
fix Memleack

10 years ago[trace] removing deprecated function from the tracing interface
schnorr [Wed, 21 Mar 2012 08:26:41 +0000 (09:26 +0100)]
[trace] removing deprecated function from the tracing interface

10 years agothis subdirectory was removed by previous commit
schnorr [Wed, 21 Mar 2012 08:25:59 +0000 (09:25 +0100)]
this subdirectory was removed by previous commit

10 years agokeep cmake informed that this example was removed
Martin Quinson [Tue, 20 Mar 2012 16:42:20 +0000 (17:42 +0100)]
keep cmake informed that this example was removed

10 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Tue, 20 Mar 2012 16:37:21 +0000 (17:37 +0100)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

10 years agothat example is useless too
Martin Quinson [Tue, 20 Mar 2012 16:36:06 +0000 (17:36 +0100)]
that example is useless too

10 years agoAdd print out for simulated time.
navarro [Tue, 20 Mar 2012 16:34:23 +0000 (17:34 +0100)]
Add print out for simulated time.

10 years agoDon't touch user tracing interface ;)
navarro [Tue, 20 Mar 2012 16:33:58 +0000 (17:33 +0100)]
Don't touch user tracing interface ;)

10 years agoremove a deprecated example file
Martin Quinson [Tue, 20 Mar 2012 16:33:13 +0000 (17:33 +0100)]
remove a deprecated example file

10 years agofix the lastest documentation warning
Martin Quinson [Tue, 20 Mar 2012 16:18:47 +0000 (17:18 +0100)]
fix the lastest documentation warning

10 years agoupdate surf doc to kill some more doc warnings
Martin Quinson [Tue, 20 Mar 2012 16:15:51 +0000 (17:15 +0100)]
update surf doc to kill some more doc warnings

10 years agorephrase a bit hte documentaiton of surf, and move it to the end of the list, as...
Martin Quinson [Tue, 20 Mar 2012 16:09:33 +0000 (17:09 +0100)]
rephrase a bit hte documentaiton of surf, and move it to the end of the list, as it is not for end users

10 years agoImprove MSG doc a bit
Martin Quinson [Tue, 20 Mar 2012 16:00:44 +0000 (17:00 +0100)]
Improve MSG doc a bit

It is impossible to document lua modules with doxygen so far, so don't
do a submenu to separate the C interface from the lua one, but add a
word about lua in a unique page, under MSG.

The C interface moves up directly under MSG, without any MSG_C in the
middle.

Move all MSG module creations into module-MSG.doc for simplicity (and
because this is the only way to finely control their order).

Also, drop channel documentation.

10 years agofurther doc fixups (and rewrite an error message)
Martin Quinson [Tue, 20 Mar 2012 15:31:59 +0000 (16:31 +0100)]
further doc fixups (and rewrite an error message)

10 years agothis is not the way to declare a link to the parameters, and we don't need a link...
Martin Quinson [Tue, 20 Mar 2012 15:05:10 +0000 (16:05 +0100)]
this is not the way to declare a link to the parameters, and we don't need a link to the line below actually