Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
8 years agoCosmetics: use XBT_LOG_EXTERNAL_DEFAULT_CATEGORY where possible.
Arnaud Giersch [Wed, 28 Mar 2012 09:33:37 +0000 (11:33 +0200)]
Cosmetics: use XBT_LOG_EXTERNAL_DEFAULT_CATEGORY where possible.

8 years agoDeclare needed categories in XBT_LOG_CONNECT macro.
Arnaud Giersch [Wed, 28 Mar 2012 09:19:28 +0000 (11:19 +0200)]
Declare needed categories in XBT_LOG_CONNECT macro.

Also temporarily reactivate the assert in the non MSVC case,
to check the compilation.

8 years agoChild comes first when XBT_LOG_CONNECT is used.
Arnaud Giersch [Wed, 28 Mar 2012 09:12:31 +0000 (11:12 +0200)]
Child comes first when XBT_LOG_CONNECT is used.

I wonder if this ever worked...

8 years agoRemove references to undefined log categories.
Arnaud Giersch [Wed, 28 Mar 2012 08:07:55 +0000 (10:07 +0200)]
Remove references to undefined log categories.

8 years agoFix xbt_log_extract_hierarchy.pl.
Arnaud Giersch [Wed, 28 Mar 2012 08:03:39 +0000 (10:03 +0200)]
Fix xbt_log_extract_hierarchy.pl.

It was broken when log description cointained a comma.

8 years agoAdd a msg deprecated section on API
navarro [Wed, 28 Mar 2012 09:03:16 +0000 (11:03 +0200)]
Add a msg deprecated section on API

8 years agoUpdate documentation for MSG_USE_DEPRECATED and add option to cmake.
navarro [Wed, 28 Mar 2012 08:48:35 +0000 (10:48 +0200)]
Update documentation for MSG_USE_DEPRECATED and add option to cmake.

8 years agoif node_name function is defined, nodes are uniquely identified by its return
schnorr [Tue, 27 Mar 2012 14:50:01 +0000 (16:50 +0200)]
if node_name function is defined, nodes are uniquely identified by its return

8 years agocosmetics, fix indentation
schnorr [Tue, 27 Mar 2012 14:48:26 +0000 (16:48 +0200)]
cosmetics, fix indentation

8 years agodocument xbt graph functions
schnorr [Mon, 26 Mar 2012 13:46:32 +0000 (15:46 +0200)]
document xbt graph functions

8 years agouse complete variable name
schnorr [Mon, 26 Mar 2012 13:46:21 +0000 (15:46 +0200)]
use complete variable name

8 years agoAdd warning to set PATH and CLASSPATH on windows
unknown [Tue, 27 Mar 2012 14:06:36 +0000 (16:06 +0200)]
Add warning to set PATH and CLASSPATH on windows

8 years agoCorrectely find pcre.dll for windows
unknown [Tue, 27 Mar 2012 09:20:35 +0000 (11:20 +0200)]
Correctely find pcre.dll for windows

8 years agoFix surf_storage execution
navarro [Tue, 27 Mar 2012 11:59:17 +0000 (13:59 +0200)]
Fix surf_storage execution

8 years agoSIMGRID_DEPRECATED is changed for MSG_USE_DEPRECATED. The only way to use
navarro [Tue, 27 Mar 2012 10:40:05 +0000 (12:40 +0200)]
SIMGRID_DEPRECATED is changed for MSG_USE_DEPRECATED. The only way to use
deprecated functions is to give option -DMSG_USE_DEPRECATED to cmake.

8 years agoMake mallocators thread-safe
Arnaud Legrand [Mon, 26 Mar 2012 20:19:58 +0000 (22:19 +0200)]
Make mallocators thread-safe

8 years agotypo--
Arnaud Legrand [Mon, 26 Mar 2012 20:19:45 +0000 (22:19 +0200)]
typo--

8 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.

8 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.

8 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.

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

8 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

8 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

8 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.

8 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.

8 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.

8 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

8 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

8 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"

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

8 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

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

8 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

8 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

8 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

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

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

8 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

8 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

8 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

8 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

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

8 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

8 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

8 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

8 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

8 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)

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

8 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

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

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

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

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

8 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

8 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

8 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

8 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.

8 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.

8 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

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

8 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

8 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

8 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.

8 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

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

8 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

8 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

8 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

8 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

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

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

8 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.

8 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.

8 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.

8 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.

8 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.

8 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.

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

8 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.

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

8 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

8 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

8 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

8 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.

8 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

8 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

8 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

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

8 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

8 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

8 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

8 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

8 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

8 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

8 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)

8 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

8 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

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

8 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)

8 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