Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
9 years agoRemove option for pcre from cmake files and from sources.
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.

9 years agoDon't malloc data if mysmysocket->remaining equals 0, just return.
Navarrop [Tue, 20 Sep 2011 11:39:35 +0000 (13:39 +0200)]
Don't malloc data if mysmysocket->remaining equals 0, just return.

9 years agoUpdate ns3 tesh file as platforms have change.
Navarrop [Tue, 20 Sep 2011 11:22:30 +0000 (13:22 +0200)]
Update ns3 tesh file as platforms have change.

9 years agoRewrite the way to use dict_socket.
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.

9 years agoDon't touch the size of the screenshot.
Navarrop [Mon, 19 Sep 2011 13:45:00 +0000 (15:45 +0200)]
Don't touch the size of the screenshot.

9 years ago[trace] "bugfix", this line is causing a segfault in a mapreduce simulator
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.

9 years ago[trace] cosmetics, declare variable when it is first used
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

9 years ago[trace] fix tesh'es since we changed the paje header
Lucas Schnorr [Tue, 20 Sep 2011 08:57:26 +0000 (10:57 +0200)]
[trace] fix tesh'es since we changed the paje header

9 years ago[trace] cosmetics, break lines of --help-tracing
Lucas Schnorr [Fri, 16 Sep 2011 08:15:08 +0000 (10:15 +0200)]
[trace] cosmetics, break lines of --help-tracing

9 years agoUdate the documentation.
Navarrop [Mon, 19 Sep 2011 11:40:01 +0000 (13:40 +0200)]
Udate the documentation.
Fix the bar for all group__*.html files

9 years agoAdd screenshot for installer.
Navarrop [Mon, 19 Sep 2011 09:21:27 +0000 (11:21 +0200)]
Add screenshot for installer.

9 years agoUpdate the documentation about installing simgrid.
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.

9 years agoFix a uninitialized variable warning and simplify surf_cpu_ti_binary_search
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

9 years ago[trace] fix on the trace header, strictly following paje file format
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

9 years ago[trace] hosts might have spaces
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

9 years agolet this code compile without warning
Martin Quinson [Thu, 15 Sep 2011 20:15:58 +0000 (22:15 +0200)]
let this code compile without warning

9 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Thu, 15 Sep 2011 20:13:33 +0000 (22:13 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

9 years agoreally ignore the return value of that function, or we'll get warnings
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

9 years agoUse C style dichotomy instead of CAML style dichotomy. :)
Navarrop [Thu, 15 Sep 2011 14:47:49 +0000 (16:47 +0200)]
Use C style dichotomy instead of CAML style dichotomy. :)

9 years agoBug fix raised by warnings (variable set but never used) and that was not even covere...
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!)

9 years agoUse more reasonnable values for this example.
Navarrop [Wed, 14 Sep 2011 11:30:23 +0000 (13:30 +0200)]
Use more reasonnable values for this example.

9 years agoMake sure that we start at the right NS3 time even when NS3 and SG desynchronize.
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.

9 years agocomment some dead code marked 'that doesn't work' which raised a unused-but-set-varia...
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

9 years agofix some unused-but-set-variable warnings comming from 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.

