Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
11 years agosecurity commit before using the ax!
suter [Mon, 4 Feb 2013 14:42:30 +0000 (15:42 +0100)]
security commit before using the ax!

11 years agochange generated trace format
suter [Mon, 4 Feb 2013 14:23:36 +0000 (15:23 +0100)]
change generated trace format
cosmetics

11 years agodoesn't hurt to use types expected by some xbt_dynar functions
suter [Fri, 1 Feb 2013 10:56:53 +0000 (11:56 +0100)]
doesn't hurt to use types expected by some xbt_dynar functions

11 years agoRewrite xbt_getline.
Arnaud Giersch [Mon, 4 Feb 2013 14:54:29 +0000 (15:54 +0100)]
Rewrite xbt_getline.

* fix a buffer overflow
* correctly return -1 when nothing can be read

11 years agoAvoid to return from inside a TRY block.
Arnaud Giersch [Mon, 4 Feb 2013 14:05:27 +0000 (15:05 +0100)]
Avoid to return from inside a TRY block.

11 years agoInitialize variable.
Arnaud Giersch [Mon, 4 Feb 2013 13:24:27 +0000 (14:24 +0100)]
Initialize variable.

Useless, but gcc whines if not initialized.

11 years agoAdd a new test on availability for the SimDAG API.
Arnaud Legrand [Mon, 4 Feb 2013 09:53:17 +0000 (10:53 +0100)]
Add a new test on availability for the SimDAG API.
Issue was reported by Ricardo Rodriguez on 29/12/12 and fixed in
previous commits.

11 years agoThis way of passing arguments has changed since a long time.
Arnaud Legrand [Mon, 4 Feb 2013 10:49:53 +0000 (11:49 +0100)]
This way of passing arguments has changed since a long time.
Fixing all tesh files accordingly. Yet, now that this mechanism is
effective, absolute paths are output everywhere, hence the need to
hide just like we do for contexts. I wish I had a cleaner solution but
I don't.

11 years agoBug fix in trace management.
Arnaud Legrand [Mon, 4 Feb 2013 13:04:14 +0000 (14:04 +0100)]
Bug fix in trace management.
When using periodicity, the first event indicates when events start and
has undefined value (-1) as the value of the resource is used (e.g., the
bandwidth value precised in the xml file). When looping with periodicity,
the -1 value was used, which resulted in links with bandwidth -1.0 and
could be noticed only in very specific situations.

11 years agoBug fix. The date given when updating the state of a resource was incorrect. It could...
Arnaud Legrand [Mon, 4 Feb 2013 13:01:18 +0000 (14:01 +0100)]
Bug fix. The date given when updating the state of a resource was incorrect. It could result in incoherent traces.

11 years agoAdditionnal information never hurt.
Arnaud Legrand [Mon, 4 Feb 2013 13:00:12 +0000 (14:00 +0100)]
Additionnal information never hurt.

11 years agoDocfix
Arnaud Legrand [Mon, 4 Feb 2013 09:53:33 +0000 (10:53 +0100)]
Docfix

11 years agoFurther cleanup in the ignore file
Martin Quinson [Mon, 4 Feb 2013 12:50:24 +0000 (13:50 +0100)]
Further cleanup in the ignore file

- ignore the files touched to track dependencies around java examples
- don't ignore the files for the gras tutorial, as there is no such
  tutorial anymore

11 years agouse our xbt_getline on every platform to ease our cmake mess
Martin Quinson [Mon, 4 Feb 2013 12:12:34 +0000 (13:12 +0100)]
use our xbt_getline on every platform to ease our cmake mess

Also, as stdio.h is not loaded by root headers of the simgrid tree, we
need to explicitely load it in some locations.

11 years agoalways have display_timing activated for smpi, as it is quite useful
Augustin Degomme [Mon, 28 Jan 2013 10:51:26 +0000 (11:51 +0100)]
always have display_timing activated for smpi, as it is quite useful

11 years agoRename getline as xbt_getline.
Arnaud Giersch [Sun, 3 Feb 2013 23:01:00 +0000 (00:01 +0100)]
Rename getline as xbt_getline.

11 years agoUpdate documentation about java bindings.
Arnaud Giersch [Sun, 3 Feb 2013 21:28:23 +0000 (22:28 +0100)]
Update documentation about java bindings.

