Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
7 years agobcast.tesh: "as much processes than hosts" is 5.
Arnaud Giersch [Mon, 2 Apr 2012 11:31:21 +0000 (13:31 +0200)]
bcast.tesh: "as much processes than hosts" is 5.

Change reduce.tesh accordingly.

7 years agosmpirun.in: various little fixes.
Arnaud Giersch [Mon, 2 Apr 2012 09:55:57 +0000 (11:55 +0200)]
smpirun.in: various little fixes.

7 years agoOptimize xbt_str_diff further.
Arnaud Giersch [Fri, 30 Mar 2012 15:34:41 +0000 (17:34 +0200)]
Optimize xbt_str_diff further.

Make it faster and less memory hungry when there are many lines and few
differences, for example when test tracing-trace_platform is failing...

The general idea is to reduce the problem size for diff_build_LCS/diff_build_diff.
This is done by finding, when it is easy, the start and the end of the result.
It's easy when the line are the same, or when a line from the one set does not appear
in the second set.

7 years agolittle sentence to hint about the location of missing documentation
Martin Quinson [Mon, 2 Apr 2012 03:43:20 +0000 (17:43 -1000)]
little sentence to hint about the location of missing documentation

7 years agoYou cannot say that SMPI has no documentation anymore
Martin Quinson [Mon, 2 Apr 2012 03:16:45 +0000 (17:16 -1000)]
You cannot say that SMPI has no documentation anymore

but you probably still can say that its documentation is too sparse
for absolute beginners. People used to MPI should find it sufficient
however.

7 years agosmpirun: Use the amount of processes in the hostfile as default value for the -np...
Martin Quinson [Mon, 2 Apr 2012 03:06:13 +0000 (17:06 -1000)]
smpirun: Use the amount of processes in the hostfile as default value for the -np parameter

Plus, some more checks

7 years agoBasic checks on the arguments provoded to smpirun
Martin Quinson [Mon, 2 Apr 2012 03:03:29 +0000 (17:03 -1000)]
Basic checks on the arguments provoded to smpirun

7 years agoignore some more binaries in git (mainly tracing)
Martin Quinson [Mon, 2 Apr 2012 02:27:38 +0000 (16:27 -1000)]
ignore some more binaries in git (mainly tracing)

7 years agoignore generated manpages
Martin Quinson [Mon, 2 Apr 2012 02:26:27 +0000 (16:26 -1000)]
ignore generated manpages

7 years agoa little program to help determining which memory chunk were modified during model...
Martin Quinson [Mon, 2 Apr 2012 02:25:37 +0000 (16:25 -1000)]
a little program to help determining which memory chunk were modified during model-checking. Still veeeery preliminary

7 years agosome more doc
Martin Quinson [Mon, 2 Apr 2012 02:24:11 +0000 (16:24 -1000)]
some more doc

7 years agoDrop support for broken compiler in log.h.
Arnaud Giersch [Thu, 29 Mar 2012 09:03:34 +0000 (11:03 +0200)]
Drop support for broken compiler in log.h.

7 years agoRemove dead code.
Arnaud Giersch [Fri, 30 Mar 2012 12:15:12 +0000 (14:15 +0200)]
Remove dead code.

7 years agoLog constructor: guard against multiple initializations.
Arnaud Giersch [Fri, 30 Mar 2012 12:10:01 +0000 (14:10 +0200)]
Log constructor: guard against multiple initializations.

7 years agoAdded and corrected some stuff in platform.doc. Moved some stuff from FAQ concerning...
Laurent Bobelin [Fri, 30 Mar 2012 10:46:20 +0000 (12:46 +0200)]
Added and corrected some stuff in platform.doc. Moved some stuff from FAQ concerning platform in the good file

7 years agoConnect categories before the beginning of main().
Arnaud Giersch [Fri, 30 Mar 2012 09:55:37 +0000 (11:55 +0200)]
Connect categories before the beginning of main().

This allows to list the user defined categories with --help-log-categories.

Unfortunately, this feature is only available when using gcc.

7 years agoAllow to give a priority to _XBT_GNUC_{CONS,DES}TRUCTOR.
Arnaud Giersch [Fri, 30 Mar 2012 09:53:05 +0000 (11:53 +0200)]
Allow to give a priority to _XBT_GNUC_{CONS,DES}TRUCTOR.

7 years agoDeclare the main log categories into their respective modules.
Arnaud Giersch [Thu, 29 Mar 2012 08:46:30 +0000 (10:46 +0200)]
Declare the main log categories into their respective modules.

7 years agoRemove unused log category.
Arnaud Giersch [Fri, 30 Mar 2012 09:40:26 +0000 (11:40 +0200)]
Remove unused log category.

7 years agoAlso connect main log categories.
Arnaud Giersch [Thu, 29 Mar 2012 09:40:07 +0000 (11:40 +0200)]
Also connect main log categories.

7 years agoFix xbt_log_extract_hierarchy.pl since XBT_LOG_CONNECT now has only one arg.
Arnaud Giersch [Thu, 29 Mar 2012 09:39:08 +0000 (11:39 +0200)]
Fix xbt_log_extract_hierarchy.pl since XBT_LOG_CONNECT now has only one arg.

7 years agoRemove unused 2nd parameter for XBT_LOG_CONNECT.
Arnaud Giersch [Fri, 30 Mar 2012 08:41:44 +0000 (10:41 +0200)]
Remove unused 2nd parameter for XBT_LOG_CONNECT.

7 years agoDefine a constructor function for each log category.
Arnaud Giersch [Fri, 30 Mar 2012 08:37:54 +0000 (10:37 +0200)]
Define a constructor function for each log category.

