Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
9 years agoInitialize categories through XBT_LOG_CONNECT,
Arnaud Giersch [Wed, 28 Mar 2012 14:11:20 +0000 (16:11 +0200)]
Initialize categories through XBT_LOG_CONNECT,
so that they are correctly listed with --help-log-categories.

It's a bit harsh, but I cannot imagine any other way to achieve this.

9 years agoTypo.
Arnaud Giersch [Wed, 28 Mar 2012 13:55:18 +0000 (15:55 +0200)]
Typo.

9 years agoRemember the description for log categories.
Arnaud Giersch [Wed, 28 Mar 2012 13:52:14 +0000 (15:52 +0200)]
Remember the description for log categories.

9 years agoFirst attempt to display log categoy hierarchy.
Arnaud Giersch [Wed, 28 Mar 2012 13:41:54 +0000 (15:41 +0200)]
First attempt to display log categoy hierarchy.

9 years agoMove LOG_help() from surf_config.c to log.c.
Arnaud Giersch [Wed, 28 Mar 2012 13:31:36 +0000 (15:31 +0200)]
Move LOG_help() from surf_config.c to log.c.

Should the calls to xbt_log_help() be moved in xbt_log_init()?

9 years agoCosmetics: add an empty line after help messages.
Arnaud Giersch [Wed, 28 Mar 2012 13:01:41 +0000 (15:01 +0200)]
Cosmetics: add an empty line after help messages.

9 years agoVariable i is already used by outer loop!
Arnaud Giersch [Wed, 28 Mar 2012 12:54:48 +0000 (14:54 +0200)]
Variable i is already used by outer loop!

9 years agosurf_config_cmd_line: allow to give several --help-* options at the same time.
Arnaud Giersch [Wed, 28 Mar 2012 12:45:55 +0000 (14:45 +0200)]
surf_config_cmd_line: allow to give several --help-* options at the same time.

9 years agosurf_config_cmd_line: simplify the deletion of used args.
Arnaud Giersch [Wed, 28 Mar 2012 12:38:14 +0000 (14:38 +0200)]
surf_config_cmd_line: simplify the deletion of used args.

9 years agoUsing strcmp is sufficient here.
Arnaud Giersch [Wed, 28 Mar 2012 12:33:37 +0000 (14:33 +0200)]
Using strcmp is sufficient here.

9 years agoCosmetics: reindent constant strings for help messages.
Arnaud Giersch [Wed, 28 Mar 2012 12:29:28 +0000 (14:29 +0200)]
Cosmetics: reindent constant strings for help messages.

9 years agoCosmetics: sort calls to XBT_LOG_CONNECT.
Arnaud Giersch [Wed, 28 Mar 2012 09:45:40 +0000 (11:45 +0200)]
Cosmetics: sort calls to XBT_LOG_CONNECT.

9 years agoRemove useless use of XBT_LOG_EXTERNAL_CATEGORY.
Arnaud Giersch [Wed, 28 Mar 2012 09:34:28 +0000 (11:34 +0200)]
Remove useless use of XBT_LOG_EXTERNAL_CATEGORY.

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

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

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

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

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

9 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

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

9 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

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

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

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

9 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

9 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

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

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

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

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

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

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

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

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

9 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

9 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

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

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

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

9 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

9 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

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

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

9 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

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

9 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

9 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

9 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

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

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

9 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

9 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

9 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

9 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

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

9 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

9 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

9 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

9 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

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

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

9 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

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

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

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

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

9 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

9 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

9 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

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

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

9 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

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

9 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

9 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

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

9 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

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

9 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

9 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

9 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

9 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

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

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

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

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

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

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

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

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

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

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

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

9 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

9 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

9 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

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

9 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

9 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

9 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