11 years agoFix javadoc warnings.
Arnaud Giersch [Sun, 3 Feb 2013 21:21:49 +0000 (22:21 +0100)]
Fix javadoc warnings.

11 years agoMake javadoc less verbose.
Arnaud Giersch [Sun, 3 Feb 2013 21:09:51 +0000 (22:09 +0100)]
Make javadoc less verbose.

11 years agoAdd MPI_Alltoallv support to the SMPI replay tool. Make it easy to change MPI_Datatyp...
George Markomanolis [Sun, 3 Feb 2013 21:06:59 +0000 (23:06 +0200)]
Add MPI_Alltoallv support to the SMPI replay tool. Make it easy to change MPI_Datatype for the SMPI replay tool (IS benchmark uses MPI_INT and some others use MPI_BYTE)

11 years agoConnect log categories used in java bindings.
Arnaud Giersch [Sun, 3 Feb 2013 01:17:02 +0000 (02:17 +0100)]
Connect log categories used in java bindings.

11 years agoChange message to debug loglevel.
Arnaud Giersch [Sun, 3 Feb 2013 00:35:52 +0000 (01:35 +0100)]
Change message to debug loglevel.

11 years agoFix java examples: catch exceptions on failures.
Arnaud Giersch [Sun, 3 Feb 2013 00:14:39 +0000 (01:14 +0100)]
Fix java examples: catch exceptions on failures.

11 years agoDon't let exceptions pass through the MSG layer.
Arnaud Giersch [Sat, 2 Feb 2013 23:57:32 +0000 (00:57 +0100)]
Don't let exceptions pass through the MSG layer.

11 years agoTypo.
Arnaud Giersch [Sat, 2 Feb 2013 23:45:16 +0000 (00:45 +0100)]
Typo.

11 years agoRun Java tests from build directory, instead of source directory.
Arnaud Giersch [Sat, 2 Feb 2013 23:38:52 +0000 (00:38 +0100)]
Run Java tests from build directory, instead of source directory.

11 years agoRemove output file after run.
Arnaud Giersch [Sat, 2 Feb 2013 23:27:39 +0000 (00:27 +0100)]
Remove output file after run.

11 years agoThere's no test for java_io.
Arnaud Giersch [Sat, 2 Feb 2013 23:25:17 +0000 (00:25 +0100)]
There's no test for java_io.

11 years agoImprove dependencies around simgrid.jar (again).
Arnaud Giersch [Sat, 2 Feb 2013 22:57:40 +0000 (23:57 +0100)]
Improve dependencies around simgrid.jar (again).

11 years agoStrip libraries in release mode only.
Arnaud Giersch [Sat, 2 Feb 2013 15:42:44 +0000 (16:42 +0100)]
Strip libraries in release mode only.

11 years agoSG_java_tracing is not a separate library anymore.
Arnaud Giersch [Sat, 2 Feb 2013 15:04:04 +0000 (16:04 +0100)]
SG_java_tracing is not a separate library anymore.

11 years agoImprove output of check_dist_archive.
Arnaud Giersch [Sat, 2 Feb 2013 14:52:03 +0000 (15:52 +0100)]
Improve output of check_dist_archive.

11 years agocleanups in .gitignore files
Martin Quinson [Sat, 2 Feb 2013 23:31:45 +0000 (00:31 +0100)]
cleanups in .gitignore files

- re-kill two files that got re-added when merging with github
- ignore java compiled files

11 years agoMerge branch 'master' of github.com:mquinson/simgrid
Martin Quinson [Sat, 2 Feb 2013 23:29:42 +0000 (00:29 +0100)]
Merge branch 'master' of github.com:mquinson/simgrid

11 years agoUpdate the MPI_Waitall for SMPI replay tool, remove unnecessary loop
George Markomanolis [Fri, 1 Feb 2013 15:03:01 +0000 (17:03 +0200)]
Update the MPI_Waitall for SMPI replay tool, remove unnecessary loop

11 years agoAnother fix in build depends.
Arnaud Giersch [Fri, 1 Feb 2013 10:47:01 +0000 (11:47 +0100)]
Another fix in build depends.

Hope it is correct now.

Workaround a bug in cmake -E touch, where the modifiction time is
truncated when file exists.

11 years agomodel-checker : remove var in list of global variables with MC_ignore_data_bss
Marion Guthmuller [Fri, 1 Feb 2013 11:06:04 +0000 (12:06 +0100)]
model-checker : remove var in list of global variables with MC_ignore_data_bss