This function is in charge of correctly connecting parents and children.

7 years agoUse appropriate macro.
Arnaud Giersch [Fri, 30 Mar 2012 08:13:16 +0000 (10:13 +0200)]
Use appropriate macro.

7 years agoConnect categories before parsing the command line.
Arnaud Giersch [Thu, 29 Mar 2012 15:35:04 +0000 (17:35 +0200)]
Connect categories before parsing the command line.

7 years agoDeactivate this assert again.
Arnaud Giersch [Thu, 29 Mar 2012 10:06:17 +0000 (12:06 +0200)]
Deactivate this assert again.

7 years agoMissing include.
Arnaud Giersch [Thu, 29 Mar 2012 08:44:31 +0000 (10:44 +0200)]
Missing include.

7 years agoMissing newline.
Arnaud Giersch [Thu, 29 Mar 2012 09:18:17 +0000 (11:18 +0200)]
Missing newline.

7 years agoTools name has changed.
Arnaud Giersch [Thu, 29 Mar 2012 09:17:40 +0000 (11:17 +0200)]
Tools name has changed.

7 years agoWe can only include tag: include|cluster|peer|AS|trace|trace_connect
navarro [Thu, 29 Mar 2012 14:16:24 +0000 (16:16 +0200)]
We can only include tag: include|cluster|peer|AS|trace|trace_connect

7 years agoTry to clean platform files containing in examples/platform/ .
navarro [Thu, 29 Mar 2012 12:59:22 +0000 (14:59 +0200)]
Try to clean platform files containing in examples/platform/ .

7 years agonone_get_route_and_latency must set latency to 0.
navarro [Thu, 29 Mar 2012 12:16:16 +0000 (14:16 +0200)]
none_get_route_and_latency must set latency to 0.

7 years agoFix Tag include
navarro [Thu, 29 Mar 2012 12:15:28 +0000 (14:15 +0200)]
Fix Tag include

7 years agoUpdate platform documentation
navarro [Thu, 29 Mar 2012 12:14:28 +0000 (14:14 +0200)]
Update platform documentation

7 years agoCopy simgrid.dtd into simgrid versionning
navarro [Thu, 29 Mar 2012 12:14:12 +0000 (14:14 +0200)]
Copy simgrid.dtd into simgrid versionning

7 years agoUpdate installation of windows
navarro [Thu, 29 Mar 2012 08:36:27 +0000 (10:36 +0200)]
Update installation of windows

7 years ago[trace] fix tracing of network models
schnorr [Thu, 29 Mar 2012 08:23:39 +0000 (10:23 +0200)]
[trace] fix tracing of network models

7 years agofunction to get the weight of a constraint of a lmm variable
schnorr [Thu, 29 Mar 2012 08:17:08 +0000 (10:17 +0200)]
function to get the weight of a constraint of a lmm variable

7 years agoAdded a platform desc doc. Some infos are still missing, but I have to check them...
Laurent Bobelin [Thu, 29 Mar 2012 08:10:58 +0000 (10:10 +0200)]
Added a platform desc doc. Some infos are still missing, but I have to check them with some qualified guys ...

7 years agoLog sd_dotparse only exists when HAVE_GRAPHVIZ.
Arnaud Giersch [Wed, 28 Mar 2012 21:01:21 +0000 (23:01 +0200)]
Log sd_dotparse only exists when HAVE_GRAPHVIZ.

7 years agoDefine HAVE_GRAPHVIZ for C code.
Arnaud Giersch [Wed, 28 Mar 2012 21:00:35 +0000 (23:00 +0200)]
Define HAVE_GRAPHVIZ for C code.

7 years agoUpdate ChangeLog.
Arnaud Giersch [Wed, 28 Mar 2012 20:06:40 +0000 (22:06 +0200)]
Update ChangeLog.

7 years agoHandle --help-log* options from xbt_log_init.
Arnaud Giersch [Wed, 28 Mar 2012 19:30:02 +0000 (21:30 +0200)]
Handle --help-log* options from xbt_log_init.

7 years agoRemove --*-log options that are deprecated since nearly 5 years.
Arnaud Giersch [Wed, 28 Mar 2012 19:26:18 +0000 (21:26 +0200)]
Remove --*-log options that are deprecated since nearly 5 years.

See commit 795baf0.

7 years agoAdd missing calls to XBT_LOG_CONNECT.
Arnaud Giersch [Wed, 28 Mar 2012 16:19:58 +0000 (18:19 +0200)]
Add missing calls to XBT_LOG_CONNECT.

7 years agoMove all XBT_LOG_CONNECT into one place.
Arnaud Giersch [Wed, 28 Mar 2012 14:51:31 +0000 (16:51 +0200)]
Move all XBT_LOG_CONNECT into one place.

7 years agoBackslashes should be doubled in C strings.
Arnaud Giersch [Wed, 28 Mar 2012 14:56:31 +0000 (16:56 +0200)]
Backslashes should be doubled in C strings.

Fix xbt_log_extract_hierarchy accordingly.

7 years agoKill dead commented code.
Arnaud Giersch [Wed, 28 Mar 2012 14:30:34 +0000 (16:30 +0200)]
Kill dead commented code.

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

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

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

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

7 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()?

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

7 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!

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

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

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

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

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

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

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

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

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

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

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

7 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

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

7 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

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

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

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

7 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

7 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

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

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

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

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

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

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

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

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

7 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

7 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

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

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

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

7 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

7 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

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

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

7 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

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

7 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

7 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

7 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

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

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

7 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

7 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