Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
13 years agocode clean-up
schnorr [Thu, 23 Sep 2010 10:48:38 +0000 (10:48 +0000)]
code clean-up

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8210 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agonew configuration option tracing/platform/method
schnorr [Thu, 23 Sep 2010 10:48:37 +0000 (10:48 +0000)]
new configuration option tracing/platform/method

details:
- may be "a", "b", "c"
- tracing behavior for each method as explained in previous commit

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8209 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoAdded a version of DT with RAM folding.
pini [Thu, 23 Sep 2010 10:01:21 +0000 (10:01 +0000)]
Added a version of DT with RAM folding.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8208 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoUpdate _units file in svn.
navarrop [Thu, 23 Sep 2010 09:51:31 +0000 (09:51 +0000)]
Update _units file in svn.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8207 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoInitialize value. Compilation with Full Flags.
navarrop [Thu, 23 Sep 2010 09:51:30 +0000 (09:51 +0000)]
Initialize value. Compilation with Full Flags.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8206 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoRename CLEANUP macro into _CLEANUP for Supernovae mode.
navarrop [Thu, 23 Sep 2010 09:51:29 +0000 (09:51 +0000)]
Rename CLEANUP macro into _CLEANUP for Supernovae mode.
There were two definition of CLEANUP.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8205 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoOups, variable names are not same. Fix the bug with Supernovae.
navarrop [Thu, 23 Sep 2010 09:51:26 +0000 (09:51 +0000)]
Oups, variable names are not same. Fix the bug with Supernovae.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8204 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoTake size into account when building a unique name.
pini [Thu, 23 Sep 2010 09:14:04 +0000 (09:14 +0000)]
Take size into account when building a unique name.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8203 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agodedicated file to trace categorized resource utilization
schnorr [Thu, 23 Sep 2010 09:06:46 +0000 (09:06 +0000)]
dedicated file to trace categorized resource utilization

details:
- src/instr/resource_utilization.c
- three methods implemented:
   - A (dumb tracing, all update_actions_state are transformed in two events)
   - B (try to resume the tracing if the utilization value did not change)
         => it produces the same trace as A, resumed if update_actions_state
            do not change the values on all updates
   - C (categorized resource utilization integrated within the scope of a smx_action)

- method A generates a gigantic trace file, B is the solution for MSG, but not for SMPI
- method C is the solution for SMPI, but we lost details on each update
- now, method B is active

todo:
- create an option to select which method to use

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8202 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoupdating traced IS NAS benchmark to get one category per MPI rank
schnorr [Thu, 23 Sep 2010 09:06:44 +0000 (09:06 +0000)]
updating traced IS NAS benchmark to get one category per MPI rank

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8201 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agocosmetics: fixing identation
schnorr [Thu, 23 Sep 2010 09:06:43 +0000 (09:06 +0000)]
cosmetics: fixing identation

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8200 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoplacing instrumentation of network utilization on better place
schnorr [Thu, 23 Sep 2010 09:06:43 +0000 (09:06 +0000)]
placing instrumentation of network utilization on better place

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8199 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoAdded RAM folding to SMPI.
pini [Wed, 22 Sep 2010 12:07:21 +0000 (12:07 +0000)]
Added RAM folding to SMPI.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8198 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoonly remove from dict if the key is there
schnorr [Fri, 17 Sep 2010 14:33:23 +0000 (14:33 +0000)]
only remove from dict if the key is there

details:
- fix on multiple calls to TRACE_smpi_set_category(NULL)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8197 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agocreating instrumented versions of DT, EP and IS benchmarks
schnorr [Fri, 17 Sep 2010 09:26:52 +0000 (09:26 +0000)]
creating instrumented versions of DT, EP and IS benchmarks

details:
- new directories created to avoid the modification of the original .c files
- the binaries created have the same name as the binaries generated by original benchmarks
- instrumentation consists basically in:
   - #include "instr/instr.h"
   - use TRACE_smpi_set_category to declare and set a category to monitor resource utilization
   - execute with -trace parameter