11 years agoAdd missing files for dist.
Arnaud Giersch [Fri, 1 Feb 2013 10:17:04 +0000 (11:17 +0100)]
Add missing files for dist.

11 years agoConsolidate .gitignore files.
Arnaud Giersch [Fri, 1 Feb 2013 10:14:59 +0000 (11:14 +0100)]
Consolidate .gitignore files.

11 years agomodel-checker : fix index of dynar in get_location
Marion Guthmuller [Fri, 1 Feb 2013 10:13:15 +0000 (11:13 +0100)]
model-checker : fix index of dynar in get_location

11 years agoTry to guess JSG_BUNDLE on unknown systems.
Arnaud Giersch [Fri, 1 Feb 2013 10:03:03 +0000 (11:03 +0100)]
Try to guess JSG_BUNDLE on unknown systems.

11 years agoAdd rules to install Java bindings.
Arnaud Giersch [Fri, 1 Feb 2013 09:52:14 +0000 (10:52 +0100)]
Add rules to install Java bindings.

11 years agoFix library name.
Arnaud Giersch [Fri, 1 Feb 2013 09:40:27 +0000 (10:40 +0100)]
Fix library name.

11 years agochainsend: remove active wait at peer termination
Maximiliano Geier [Fri, 1 Feb 2013 09:42:02 +0000 (10:42 +0100)]
chainsend: remove active wait at peer termination

11 years agoUse predefined variables instead of hardcoded values. Fix #15322.
Arnaud Giersch [Fri, 1 Feb 2013 09:22:15 +0000 (10:22 +0100)]
Use predefined variables instead of hardcoded values.  Fix #15322.

11 years agoTypo.
Arnaud Giersch [Fri, 1 Feb 2013 09:00:39 +0000 (10:00 +0100)]
Typo.

11 years agoFix dependencies for Java and its examples.
Arnaud Giersch [Fri, 1 Feb 2013 01:18:36 +0000 (02:18 +0100)]
Fix dependencies for Java and its examples.

Try to avoid to rebuild targets when not needed.

11 years agoDo the right thing for 'root' and 'end' in dot_add_parallel_task
suter [Fri, 1 Feb 2013 09:20:14 +0000 (10:20 +0100)]
Do the right thing for 'root' and 'end' in dot_add_parallel_task
Various cosmetics

11 years agotypo
suter [Fri, 1 Feb 2013 08:37:22 +0000 (09:37 +0100)]
typo

11 years agochainsend: reduce filesize in tesh to avoid timeouts in slow platforms
Maximiliano Geier [Fri, 1 Feb 2013 09:04:19 +0000 (10:04 +0100)]
chainsend: reduce filesize in tesh to avoid timeouts in slow platforms

11 years agochainsend: remove end of data message, send that information at chain initialization
Maximiliano Geier [Fri, 1 Feb 2013 08:59:39 +0000 (09:59 +0100)]
chainsend: remove end of data message, send that information at chain initialization

11 years agobugfix in Task.setDataSize(): change both C and Java worlds
Martin Quinson [Fri, 1 Feb 2013 00:46:57 +0000 (01:46 +0100)]
bugfix in Task.setDataSize(): change both C and Java worlds

11 years agoCompile with a recent flexml
Martin Quinson [Fri, 1 Feb 2013 00:38:57 +0000 (01:38 +0100)]
Compile with a recent flexml

11 years agomake it compile in paranoid mode
Martin Quinson [Fri, 1 Feb 2013 00:38:12 +0000 (01:38 +0100)]
make it compile in paranoid mode

11 years agoignore some new stuff
Martin Quinson [Thu, 31 Jan 2013 21:01:12 +0000 (22:01 +0100)]
ignore some new stuff

11 years agomodel-checker : update tesh bugged1_liveness and chord_neverjoin
Marion Guthmuller [Thu, 31 Jan 2013 23:55:28 +0000 (00:55 +0100)]
model-checker : update tesh bugged1_liveness and chord_neverjoin

11 years agomodel-checker : remove trigger for state equality detection
Marion Guthmuller [Thu, 31 Jan 2013 22:33:43 +0000 (23:33 +0100)]
model-checker : remove trigger for state equality detection