9 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Wed, 14 Sep 2011 08:33:18 +0000 (10:33 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

9 years agoMove library after the source due to changes in ld
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.

9 years agoCleaning the ns3 send callback function.
Navarrop [Tue, 13 Sep 2011 13:27:51 +0000 (15:27 +0200)]
Cleaning the ns3 send callback function.

9 years agoAdd RED protocole for ns3.
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

9 years agoremove second following title; people know that the first paragraph will be an introd...
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

9 years ago[Web] Update publications
Arnaud Legrand [Tue, 13 Sep 2011 09:17:46 +0000 (11:17 +0200)]
[Web] Update publications

9 years ago[Web] Update publication list.
Arnaud Legrand [Tue, 13 Sep 2011 09:10:22 +0000 (11:10 +0200)]
[Web] Update publication list.

9 years agochange call of xbt_dynar_set for xbt_dynar_set_as and xbt_dynar_get_ptr
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.

9 years agoUpdate tesh for ns3 because we have chnge the value for MTU.
Navarrop [Mon, 12 Sep 2011 15:42:01 +0000 (17:42 +0200)]
Update tesh for ns3 because we have chnge the value for MTU.

9 years agoUse default config value for MTU.
Navarrop [Mon, 12 Sep 2011 12:55:58 +0000 (14:55 +0200)]
Use default config value for MTU.

9 years agoAdd tracing.doc and generate it.
Navarrop [Mon, 12 Sep 2011 08:20:05 +0000 (10:20 +0200)]
Add tracing.doc and generate it.

9 years agoGenerate the documentation in pdf.
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.

9 years ago[NS3] better debug messages for NS3 simulator
Lucas Schnorr [Thu, 8 Sep 2011 14:50:04 +0000 (16:50 +0200)]
[NS3] better debug messages for NS3 simulator

9 years ago[NS3] updated in the example to cover more execution scenarios
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

9 years ago[NS3] clean-up of dictionary of sockets when flows finished
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

9 years ago[NS3] plug memory issue and cosmetics
Lucas Schnorr [Thu, 8 Sep 2011 14:36:00 +0000 (16:36 +0200)]
[NS3] plug memory issue and cosmetics

9 years ago[NS3] Make sure that these functions have side effects as expected
Lucas Schnorr [Thu, 8 Sep 2011 14:50:30 +0000 (16:50 +0200)]
[NS3] Make sure that these functions have side effects as expected

9 years ago[NS3] using maxmin precision to avoid infinite loop
Lucas Schnorr [Thu, 8 Sep 2011 10:22:07 +0000 (12:22 +0200)]
[NS3] using maxmin precision to avoid infinite loop

9 years ago[NS3] single call to start the NS3 simulator
Lucas Schnorr [Thu, 8 Sep 2011 08:57:42 +0000 (10:57 +0200)]
[NS3] single call to start the NS3 simulator

9 years ago[NS3] send a maximum of 1024 bytes per Send
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

9 years ago[NS3] force NS3 simulator advances when surf advances (when NS3 has no 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)

9 years ago[NS3] only update min using the return of NS3's share resources if there are active...
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

9 years ago[NS3] the time to schedule NS3 flows is relative
Lucas Schnorr [Thu, 8 Sep 2011 08:14:34 +0000 (10:14 +0200)]
[NS3] the time to schedule NS3 flows is relative

9 years agolet gdb have access to cpp sources
Lucas Schnorr [Wed, 7 Sep 2011 16:06:13 +0000 (18:06 +0200)]
let gdb have access to cpp sources

9 years agoMake sure that NS3 simulation advance if there are active flows even if NS3 returns...
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.

9 years agoDirty hack to make sure that all callbacks of a flows that finish exactly at the...
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.

9 years agoMake sure that the NS3 model works even when other models use traces.
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.

9 years ago[NS3] implementing more socket callbacks in order to capture the closing of a socket
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

9 years ago[NS3] rewriting receive_callback to mark a flow finished only if it has not done...
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

9 years ago[NS3] rewriting the send_callback to do only one Send call to buffer data
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

9 years ago[trace] bug fix on the way that routes are used to extract topology
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

9 years ago[trace] if route doesn't exist, just continue extracing the 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

9 years agonew function get_route_or_null that catches any exception before returning
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

9 years ago[NS3, trace] categorized resource utilization active also for NS3
Lucas Schnorr [Mon, 5 Sep 2011 14:58:34 +0000 (16:58 +0200)]
[NS3, trace] categorized resource utilization active also for NS3

9 years agoUse sans serif fonts for the website
Arnaud Legrand [Thu, 8 Sep 2011 13:57:47 +0000 (15:57 +0200)]
Use sans serif fonts for the website

9 years agoImprove debugging messages when dispaying the status of blocked process.
Arnaud Legrand [Sun, 22 May 2011 19:23:25 +0000 (12:23 -0700)]
Improve debugging messages when dispaying the status of blocked process.

9 years agoFix typo in help message.
Arnaud Giersch [Thu, 8 Sep 2011 11:21:46 +0000 (13:21 +0200)]
Fix typo in help message.

9 years agoFix compilation warnings in ISO-C99 mode.
Arnaud Giersch [Fri, 12 Nov 2010 13:16:06 +0000 (14:16 +0100)]
Fix compilation warnings in ISO-C99 mode.

Fix the following compilation warnings (indeed wrong inline usage):
- inline function ‘xxx’ declared but never defined

Tested with gcc 4.3 and 4.4.

See the following messages for more information:
http://lists.gforge.inria.fr/pipermail/simgrid-devel/2010-July/000958.html
http://lists.gforge.inria.fr/pipermail/simgrid-devel/2010-July/000971.html
http://lists.gforge.inria.fr/pipermail/simgrid-devel/2010-July/000978.html
http://lists.gforge.inria.fr/pipermail/simgrid-devel/2010-August/000998.html

See also bug #11428.

9 years agoRevert "Re-apply old patch A. Giersch 06/07/2010"
Navarrop [Thu, 8 Sep 2011 13:10:28 +0000 (15:10 +0200)]
Revert "Re-apply old patch A. Giersch 06/07/2010"

This reverts commit 3a9be3b03e764af6a69418124a4e213713b2fd6d.

9 years agoIgnore generated directory
Navarrop [Thu, 8 Sep 2011 13:09:05 +0000 (15:09 +0200)]
Ignore generated directory

9 years agoPrepare the target to make simgrid_documentation.pdf
Navarrop [Thu, 8 Sep 2011 13:00:13 +0000 (15:00 +0200)]
Prepare the target to make simgrid_documentation.pdf

9 years agoRe-apply old patch A. Giersch 06/07/2010
Navarrop [Thu, 8 Sep 2011 12:09:39 +0000 (14:09 +0200)]
Re-apply old patch A. Giersch 06/07/2010
[From A. Giersch] Fix the following compilation warnings in ISO-C99 mode:
* inline function ‘xxx’ declared but never defined

9 years agoHide configure value.
Navarrop [Thu, 8 Sep 2011 12:07:03 +0000 (14:07 +0200)]
Hide configure value.

9 years agoAdd a dogbone example with ns3
Navarrop [Thu, 8 Sep 2011 11:33:04 +0000 (13:33 +0200)]
Add a dogbone example with ns3

9 years agoAdd model Reno, NewReno and Tahoe with ns3
Navarrop [Thu, 8 Sep 2011 11:31:33 +0000 (13:31 +0200)]
Add model Reno, NewReno and Tahoe with ns3
--cfg=ns3/TcpModel:MODEL

9 years agoNeed this flag for c++.
Navarrop [Thu, 8 Sep 2011 11:07:48 +0000 (13:07 +0200)]
Need this flag for c++.

9 years agoAdding sources (.ai files) for the nowaday logo
Laurent Bobelin [Thu, 8 Sep 2011 08:45:24 +0000 (10:45 +0200)]
Adding sources (.ai files) for the nowaday logo

9 years agoAdded small logo to the website stuff (to use it in the google bombing process)
Laurent Bobelin [Thu, 8 Sep 2011 07:39:00 +0000 (09:39 +0200)]
Added small logo to the website stuff (to use it in the google bombing process)

9 years agoExplain how to change compiler version on doc
Navarrop [Wed, 7 Sep 2011 15:00:06 +0000 (17:00 +0200)]
Explain how to change compiler version on doc

9 years agomore informative error message when an invalid context factory is selected
Martin Quinson [Wed, 7 Sep 2011 14:13:58 +0000 (16:13 +0200)]
more informative error message when an invalid context factory is selected

9 years agoAvailable command sync-gforge-website.
Navarrop [Tue, 6 Sep 2011 15:50:32 +0000 (17:50 +0200)]
Available command sync-gforge-website.
Update doc.

9 years agoSimgrid website documentation should be OK now. It's now separated totally from the...
Laurent Bobelin [Tue, 6 Sep 2011 14:27:23 +0000 (16:27 +0200)]
Simgrid website documentation should be OK now. It's now separated totally from the doc generation

9 years agoDoc for ns-3.
Navarrop [Tue, 6 Sep 2011 09:24:02 +0000 (11:24 +0200)]
Doc for ns-3.

9 years agoBy default activate ns-3.
Navarrop [Tue, 6 Sep 2011 09:23:51 +0000 (11:23 +0200)]
By default activate ns-3.

9 years agoAdd ignored files from website target.
Navarrop [Mon, 5 Sep 2011 15:53:44 +0000 (17:53 +0200)]
Add ignored files from website target.

9 years agoSeparated version dependant (documentation) and independant website files.
Navarrop [Mon, 5 Sep 2011 15:47:39 +0000 (17:47 +0200)]
Separated version dependant (documentation) and independant website files.

9 years agoSupport for ns3-3.12
Navarrop [Mon, 5 Sep 2011 13:51:46 +0000 (15:51 +0200)]
Support for ns3-3.12

9 years ago[NS3, trace] tracing the correct value of resource utilization based on NS3 network...
Lucas Schnorr [Mon, 5 Sep 2011 14:13:05 +0000 (16:13 +0200)]
[NS3, trace] tracing the correct value of resource utilization based on NS3 network model

9 years ago[NS3, trace] instrumentation code to register resource utilization from NS3
Lucas Schnorr [Mon, 5 Sep 2011 11:29:11 +0000 (13:29 +0200)]
[NS3, trace] instrumentation code to register resource utilization from NS3

details:
- missing profound validation tests

9 years agocosmetics, fixing tesh file
Lucas Schnorr [Mon, 5 Sep 2011 11:23:49 +0000 (13:23 +0200)]
cosmetics, fixing tesh file

9 years ago[NS3] unused variable removed
Lucas Schnorr [Mon, 5 Sep 2011 11:23:02 +0000 (13:23 +0200)]
[NS3] unused variable removed

9 years ago[NS3, trace] instrumentation point to be implemented
Lucas Schnorr [Mon, 5 Sep 2011 09:06:01 +0000 (11:06 +0200)]
[NS3, trace] instrumentation point to be implemented

9 years ago[NS3, trace] type of last_sent is double
Lucas Schnorr [Mon, 5 Sep 2011 08:06:53 +0000 (10:06 +0200)]
[NS3, trace] type of last_sent is double

9 years ago[NS3] new NS3 surf network action data structure
Lucas Schnorr [Fri, 2 Sep 2011 16:40:06 +0000 (18:40 +0200)]
[NS3] new NS3 surf network action data structure

details:
- used only to keep tracing things and the generic surf_action type

9 years ago[NS3] cosmetics, changing the name of the function that creates a NS3 surf network...
Lucas Schnorr [Fri, 2 Sep 2011 16:28:07 +0000 (18:28 +0200)]
[NS3] cosmetics, changing the name of the function that creates a NS3 surf network action

9 years ago[NS3] cosmetics, removing unused functions/methods
Lucas Schnorr [Fri, 2 Sep 2011 15:46:46 +0000 (17:46 +0200)]
[NS3] cosmetics, removing unused functions/methods

9 years ago[NS3] fixing the remains value when updating actions state
Lucas Schnorr [Fri, 2 Sep 2011 15:36:17 +0000 (17:36 +0200)]
[NS3] fixing the remains value when updating actions state

details:
- new method to get the sent bytes of a socket from the NS3 simulator
- before, the remains was always 0 because the send callback buffers all data

9 years ago[NS3] cosmetics, removing tracing code and fixing indentation
Lucas Schnorr [Fri, 2 Sep 2011 15:17:48 +0000 (17:17 +0200)]
[NS3] cosmetics, removing tracing code and fixing indentation

9 years ago[NS3] new callback to register sent bytes
Lucas Schnorr [Fri, 2 Sep 2011 15:14:42 +0000 (17:14 +0200)]
[NS3] new callback to register sent bytes

9 years ago[NS3] cosmetics, variable names should start with lowercase
Lucas Schnorr [Fri, 2 Sep 2011 15:01:29 +0000 (17:01 +0200)]
[NS3] cosmetics, variable names should start with lowercase

9 years ago[NS3] adding bufferedBytes variable to MySocket structure (replaces old sentBytes)
Lucas Schnorr [Fri, 2 Sep 2011 15:00:52 +0000 (17:00 +0200)]
[NS3] adding bufferedBytes variable to MySocket structure (replaces old sentBytes)

- also fix on header indentation (removing tabs and replace by two spaces)

9 years ago[NS3] cosmetics, fixing indentation on simulator code
Lucas Schnorr [Fri, 2 Sep 2011 14:05:08 +0000 (16:05 +0200)]
[NS3] cosmetics, fixing indentation on simulator code

9 years agoDo rsync and not scp.
Navarrop [Thu, 1 Sep 2011 15:26:16 +0000 (17:26 +0200)]
Do rsync and not scp.

9 years agoPrepare the versioning of the documentation
Navarrop [Thu, 1 Sep 2011 15:19:40 +0000 (17:19 +0200)]
Prepare the versioning of the documentation

9 years agoRevert "Add a taget to test the new doc on a different remote."
Navarrop [Thu, 1 Sep 2011 13:46:29 +0000 (15:46 +0200)]
Revert "Add a taget to test the new doc on a different remote."

This reverts commit 1beb7db8bbe445fcba0d37352b2e761c54ad9e7a.

9 years agoAdd functions for get and reset last amount sent by ns3.
Navarrop [Thu, 1 Sep 2011 12:43:43 +0000 (14:43 +0200)]
Add functions for get and reset last amount sent by ns3.