- no instrumentation needed if only a traditional gantt-chart is needed
   - in this case, original versions of benchmarks must be executed with -trace parameter only

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8196 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agocreating a static version of libsmpi version to link against HPL benchmark
schnorr [Thu, 16 Sep 2010 15:18:04 +0000 (15:18 +0000)]
creating a static version of libsmpi version to link against HPL benchmark

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8195 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agosmaller size so ctest don't give a timeout during tests
schnorr [Wed, 15 Sep 2010 15:58:30 +0000 (15:58 +0000)]
smaller size so ctest don't give a timeout during tests

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8194 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agosimple example of smpi tracing with platform utilization (with three categories)
schnorr [Wed, 15 Sep 2010 15:58:29 +0000 (15:58 +0000)]
simple example of smpi tracing with platform utilization (with three categories)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8193 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoupdating smpi_traced.tesh file to cope with platform utilization output
schnorr [Wed, 15 Sep 2010 15:58:27 +0000 (15:58 +0000)]
updating smpi_traced.tesh file to cope with platform utilization output

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8192 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agousing categories to trace platform utilization on smpi tracing example
schnorr [Wed, 15 Sep 2010 15:58:26 +0000 (15:58 +0000)]
using categories to trace platform utilization on smpi tracing example

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8191 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoincreasing the message size for testing
schnorr [Wed, 15 Sep 2010 15:58:25 +0000 (15:58 +0000)]
increasing the message size for testing

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8190 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agowhen smpirun is executed with -trace parameter, activate the platform tracing
schnorr [Wed, 15 Sep 2010 15:58:25 +0000 (15:58 +0000)]
when smpirun is executed with -trace parameter, activate the platform tracing

details:
- even if TRACE_smpi_set_category is not used on the mpi application

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8189 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoproperly destroying containers at the end of trace file
schnorr [Wed, 15 Sep 2010 15:58:24 +0000 (15:58 +0000)]
properly destroying containers at the end of trace file

details:
- the name of the function called (TRACE_msg_clean) should change

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8188 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agotrace: new interface function for tracing resource categorized utilization with SMPI
schnorr [Wed, 15 Sep 2010 15:58:22 +0000 (15:58 +0000)]
trace: new interface function for tracing resource categorized utilization with SMPI

details:
- still experimental
- include "instr/instr.h" in your code MPI
- put TRACE_smpi_set_category ("name_of_your_cat") somewhere
in the code that all processes execute. example:
Do this:
{
  ...
  TRACE_smpi_set_category (...);
  if (rank == 0){
  }else{
  }
  ...
}
instead of this:
{
  ...
  if (rank == 0){
    TRACE_smpi_set_category (...);
  }else{
  }
  ...
}
- call TRACE_smpi_set_category (NULL) to de-activate
the tracing of the platform utilization according to
a category
- all this only works if the smpi simulation is launched with
the option --cfg=tracing/platform:1 (next commits will have
an additional option in smpirun to handle that)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8187 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agonot consider the time spent on SMPI tracing as part of application execution
schnorr [Wed, 15 Sep 2010 15:58:21 +0000 (15:58 +0000)]
not consider the time spent on SMPI tracing as part of application execution