11 years agomodel-checker : debug message if log enabled
Marion Guthmuller [Thu, 31 Jan 2013 22:32:03 +0000 (23:32 +0100)]
model-checker : debug message if log enabled

11 years agomodel-checker : variable used ifdef MC_VERBOSE
Marion Guthmuller [Thu, 31 Jan 2013 22:23:19 +0000 (23:23 +0100)]
model-checker : variable used ifdef MC_VERBOSE

11 years agomodel-checker : start heap comparison from local variables
Marion Guthmuller [Thu, 31 Jan 2013 22:05:51 +0000 (23:05 +0100)]
model-checker : start heap comparison from local variables

11 years agomodel-checker : fix get_local_variables
Marion Guthmuller [Wed, 30 Jan 2013 22:34:25 +0000 (23:34 +0100)]
model-checker : fix get_local_variables

11 years agomodel-checker : get bytes used in std_heap instead of chunks used
Marion Guthmuller [Wed, 30 Jan 2013 16:18:01 +0000 (17:18 +0100)]
model-checker : get bytes used in std_heap instead of chunks used

11 years agomodel-checker : remove unnecessary variable
Marion Guthmuller [Wed, 30 Jan 2013 16:12:27 +0000 (17:12 +0100)]
model-checker : remove unnecessary variable

11 years agoRemove remaining cruft from simgrid-java import.
Arnaud Giersch [Thu, 31 Jan 2013 23:44:28 +0000 (00:44 +0100)]
Remove remaining cruft from simgrid-java import.

11 years agoEnable tests for all Java examples.
Arnaud Giersch [Thu, 31 Jan 2013 23:34:50 +0000 (00:34 +0100)]
Enable tests for all Java examples.

11 years agoEnable build for all Java examples.
Arnaud Giersch [Thu, 31 Jan 2013 23:34:50 +0000 (00:34 +0100)]
Enable build for all Java examples.

11 years agoOops... forgot to include Java bindings for tracing.
Arnaud Giersch [Thu, 31 Jan 2013 23:34:50 +0000 (00:34 +0100)]
Oops... forgot to include Java bindings for tracing.

11 years agoAvoid to modify simgrid.jar at each build.
Arnaud Giersch [Thu, 31 Jan 2013 23:34:50 +0000 (00:34 +0100)]
Avoid to modify simgrid.jar at each build.

11 years agoignore some new stuff
Martin Quinson [Thu, 31 Jan 2013 21:01:12 +0000 (22:01 +0100)]
ignore some new stuff

11 years agoMerge branch 'with_java'
Arnaud Giersch [Thu, 31 Jan 2013 21:05:30 +0000 (22:05 +0100)]
Merge branch 'with_java'

11 years agoAdd CMakeLists.txt for examples/java.
Arnaud Giersch [Thu, 31 Jan 2013 21:00:14 +0000 (22:00 +0100)]
Add CMakeLists.txt for examples/java.

11 years agoUpdate CMakeLists.txt for java_bittorrent.
Arnaud Giersch [Thu, 31 Jan 2013 20:58:36 +0000 (21:58 +0100)]
Update CMakeLists.txt for java_bittorrent.

11 years agoAdding MPI_Alltoall and MPI_Waitall to the SMPI replay tool
George Markomanolis [Thu, 31 Jan 2013 20:51:04 +0000 (22:51 +0200)]
Adding MPI_Alltoall and MPI_Waitall to the SMPI replay tool

11 years agoFix path.
Arnaud Giersch [Thu, 31 Jan 2013 21:22:22 +0000 (22:22 +0100)]
Fix path.

11 years agodon't compile simdag_trace if Tracing is off
suter [Thu, 31 Jan 2013 21:11:46 +0000 (22:11 +0100)]
don't compile simdag_trace if Tracing is off

11 years agoprotect TRACE_sd_dotloader in case Tracing is off
suter [Thu, 31 Jan 2013 20:58:03 +0000 (21:58 +0100)]
protect TRACE_sd_dotloader in case Tracing is off

11 years agoFinal fix for the java-bittorrent example.
Arnaud Giersch [Thu, 31 Jan 2013 20:31:14 +0000 (21:31 +0100)]
Final fix for the java-bittorrent example.

11 years agoCombine the native libraries in simgrid.jar.
Arnaud Giersch [Thu, 31 Jan 2013 20:29:35 +0000 (21:29 +0100)]
Combine the native libraries in simgrid.jar.

