Christophe Thiéry [Tue, 27 Sep 2011 14:37:40 +0000 (16:37 +0200)]
Merge branch 'lua' of git+ssh://scm.gforge.inria.fr//gitroot//simgrid/simgrid into lua
Conflicts:
src/bindings/lua/simgrid_lua.c
Christophe Thiéry [Tue, 27 Sep 2011 14:24:25 +0000 (16:24 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot//simgrid/simgrid
Christophe Thiéry [Tue, 27 Sep 2011 14:23:48 +0000 (16:23 +0200)]
Revert "Implementing Lua simulated processes as independent Lua states"
This reverts commit
2fda1afe4cce38e40bc19930b4c72cb63eee2937.
Christophe Thiéry [Tue, 27 Sep 2011 14:22:54 +0000 (16:22 +0200)]
Revert "These messages should be print in debug logs only"
This reverts commit
ce5366b7ccfd889609351fcdd759891a2ceb0c9a.
Christophe Thiéry [Tue, 27 Sep 2011 14:22:33 +0000 (16:22 +0200)]
Revert "Fix format string error."
This reverts commit
fa45f2acc4946349e99256a79b5d45b51462f404.
Navarrop [Tue, 27 Sep 2011 14:21:59 +0000 (16:21 +0200)]
This file should not be in git repository.
Ignore *.l files generated by maintainer mode.
Christophe Thiéry [Tue, 27 Sep 2011 14:17:38 +0000 (16:17 +0200)]
Improve formatting of debug info
Arnaud Giersch [Tue, 27 Sep 2011 12:13:34 +0000 (14:13 +0200)]
Fix format string error.
./src/bindings/lua/simgrid_lua.c: In function ‘value_tostring’:
./src/bindings/lua/simgrid_lua.c:90:7: error: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘size_t’ [-Werror=format]
Arnaud Giersch [Tue, 13 Sep 2011 08:20:51 +0000 (10:20 +0200)]
Free exception.
Arnaud Giersch [Thu, 8 Sep 2011 13:53:03 +0000 (15:53 +0200)]
Commit changes to simgrid_dtd.l.
Arnaud Giersch [Thu, 8 Sep 2011 14:00:24 +0000 (16:00 +0200)]
Inline macro _XBT_LOG_EV_BUFFER_ZERO and remove its definition.
unknown [Tue, 27 Sep 2011 10:35:17 +0000 (12:35 +0200)]
Update nsis script to install LICENSE and some other files.
Christophe Thiéry [Tue, 27 Sep 2011 12:03:53 +0000 (14:03 +0200)]
These messages should be print in debug logs only
Christophe Thiéry [Tue, 27 Sep 2011 12:01:02 +0000 (14:01 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot//simgrid/simgrid
Navarrop [Tue, 27 Sep 2011 11:54:51 +0000 (13:54 +0200)]
Now SimGrid-ruby is on git.
Christophe Thiéry [Tue, 27 Sep 2011 11:47:05 +0000 (13:47 +0200)]
Implementing Lua simulated processes as independent Lua states
Navarrop [Tue, 27 Sep 2011 10:45:00 +0000 (12:45 +0200)]
With debian testing on pipol we must set -DCMAKE_C_COMPILER=gcc-4.6 -DCMAKE_CXX_COMPILER=g++-4.6 flags.
Don't use kvm image from pipol for now.
Clean rc.debian, some packages are already install.
Navarrop [Fri, 23 Sep 2011 12:08:56 +0000 (14:08 +0200)]
Change svn for git from bindings.doc
Lucas Schnorr [Fri, 23 Sep 2011 11:27:28 +0000 (13:27 +0200)]
typos, minor rev
Lucas Schnorr [Fri, 23 Sep 2011 11:21:29 +0000 (13:21 +0200)]
[trace, doc] two scenarios to help users decide which tracing options to use
Lucas Schnorr [Fri, 23 Sep 2011 11:04:41 +0000 (13:04 +0200)]
[trace, doc] be verbose about tracing options, say how to use them
Lucas Schnorr [Fri, 23 Sep 2011 10:54:38 +0000 (12:54 +0200)]
[trace, doc] changing order of parameters
Lucas Schnorr [Fri, 23 Sep 2011 10:52:47 +0000 (12:52 +0200)]
[trace, doc] removing old tracing option
Laurent Bobelin [Fri, 23 Sep 2011 10:56:28 +0000 (12:56 +0200)]
Added triva in contrib. Removed redundant and buggy link in doc index.
Navarrop [Thu, 22 Sep 2011 12:33:20 +0000 (14:33 +0200)]
Fix Java on mac.
Update pipol scripts.
Laurent Bobelin [Thu, 22 Sep 2011 11:47:51 +0000 (13:47 +0200)]
just added 1 entry in the bib file
Navarrop [Thu, 22 Sep 2011 10:47:50 +0000 (12:47 +0200)]
Use a new image for Mac on pipol.
Martin Quinson [Thu, 22 Sep 2011 09:02:47 +0000 (11:02 +0200)]
add a category to the publi, sorry
Martin Quinson [Thu, 22 Sep 2011 09:00:10 +0000 (11:00 +0200)]
ok, publi++
Laurent Bobelin [Thu, 22 Sep 2011 07:44:57 +0000 (09:44 +0200)]
Still bug fixes (broken links for website)
Navarrop [Thu, 22 Sep 2011 07:34:23 +0000 (09:34 +0200)]
Remove my login from git clone command...
Laurent Bobelin [Thu, 22 Sep 2011 07:30:07 +0000 (09:30 +0200)]
Minor bug fixes in the website (broken links + one ref more for publi section)
Laurent Bobelin [Wed, 21 Sep 2011 15:48:33 +0000 (17:48 +0200)]
Now with the good Nancy university
Navarrop [Wed, 21 Sep 2011 15:22:49 +0000 (17:22 +0200)]
Add dependency for sync website and documentation.
Navarrop [Wed, 21 Sep 2011 14:45:46 +0000 (16:45 +0200)]
Remove gtnets and ns3 pages for one: Packet level simulation.
Navarrop [Wed, 21 Sep 2011 14:16:51 +0000 (16:16 +0200)]
Change svn for git in java binding documentation.
Laurent Bobelin [Wed, 21 Sep 2011 15:09:22 +0000 (17:09 +0200)]
Some changes in the website look before 3.6.2 arrives.
Arnaud Legrand [Wed, 21 Sep 2011 13:46:49 +0000 (15:46 +0200)]
publi++
Navarrop [Wed, 21 Sep 2011 11:19:54 +0000 (13:19 +0200)]
Add a target to sync pipol scripts.
Update pipol scripts.
Martin Quinson [Wed, 21 Sep 2011 09:01:48 +0000 (11:01 +0200)]
cut an infinite loop of exception raising which raises an exception when the memory is exhausted
Navarrop [Tue, 20 Sep 2011 14:24:33 +0000 (16:24 +0200)]
Set gtnets and ns3 to off by default.
Don't see warning on it on cdash.
Lucas Schnorr [Tue, 20 Sep 2011 12:35:32 +0000 (14:35 +0200)]
[ns3, trace] tracing needs the sentBytes variable being updated by the datasent callback
Navarrop [Tue, 20 Sep 2011 12:15:57 +0000 (14:15 +0200)]
Remove also pcre option from documentation.
Navarrop [Tue, 20 Sep 2011 12:07:45 +0000 (14:07 +0200)]
Remove option for pcre from cmake files and from sources.
Now we need pcre to compile SimGrid.
Navarrop [Tue, 20 Sep 2011 11:39:35 +0000 (13:39 +0200)]
Don't malloc data if mysmysocket->remaining equals 0, just return.
Navarrop [Tue, 20 Sep 2011 11:22:30 +0000 (13:22 +0200)]
Update ns3 tesh file as platforms have change.
Navarrop [Tue, 20 Sep 2011 11:18:16 +0000 (13:18 +0200)]
Rewrite the way to use dict_socket.
Fix a segfault due to bad use of genrated key from Socket pointer.
Navarrop [Mon, 19 Sep 2011 13:45:00 +0000 (15:45 +0200)]
Don't touch the size of the screenshot.
Lucas Schnorr [Tue, 20 Sep 2011 09:31:51 +0000 (11:31 +0200)]
[trace] "bugfix", this line is causing a segfault in a mapreduce simulator
details:
- its removal seems not change the tracing behavior
- the line was added in a previous commit to "Fix race condition on task put/get", from 2010-12-15.
Lucas Schnorr [Tue, 20 Sep 2011 09:27:15 +0000 (11:27 +0200)]
[trace] cosmetics, declare variable when it is first used
details:
- drop volatile from smx_action_t comm
Lucas Schnorr [Tue, 20 Sep 2011 08:57:26 +0000 (10:57 +0200)]
[trace] fix tesh'es since we changed the paje header
Lucas Schnorr [Fri, 16 Sep 2011 08:15:08 +0000 (10:15 +0200)]
[trace] cosmetics, break lines of --help-tracing
Navarrop [Mon, 19 Sep 2011 11:40:01 +0000 (13:40 +0200)]
Udate the documentation.
Fix the bar for all group__*.html files
Navarrop [Mon, 19 Sep 2011 09:21:27 +0000 (11:21 +0200)]
Add screenshot for installer.
Navarrop [Fri, 16 Sep 2011 15:36:02 +0000 (17:36 +0200)]
Update the documentation about installing simgrid.
Add Windows part.
Remove svn for git.
Christophe Thiéry [Fri, 16 Sep 2011 09:35:09 +0000 (11:35 +0200)]
Fix a uninitialized variable warning and simplify surf_cpu_ti_binary_search
Lucas Schnorr [Fri, 16 Sep 2011 07:29:08 +0000 (09:29 +0200)]
[trace] fix on the trace header, strictly following paje file format
- vite is capable of parsing this file, although some problems
remains on the way links are treated by vite
Lucas Schnorr [Thu, 15 Sep 2011 15:41:03 +0000 (17:41 +0200)]
[trace] hosts might have spaces
- avoid registering them by using quotation marks
Martin Quinson [Thu, 15 Sep 2011 20:15:58 +0000 (22:15 +0200)]
let this code compile without warning
Martin Quinson [Thu, 15 Sep 2011 20:13:33 +0000 (22:13 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Thu, 15 Sep 2011 20:10:59 +0000 (22:10 +0200)]
really ignore the return value of that function, or we'll get warnings
Navarrop [Thu, 15 Sep 2011 14:47:49 +0000 (16:47 +0200)]
Use C style dichotomy instead of CAML style dichotomy. :)
Navarrop [Thu, 15 Sep 2011 14:45:58 +0000 (16:45 +0200)]
Bug fix raised by warnings (variable set but never used) and that was not even covered (uuuuh!)
Navarrop [Wed, 14 Sep 2011 11:30:23 +0000 (13:30 +0200)]
Use more reasonnable values for this example.
Navarrop [Wed, 14 Sep 2011 11:29:39 +0000 (13:29 +0200)]
Make sure that we start at the right NS3 time even when NS3 and SG desynchronize.
Martin Quinson [Thu, 15 Sep 2011 14:38:12 +0000 (16:38 +0200)]
comment some dead code marked 'that doesn't work' which raised a unused-but-set-variable warning in gcc 4.6
Martin Quinson [Thu, 15 Sep 2011 14:20:18 +0000 (16:20 +0200)]
fix some unused-but-set-variable warnings comming from gcc 4.6
I guess it was harmless before, but it's cleaner now. In particular,
the return value of gras_datadesc_by_symbol() is useless, but the side
effects are mandatory.
Martin Quinson [Wed, 14 Sep 2011 08:33:18 +0000 (10:33 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Lucas Nussbaum [Tue, 13 Sep 2011 21:20:21 +0000 (23:20 +0200)]
Move library after the source due to changes in ld
Due to changes in ld introduced in Ubuntu oneiric (ld --as-needed by
default), it is now required to order libraries on the ld command line
so that they are only listed *after* the other files that require them.
Navarrop [Tue, 13 Sep 2011 13:27:51 +0000 (15:27 +0200)]
Cleaning the ns3 send callback function.
Navarrop [Tue, 13 Sep 2011 12:31:58 +0000 (14:31 +0200)]
Add RED protocole for ns3.
Download ns3 patch here : http://code.google.com/p/ns-3-red/source/checkout
Martin Quinson [Tue, 13 Sep 2011 12:09:04 +0000 (14:09 +0200)]
remove second following title; people know that the first paragraph will be an introduction
Arnaud Legrand [Tue, 13 Sep 2011 09:17:46 +0000 (11:17 +0200)]
[Web] Update publications
Arnaud Legrand [Tue, 13 Sep 2011 09:10:22 +0000 (11:10 +0200)]
[Web] Update publication list.
Navarrop [Mon, 12 Sep 2011 18:07:54 +0000 (20:07 +0200)]
change call of xbt_dynar_set for xbt_dynar_set_as and xbt_dynar_get_ptr
for xbt_dynar_get_as.
Navarrop [Mon, 12 Sep 2011 15:42:01 +0000 (17:42 +0200)]
Update tesh for ns3 because we have chnge the value for MTU.
Navarrop [Mon, 12 Sep 2011 12:55:58 +0000 (14:55 +0200)]
Use default config value for MTU.
Navarrop [Mon, 12 Sep 2011 08:20:05 +0000 (10:20 +0200)]
Add tracing.doc and generate it.
Navarrop [Thu, 8 Sep 2011 14:33:47 +0000 (16:33 +0200)]
Generate the documentation in pdf.
Need two pass for generate the full toc.
Lucas Schnorr [Thu, 8 Sep 2011 14:50:04 +0000 (16:50 +0200)]
[NS3] better debug messages for NS3 simulator
Lucas Schnorr [Thu, 8 Sep 2011 14:26:21 +0000 (16:26 +0200)]
[NS3] updated in the example to cover more execution scenarios
details:
- debug messages added
- timer function is also executed to have a more detailed view
of what is going on during the simulation of NS3 flows
Lucas Schnorr [Thu, 8 Sep 2011 13:57:43 +0000 (15:57 +0200)]
[NS3] clean-up of dictionary of sockets when flows finished
details:
- plus some debug messages
Lucas Schnorr [Thu, 8 Sep 2011 14:36:00 +0000 (16:36 +0200)]
[NS3] plug memory issue and cosmetics
Lucas Schnorr [Thu, 8 Sep 2011 14:50:30 +0000 (16:50 +0200)]
[NS3] Make sure that these functions have side effects as expected
Lucas Schnorr [Thu, 8 Sep 2011 10:22:07 +0000 (12:22 +0200)]
[NS3] using maxmin precision to avoid infinite loop
Lucas Schnorr [Thu, 8 Sep 2011 08:57:42 +0000 (10:57 +0200)]
[NS3] single call to start the NS3 simulator
Lucas Schnorr [Thu, 8 Sep 2011 08:28:33 +0000 (10:28 +0200)]
[NS3] send a maximum of 1024 bytes per Send
details:
- this is the way to observe the known TCP behavior
where bandwidth is equally shared among the flows
Lucas Schnorr [Thu, 8 Sep 2011 08:17:39 +0000 (10:17 +0200)]
[NS3] force NS3 simulator advances when surf advances (when NS3 has no flows)
Lucas Schnorr [Thu, 8 Sep 2011 08:16:16 +0000 (10:16 +0200)]
[NS3] only update min using the return of NS3's share resources if there are active NS3 flows
Lucas Schnorr [Thu, 8 Sep 2011 08:14:34 +0000 (10:14 +0200)]
[NS3] the time to schedule NS3 flows is relative
Lucas Schnorr [Wed, 7 Sep 2011 16:06:13 +0000 (18:06 +0200)]
let gdb have access to cpp sources
Lucas Schnorr [Wed, 7 Sep 2011 08:14:22 +0000 (10:14 +0200)]
Make sure that NS3 simulation advance if there are active flows even if NS3 returns immediately.
This could be caused by a pause event introduced by a previous "run NS3 for no more than xxx seconds".
Return -1.0 as expected when there are no flows to handle.
Lucas Schnorr [Wed, 7 Sep 2011 14:04:37 +0000 (16:04 +0200)]
Dirty hack to make sure that all callbacks of a flows that finish exactly at the same time are called.
Otherwise, only the first callback is called and the status of the other finishing flow is not updated.
Lucas Schnorr [Wed, 7 Sep 2011 08:06:01 +0000 (10:06 +0200)]
Make sure that the NS3 model works even when other models use traces.
NS3 should be the last model to be evaluated and since we do not fork but only advance simulation time, we need to make sure that it does not advance after a trace event.
Lucas Schnorr [Wed, 7 Sep 2011 14:02:05 +0000 (16:02 +0200)]
[NS3] implementing more socket callbacks in order to capture the closing of a socket
details:
- close_callback is called in place of receive_callback for some
situations when the flow finishes
Lucas Schnorr [Wed, 7 Sep 2011 13:57:50 +0000 (15:57 +0200)]
[NS3] rewriting receive_callback to mark a flow finished only if it has not done before
Lucas Schnorr [Wed, 7 Sep 2011 13:56:39 +0000 (15:56 +0200)]
[NS3] rewriting the send_callback to do only one Send call to buffer data
Lucas Schnorr [Wed, 7 Sep 2011 13:51:26 +0000 (15:51 +0200)]
[trace] bug fix on the way that routes are used to extract topology
Lucas Schnorr [Tue, 6 Sep 2011 11:04:05 +0000 (13:04 +0200)]
[trace] if route doesn't exist, just continue extracing the topology
Lucas Schnorr [Tue, 6 Sep 2011 11:03:14 +0000 (13:03 +0200)]
new function get_route_or_null that catches any exception before returning
details:
- this function is used by the tracing mechanism to extract the
network topology of the platform being simulated