details:
- considered now as part of communication (if bench monitors the time inside MPI functions)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8186 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agocreating a source file dedicated to handle the categories
schnorr [Wed, 15 Sep 2010 15:58:20 +0000 (15:58 +0000)]
creating a source file dedicated to handle the categories

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8185 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoBugfix: C is _not_ object-oriented (a.k.a. missing callback for the Constant network...
pini [Tue, 14 Sep 2010 14:39:41 +0000 (14:39 +0000)]
Bugfix: C is _not_ object-oriented (a.k.a. missing callback for the Constant network model)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8184 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoUpdate Doc.
navarrop [Mon, 13 Sep 2010 16:44:05 +0000 (16:44 +0000)]
Update Doc.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8183 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoUpdate doc for icomms.
navarrop [Mon, 13 Sep 2010 16:33:37 +0000 (16:33 +0000)]
Update doc for icomms.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8182 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoCosmetics.
navarrop [Mon, 13 Sep 2010 12:08:50 +0000 (12:08 +0000)]
Cosmetics.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8181 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoOups this is a mistake.
navarrop [Mon, 13 Sep 2010 11:55:11 +0000 (11:55 +0000)]
Oups this is a mistake.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8180 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoNot test with WIN32 but BORLAND because on windows there is GNU too.
navarrop [Mon, 13 Sep 2010 08:24:48 +0000 (08:24 +0000)]
Not test with WIN32 but BORLAND because on windows there is GNU too.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8179 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoIf we are on windows _GNU is defined by cmake.
navarrop [Mon, 13 Sep 2010 08:24:35 +0000 (08:24 +0000)]
If we are on windows _GNU is defined by cmake.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8178 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoUpdate CMakeLists for windows
navarrop [Mon, 13 Sep 2010 08:24:11 +0000 (08:24 +0000)]
Update CMakeLists for windows

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8177 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoWindows implementation
navarrop [Mon, 13 Sep 2010 08:23:54 +0000 (08:23 +0000)]
Windows implementation

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8176 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoWindows compatibility.
navarrop [Mon, 13 Sep 2010 08:23:36 +0000 (08:23 +0000)]
Windows compatibility.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8175 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agousing a trace marker to register the end of each flow in the gtnets example
schnorr [Fri, 10 Sep 2010 15:14:58 +0000 (15:14 +0000)]
using a trace marker to register the end of each flow in the gtnets example

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8174 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoDo not call xbt_cfg_set_int on the model-check option, it won't set it's value to...
cristianrosa [Tue, 7 Sep 2010 06:48:39 +0000 (06:48 +0000)]
Do not call xbt_cfg_set_int on the model-check option, it won't set it's value to the default one.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8173 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoLink to lib simgrid work when compil out of build source.
navarrop [Mon, 6 Sep 2010 12:11:25 +0000 (12:11 +0000)]
Link to lib simgrid work when compil out of build source.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8170 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoFixed return type.
pini [Mon, 6 Sep 2010 09:17:59 +0000 (09:17 +0000)]
Fixed return type.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8169 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoAdded missing MPI call.
pini [Mon, 6 Sep 2010 09:12:15 +0000 (09:12 +0000)]
Added missing MPI call.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8168 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoBugfix: invalid behaviour in datatype_copy.
pini [Mon, 6 Sep 2010 09:12:10 +0000 (09:12 +0000)]
Bugfix: invalid behaviour in datatype_copy.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8167 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoa few more corrected entries
suter [Mon, 30 Aug 2010 11:47:01 +0000 (11:47 +0000)]
a few more corrected entries

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8166 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agostart to clean up the bib file. Too many badly formatted entries for
suter [Mon, 30 Aug 2010 08:45:22 +0000 (08:45 +0000)]
start to clean up the bib file. Too many badly formatted entries for
my eyes

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8165 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoFix bug in the documentation.
alegrand [Tue, 24 Aug 2010 13:27:39 +0000 (13:27 +0000)]
Fix bug in the documentation.
It skipped the first author for each year and removed some HTML tags...

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8164 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoupdate
coldpeace [Sun, 22 Aug 2010 17:49:26 +0000 (17:49 +0000)]
update

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8162 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agofix the way to instanciate links via worsktation_ptask_L07 model when bypassing the...
coldpeace [Fri, 20 Aug 2010 09:42:12 +0000 (09:42 +0000)]
fix the way to instanciate links via worsktation_ptask_L07 model when bypassing the XML parser

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8161 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agomove e_surf_link_sharing_policy_t structure to surf.h and fix the way to create link...
coldpeace [Thu, 19 Aug 2010 16:02:25 +0000 (16:02 +0000)]
move e_surf_link_sharing_policy_t structure to surf.h and fix the way to create link resource when bypassing surf xml parser

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8160 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoRemove stupid "if" that prevents from displaying the help correctly and use die inste...
alegrand [Mon, 16 Aug 2010 22:23:47 +0000 (22:23 +0000)]
Remove stupid "if" that prevents from displaying the help correctly and use die instead of exit.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8159 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoextend lua console to simdag
coldpeace [Mon, 16 Aug 2010 14:32:07 +0000 (14:32 +0000)]
extend lua console to simdag

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8158 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoremove dependency line
coldpeace [Wed, 11 Aug 2010 13:06:35 +0000 (13:06 +0000)]
remove dependency line

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8157 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoadd gras console example, illustrating the use of lua gras generator to setup the...
coldpeace [Wed, 11 Aug 2010 13:01:53 +0000 (13:01 +0000)]
add gras console example, illustrating the use of lua gras generator to setup the project and lua console to bypass the parser

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8156 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agocleanups
coldpeace [Wed, 11 Aug 2010 11:14:31 +0000 (11:14 +0000)]
cleanups

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8155 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoremove duplicated line
coldpeace [Tue, 10 Aug 2010 16:35:37 +0000 (16:35 +0000)]
remove duplicated line

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8154 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoadd new source file to lua bindings code, having possibility to use a 'lua' version...
coldpeace [Tue, 10 Aug 2010 16:28:59 +0000 (16:28 +0000)]
add new source file to lua bindings code, having possibility to use a 'lua' version of gras_stub_generator tool to generate gras source files in bypass mode

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8153 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoupdating ChangeLog with tracing modifications
schnorr [Tue, 10 Aug 2010 15:06:51 +0000 (15:06 +0000)]
updating ChangeLog with tracing modifications

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8152 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agotest dict before giving its size...
coldpeace [Tue, 10 Aug 2010 13:32:07 +0000 (13:32 +0000)]
test dict before giving its size...

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8151 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agonew tesh to check smpi tracing
schnorr [Tue, 10 Aug 2010 11:32:29 +0000 (11:32 +0000)]
new tesh to check smpi tracing

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8150 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agofix on smpi tracing: check if tracing is disabled
schnorr [Tue, 10 Aug 2010 11:32:28 +0000 (11:32 +0000)]
fix on smpi tracing: check if tracing is disabled

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8149 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agompi example with several combinations of point-to-point message-passing functions
schnorr [Tue, 10 Aug 2010 11:32:27 +0000 (11:32 +0000)]
mpi example with several combinations of point-to-point message-passing functions

details:
- this example serves as stress test to the smpi instrumentation

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8148 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoupdate on smpirun script to accept -trace argument with the name of the tracefile
schnorr [Tue, 10 Aug 2010 11:32:26 +0000 (11:32 +0000)]
update on smpirun script to accept -trace argument with the name of the tracefile

details:
- among other parameters, smpirun accepts:
smpirun (...) -trace tracefile.trace (...) ./bcast (...)
- the parameter is translated to the following options to the simulator
--cfg=tracing/filename:${TRACEOPT} --cfg=tracing/smpi:1 where TRACEOPT
is the trace file passed as parameter

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8147 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoTweak a bit the dependence function
cristianrosa [Tue, 10 Aug 2010 08:21:52 +0000 (08:21 +0000)]
Tweak a bit the dependence function

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8146 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoprevents from adding invalid pointer to the dict
schnorr [Mon, 9 Aug 2010 15:51:27 +0000 (15:51 +0000)]
prevents from adding invalid pointer to the dict

details:
- the dictionary latency_limited_dict is managed by Pedro
- it uses as key the comm->act, which sometimes is NULL
when executing MSG examples (failure, for instance).

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8145 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoproper initilization of the model-check option
schnorr [Mon, 9 Aug 2010 15:51:26 +0000 (15:51 +0000)]
proper initilization of the model-check option

details:
- arnaud's modification

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8144 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agofix on the default value of fullduplex option
schnorr [Mon, 9 Aug 2010 15:51:26 +0000 (15:51 +0000)]
fix on the default value of fullduplex option

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8143 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoupdating tesh files to consider with new log messages
schnorr [Mon, 9 Aug 2010 15:51:24 +0000 (15:51 +0000)]
updating tesh files to consider with new log messages

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8142 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agodeclaring mark in the gtnets example
schnorr [Mon, 9 Aug 2010 15:51:23 +0000 (15:51 +0000)]
declaring mark in the gtnets example

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8141 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoremoving stdout log message
schnorr [Mon, 9 Aug 2010 15:51:23 +0000 (15:51 +0000)]
removing stdout log message

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8140 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoremoving compilation warnings
schnorr [Mon, 9 Aug 2010 15:51:22 +0000 (15:51 +0000)]
removing compilation warnings

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8139 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agomanage links in a different way (to help tracing gtnets fullduplex behavior)
schnorr [Mon, 9 Aug 2010 15:51:21 +0000 (15:51 +0000)]
manage links in a different way (to help tracing gtnets fullduplex behavior)

details:
- by Arnaud

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8138 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agousing two dictionaries to keep host information (name and id)
schnorr [Mon, 9 Aug 2010 15:51:20 +0000 (15:51 +0000)]
using two dictionaries to keep host information (name and id)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8137 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agofix on trace: correct way to trace the amount of data transferred by gtnets
schnorr [Mon, 9 Aug 2010 15:51:19 +0000 (15:51 +0000)]
fix on trace: correct way to trace the amount of data transferred by gtnets

Conflicts:

src/surf/network_gtnets.c

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8136 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agofix on the name of the variable
schnorr [Mon, 9 Aug 2010 15:51:19 +0000 (15:51 +0000)]
fix on the name of the variable

details:
- gtnets_get_flow_rx returns the amount of bytes sent, not what remains

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8135 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agofullduplex support
schnorr [Mon, 9 Aug 2010 15:51:17 +0000 (15:51 +0000)]
fullduplex support

details:
- added by Pedro
- LV08 model accepts a new option 'fullduplex',
  enabling a more realistic TCP behavior
- more details on the FAQ (that will be updated soon)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8134 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoAdded fullduplex support doc.
velho [Mon, 9 Aug 2010 15:35:00 +0000 (15:35 +0000)]
Added fullduplex support doc.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8133 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoadd new function : xbt_dict_is_empty
coldpeace [Mon, 9 Aug 2010 13:14:38 +0000 (13:14 +0000)]
add new function : xbt_dict_is_empty

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8132 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoupdate doc
coldpeace [Sun, 8 Aug 2010 18:16:18 +0000 (18:16 +0000)]
update doc

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8131 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agotracing a sub-set of point-to-point mpi functions
schnorr [Fri, 6 Aug 2010 15:39:04 +0000 (15:39 +0000)]
tracing a sub-set of point-to-point mpi functions

details:
- this commit instruments these mpi operations: Irecv,
  Isend, Recv, Send, Sendrecv, Wait, Waitany, Waitall
- it uses trace links to illustrate a message-passing
- TODO: Waitsome, Test and Testany to be implemented
- TODO: trace the amount of data transferred

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8130 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agotrace: functions to generate states for point-to-point smpi messages
schnorr [Fri, 6 Aug 2010 15:39:03 +0000 (15:39 +0000)]
trace: functions to generate states for point-to-point smpi messages

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8129 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agotrace: functions to generate links, append a link type in the hierarchy of types
schnorr [Fri, 6 Aug 2010 15:39:03 +0000 (15:39 +0000)]
trace: functions to generate links, append a link type in the hierarchy of types

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8128 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agotrace: a dictionary to keep link keys, put and get functions to manage it
schnorr [Fri, 6 Aug 2010 15:39:02 +0000 (15:39 +0000)]
trace: a dictionary to keep link keys, put and get functions to manage it

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8127 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoAdded MPI_CHAR to predefined reduce operations (not in the standard, but convenient...
pini [Thu, 5 Aug 2010 21:47:48 +0000 (21:47 +0000)]
Added MPI_CHAR to predefined reduce operations (not in the standard, but convenient and working as expected).

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8126 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agotracing MPI collective operations implemented in SMPI
schnorr [Thu, 5 Aug 2010 14:19:31 +0000 (14:19 +0000)]
tracing MPI collective operations implemented in SMPI

details:
- MPI Bcast, Barrier, Gather, Gather, Allgather,
  Reduce, Scan, Reduce_scatter, Alltoall and
  their 'v' variants
- the tracing is only a state for now
- the root rank is not used for now to identify
  which process is the root of operation (for
  those who have a root)
- the trace is visualizable in Paje and Triva (SquarifiedTreemap)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8125 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agotracing MPI_Init and MPI_Finalize (trace container creation and destruction)
schnorr [Thu, 5 Aug 2010 14:19:30 +0000 (14:19 +0000)]
tracing MPI_Init and MPI_Finalize (trace container creation and destruction)

details:
- added function to create the string that identifies
  a mpi_process container in the trace
- processes are grouped by host

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8124 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoinitial instrumentation points for the smpi component
schnorr [Thu, 5 Aug 2010 14:19:30 +0000 (14:19 +0000)]
initial instrumentation points for the smpi component

details:
- nothing is traced yet, just coupling smpi with the tracing module
- compile simgrid with enable_trace = on
- execute it with --cfg=tracing/smpi:1
- TODO: add an option "--trace" to smpirun when this is completed
that is translated to the previously cited execution parameter

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8123 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoextend bypass to grass...
coldpeace [Thu, 5 Aug 2010 14:18:21 +0000 (14:18 +0000)]
extend bypass to grass...

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8122 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoadd gras_load_environment_script & gras_function_register_default functions to gras
coldpeace [Thu, 5 Aug 2010 14:17:20 +0000 (14:17 +0000)]
add gras_load_environment_script & gras_function_register_default functions to gras

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8121 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoMissing files during make dist.
navarrop [Thu, 5 Aug 2010 13:03:40 +0000 (13:03 +0000)]
Missing files during make dist.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8120 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoGive LD_LIBRARY_PATH to smpirun.
navarrop [Thu, 5 Aug 2010 12:10:21 +0000 (12:10 +0000)]
Give LD_LIBRARY_PATH to smpirun.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8119 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agofix: compilation warnings
schnorr [Thu, 5 Aug 2010 11:33:06 +0000 (11:33 +0000)]
fix: compilation warnings

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8118 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoSorry.
navarrop [Thu, 5 Aug 2010 11:24:17 +0000 (11:24 +0000)]
Sorry.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8117 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoBe more strict with gtnets.
navarrop [Thu, 5 Aug 2010 11:21:26 +0000 (11:21 +0000)]
Be more strict with gtnets.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8116 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoupdating gtnets examples with new tracing method, new tesh files to test it
schnorr [Thu, 5 Aug 2010 11:06:17 +0000 (11:06 +0000)]
updating gtnets examples with new tracing method, new tesh files to test it

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8115 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoFAQ updated with tracing options, change on the trace interface
schnorr [Thu, 5 Aug 2010 11:06:16 +0000 (11:06 +0000)]
FAQ updated with tracing options, change on the trace interface

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8114 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoupdating tracing examples according to new TRACE_start and xbt configuration options
schnorr [Thu, 5 Aug 2010 11:06:15 +0000 (11:06 +0000)]
updating tracing examples according to new TRACE_start and xbt configuration options

details:
- tesh files updated as well
- TRACE_start must be called *after* MSG_global_domain for MSG-based simulators

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8113 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoremoving tracing functions from examples that are not in msg/tracing directory
schnorr [Thu, 5 Aug 2010 11:06:14 +0000 (11:06 +0000)]
removing tracing functions from examples that are not in msg/tracing directory

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8112 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agodetecting if TRACE_start was called too soon (before TRACE_global_init)
schnorr [Thu, 5 Aug 2010 11:06:13 +0000 (11:06 +0000)]
detecting if TRACE_start was called too soon (before TRACE_global_init)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8111 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agokill all aspects related to masks in the tracing interface
schnorr [Thu, 5 Aug 2010 11:06:12 +0000 (11:06 +0000)]
kill all aspects related to masks in the tracing interface

details:
- TRACE_start (filename) and TRACE_start_with_mask (filename, mask)
are replaced by TRACE_start, which takes tracing configurations
from the xbt_cfg_set, defined in the file instr_config.c
- new TRACE_start must be called after MSG_global_init, in
order to have the proper configurations defined

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8110 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agodeclaration of configuration options for tracing
schnorr [Thu, 5 Aug 2010 11:06:11 +0000 (11:06 +0000)]
declaration of configuration options for tracing

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8109 48e7efb5-ca39-0410-a469-dd3cf9ba447f

13 years agoDon't need this variable now.
navarrop [Thu, 5 Aug 2010 10:58:13 +0000 (10:58 +0000)]
Don't need this variable now.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8108 48e7efb5-ca39-0410-a469-dd3cf9ba447f