11 years agoMove around remaining files from SimGrid-java.
Arnaud Giersch [Thu, 31 Jan 2013 20:24:37 +0000 (21:24 +0100)]
Move around remaining files from SimGrid-java.

11 years agoAdd java-bittorrent example (still not working).
Arnaud Giersch [Thu, 31 Jan 2013 17:59:10 +0000 (18:59 +0100)]
Add java-bittorrent example (still not working).

11 years agoFix warning: [cast] redundant cast to java.lang.String.
Arnaud Giersch [Thu, 31 Jan 2013 16:28:17 +0000 (17:28 +0100)]
Fix warning: [cast] redundant cast to java.lang.String.

11 years agoEnable compile warnings for Java too.
Arnaud Giersch [Thu, 31 Jan 2013 16:27:08 +0000 (17:27 +0100)]
Enable compile warnings for Java too.

11 years agoDon't define variables in header file.!
Arnaud Giersch [Thu, 31 Jan 2013 16:19:45 +0000 (17:19 +0100)]
Don't define variables in header file.!

11 years agoDon't catch exceptions if you don't know what to do after that!
Arnaud Giersch [Thu, 31 Jan 2013 15:56:34 +0000 (16:56 +0100)]
Don't catch exceptions if you don't know what to do after that!

MSG functions should normally not throw any exception.

Fixes warnings about "maybe uninitialized variables".

11 years agoBuild simgrid.jar.
Arnaud Giersch [Thu, 31 Jan 2013 15:11:02 +0000 (16:11 +0100)]
Build simgrid.jar.

11 years agoBuild libSG_java.
Arnaud Giersch [Thu, 31 Jan 2013 13:49:06 +0000 (14:49 +0100)]
Build libSG_java.

11 years agoDefine Java source files.
Arnaud Giersch [Thu, 31 Jan 2013 10:55:23 +0000 (11:55 +0100)]
Define Java source files.

11 years agoThis file is useless now.
Arnaud Giersch [Thu, 31 Jan 2013 10:48:54 +0000 (11:48 +0100)]
This file is useless now.

11 years agoAdd Cmake option "enable_java", and search for required dependencies.
Arnaud Giersch [Thu, 31 Jan 2013 10:47:20 +0000 (11:47 +0100)]
Add Cmake option "enable_java", and search for required dependencies.

11 years agofinal revalidation of this multi-example
suter [Thu, 31 Jan 2013 14:21:49 +0000 (15:21 +0100)]
final revalidation of this multi-example

11 years agomore complicated than expected. should be okay now.
suter [Thu, 31 Jan 2013 14:21:21 +0000 (15:21 +0100)]
more complicated than expected. should be okay now.

11 years agoSimplify the way files are handled
suter [Thu, 31 Jan 2013 13:23:43 +0000 (14:23 +0100)]
Simplify the way files are handled
More debug

11 years agorevalidate that too
suter [Thu, 31 Jan 2013 10:31:42 +0000 (11:31 +0100)]
revalidate that too

11 years agoreally revalide tesh (loader set some categories)
suter [Thu, 31 Jan 2013 10:29:19 +0000 (11:29 +0100)]
really revalide tesh (loader set some categories)

11 years agorevalidate tesh with category dumping
suter [Thu, 31 Jan 2013 10:14:53 +0000 (11:14 +0100)]
revalidate tesh with category dumping

11 years agorevalidate tesh file
suter [Thu, 31 Jan 2013 10:12:03 +0000 (11:12 +0100)]
revalidate tesh file

11 years agouse new category setting function name
suter [Thu, 31 Jan 2013 10:11:50 +0000 (11:11 +0100)]
use new category setting function name

11 years agomake the category setting function public
suter [Thu, 31 Jan 2013 10:08:04 +0000 (11:08 +0100)]
make the category setting function public

11 years agoWarn the user that declaring explicitly 'root' and/or 'end' task in
suter [Thu, 31 Jan 2013 09:55:33 +0000 (10:55 +0100)]
Warn the user that declaring explicitly 'root' and/or 'end' task in
the DOT file will be ignored. These two tasks have to be dummy ones
and are overwritten anyway.
Add debug

11 years agoadd default categories to typed tasks
suter [Thu, 31 Jan 2013 09:53:00 +0000 (10:53 +0100)]
add default categories to typed tasks
remove category set/get functions
dump category if set