Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
9 years agoFix warning introduced by previous commit
Stéphane Castelli [Wed, 7 May 2014 14:17:50 +0000 (16:17 +0200)]
Fix warning introduced by previous commit

9 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Stéphane Castelli [Wed, 7 May 2014 13:38:08 +0000 (15:38 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

9 years agoCompletion of the routing for fat trees
Stéphane Castelli [Wed, 7 May 2014 13:24:34 +0000 (15:24 +0200)]
Completion of the routing for fat trees

9 years agoAdd some routing for the fat trees
Stéphane Castelli [Wed, 7 May 2014 11:54:04 +0000 (13:54 +0200)]
Add some routing for the fat trees
Unsign some ints

9 years agoremove file introduced in 4a8e5b1e8
Augustin Degomme [Wed, 7 May 2014 09:26:54 +0000 (11:26 +0200)]
remove file introduced in 4a8e5b1e8

9 years agoChangelog update
Augustin Degomme [Wed, 7 May 2014 09:25:08 +0000 (11:25 +0200)]
Changelog update

9 years agoFix leak in process_join
Paul Bédaride [Wed, 7 May 2014 09:24:57 +0000 (11:24 +0200)]
Fix leak in process_join

9 years agobetter to add this file ...
suter [Wed, 7 May 2014 02:10:06 +0000 (04:10 +0200)]
better to add this file ...

9 years agoproperly add a smpicxx "compiler"
suter [Wed, 7 May 2014 01:37:52 +0000 (03:37 +0200)]
properly add a smpicxx "compiler"

9 years agoallow MPI codes to use timezone in their gettimeofday (but we replace it
suter [Wed, 7 May 2014 01:09:51 +0000 (03:09 +0200)]
allow MPI codes to use timezone in their gettimeofday (but we replace it
to NULL anyway). The previous macro prevented the compilation of some
code.

9 years agoAdded a definition of MPI_File (MPI-IO) to allow smpicc to compile code that declare...
Henri Casanova [Tue, 6 May 2014 23:09:23 +0000 (13:09 -1000)]
Added a definition of MPI_File (MPI-IO) to allow smpicc to compile code that declare MPI_File variables.

9 years agoSome updates in ChangeLog.
Arnaud Giersch [Tue, 6 May 2014 13:50:23 +0000 (15:50 +0200)]
Some updates in ChangeLog.

9 years agohave barrier_wait return XBT/MSG_BARRIER_SERIAL_PROCESS for one process
Augustin Degomme [Tue, 6 May 2014 16:09:39 +0000 (18:09 +0200)]
have barrier_wait return XBT/MSG_BARRIER_SERIAL_PROCESS for one process
Also have it reset the counter when barrier is completed, to allow reuse

9 years agofix teshes
Augustin Degomme [Tue, 6 May 2014 15:25:13 +0000 (17:25 +0200)]
fix teshes

9 years agoactually change the value as said in previous commit
Augustin Degomme [Tue, 6 May 2014 14:58:09 +0000 (16:58 +0200)]
actually change the value as said in previous commit

9 years agochange default value of maxmin/precision to 1e-3 for smpi. Fix bug [#17132]
Augustin Degomme [Tue, 6 May 2014 14:55:59 +0000 (16:55 +0200)]
change default value of maxmin/precision to 1e-3 for smpi. Fix bug [#17132]
The default one was uselessly low, since the actual computation precision is now surf/precision.
This lead to some bug on 64 bit systems when comparing large values (>1M) with insanely high precision (1e-9).

9 years agorequalify tesh to account for new finalize
Augustin Degomme [Tue, 6 May 2014 13:46:21 +0000 (15:46 +0200)]
requalify tesh to account for new finalize

9 years agoUse the xbt barrier to finalize smpi processes cleanly.
Augustin Degomme [Tue, 6 May 2014 13:41:53 +0000 (15:41 +0200)]
Use the xbt barrier to finalize smpi processes cleanly.
This removes the MPI_Barrier that was used before, which might have caused problems in some cases

9 years agoadd msg and xbt versions of barrier.
Augustin Degomme [Tue, 6 May 2014 13:31:00 +0000 (15:31 +0200)]
add msg and xbt versions of barrier.
MSG/xbt_barrier_init(unsigned int count) creates the barrier object for all processes
MSG/xbt_barrier_wait(msg/xbt_bar_t bar) waits on it
MSG/xbt_barrier_destroy(msg/xbt_bar_t bar) deletes the object (only one process should call it)

9 years agotypo --
Augustin Degomme [Mon, 5 May 2014 13:49:43 +0000 (15:49 +0200)]
typo --

9 years agotypo --
Augustin Degomme [Mon, 5 May 2014 12:43:15 +0000 (14:43 +0200)]
typo --

9 years agoadd MSG_get_as_by_name call, answering [#17311]
Augustin Degomme [Mon, 5 May 2014 12:11:37 +0000 (14:11 +0200)]
add MSG_get_as_by_name call, answering [#17311]

9 years agoFix tesh-simdag-flatifier
Paul Bédaride [Tue, 6 May 2014 13:23:50 +0000 (15:23 +0200)]
Fix tesh-simdag-flatifier

9 years agoUpdate changelog
Paul Bédaride [Tue, 6 May 2014 12:13:26 +0000 (14:13 +0200)]
Update changelog

9 years agoReorganize AddTests.cmake
Paul Bédaride [Tue, 6 May 2014 09:07:44 +0000 (11:07 +0200)]
Reorganize AddTests.cmake

9 years agoCorrections to fat trees, set the size of connection vectors right
Stéphane Castelli [Tue, 6 May 2014 09:05:52 +0000 (11:05 +0200)]
Corrections to fat trees, set the size of connection vectors right

9 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Stéphane Castelli [Mon, 5 May 2014 15:10:55 +0000 (17:10 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

9 years agoRewrite of the fat trees implementation
Stéphane Castelli [Mon, 5 May 2014 15:10:20 +0000 (17:10 +0200)]
Rewrite of the fat trees implementation

9 years agoThere was too much levels of backslash escapes. Remove one of them.
Arnaud Giersch [Mon, 5 May 2014 12:17:31 +0000 (14:17 +0200)]
There was too much levels of backslash escapes.  Remove one of them.

It seems that it changed with commit 782233, when the add_test statements
were changed from add_test(testname exe arg...) to
add_test(NAME testname COMMAND exe arg...).

This broke test memcheck-smpi-replay-9.

9 years agoDon't use xbt_assert for error checking, it may be disabled.
Arnaud Giersch [Mon, 5 May 2014 12:15:12 +0000 (14:15 +0200)]
Don't use xbt_assert for error checking, it may be disabled.

9 years agoSpecify dependencies between memcheck tests.
Arnaud Giersch [Mon, 5 May 2014 11:43:46 +0000 (13:43 +0200)]
Specify dependencies between memcheck tests.

Allows to run memcheck tests in parallel with e.g.
    ctest -D ExperimentalMemCheck -j 8

9 years agoRemove useless script (replaced by cmake macro ADD_TESH_FACTORIES).
Arnaud Giersch [Mon, 5 May 2014 09:40:20 +0000 (11:40 +0200)]
Remove useless script (replaced by cmake macro ADD_TESH_FACTORIES).

9 years agoMove tests so that the real binary is tested by valgrind, and not the tesh tool.
Arnaud Giersch [Mon, 5 May 2014 09:35:33 +0000 (11:35 +0200)]
Move tests so that the real binary is tested by valgrind, and not the tesh tool.

9 years agoRemove last references to the now obsolete testsuite/ directory.
Arnaud Giersch [Mon, 5 May 2014 09:09:38 +0000 (11:09 +0200)]
Remove last references to the now obsolete testsuite/ directory.

9 years agoRestructure teshsuite smpi
Paul Bédaride [Mon, 5 May 2014 11:38:04 +0000 (13:38 +0200)]
Restructure teshsuite smpi

9 years agoRestructure teshsuite simdag
Paul Bédaride [Wed, 30 Apr 2014 12:45:43 +0000 (14:45 +0200)]
Restructure teshsuite simdag

9 years agoRestructure teshsuite simix
Paul Bédaride [Wed, 30 Apr 2014 09:57:55 +0000 (11:57 +0200)]
Restructure teshsuite simix

9 years agoRestructure teshsuite xbt
Paul Bédaride [Wed, 30 Apr 2014 09:09:23 +0000 (11:09 +0200)]
Restructure teshsuite xbt

9 years agomodel-checker : restore previous version of smpi_finalize if MC is enabled
Marion Guthmuller [Tue, 29 Apr 2014 19:29:27 +0000 (21:29 +0200)]
model-checker : restore previous version of smpi_finalize if MC is enabled

9 years agomodel-checker : deal with the soundness of DPOR only if DPOR is enabled
Marion Guthmuller [Tue, 29 Apr 2014 15:21:59 +0000 (17:21 +0200)]
model-checker : deal with the soundness of DPOR only if DPOR is enabled

9 years agomodel-checker : fix the detection of determinism
Marion Guthmuller [Tue, 29 Apr 2014 15:03:09 +0000 (17:03 +0200)]
model-checker : fix the detection of determinism

9 years agoRemove absolute path from xbt-log tesh
Paul Bédaride [Tue, 29 Apr 2014 15:41:30 +0000 (17:41 +0200)]
Remove absolute path from xbt-log tesh

9 years agoAdd teshfiles to CMakelists.txt of teshsuite/mc
Paul Bédaride [Tue, 29 Apr 2014 15:29:58 +0000 (17:29 +0200)]
Add teshfiles to CMakelists.txt of teshsuite/mc

9 years agopermission change
Augustin Degomme [Tue, 29 Apr 2014 14:44:10 +0000 (16:44 +0200)]
permission change

9 years agoFix memcheck with new Add_test macros
Paul Bédaride [Tue, 29 Apr 2014 14:52:31 +0000 (16:52 +0200)]
Fix memcheck with new Add_test macros

9 years agoadd script for jenkins DynamicAnalysis build (memcheck+coverage)
Augustin Degomme [Tue, 29 Apr 2014 14:12:36 +0000 (16:12 +0200)]
add script for jenkins DynamicAnalysis build (memcheck+coverage)

9 years agoadd enable_memcheck_xml flag, to output valgrind in xml format (necessary for jenkins).
Augustin Degomme [Tue, 29 Apr 2014 13:39:43 +0000 (15:39 +0200)]
add enable_memcheck_xml flag, to output valgrind in xml format (necessary for jenkins).
This triggers enable_memcheck if not provided.

9 years agoFix DefinePackage mc CMakeLists.txt
Paul Bédaride [Tue, 29 Apr 2014 11:18:53 +0000 (13:18 +0200)]
Fix DefinePackage mc CMakeLists.txt

9 years agoFix teshsuite/surf/sur_usage/CMakeList.txt
Paul Bédaride [Tue, 29 Apr 2014 11:05:43 +0000 (13:05 +0200)]
Fix teshsuite/surf/sur_usage/CMakeList.txt

9 years agoMove mc testsuite to teshsuite
Paul Bédaride [Tue, 29 Apr 2014 09:04:25 +0000 (11:04 +0200)]
Move mc testsuite to teshsuite

9 years agoMove xbt testsuite to teshsuite
Paul Bédaride [Tue, 29 Apr 2014 08:15:47 +0000 (10:15 +0200)]
Move xbt testsuite to teshsuite

9 years agoRemove simeng_usage.tesh (not used)
Paul Bédaride [Mon, 28 Apr 2014 15:35:42 +0000 (17:35 +0200)]
Remove simeng_usage.tesh (not used)

9 years agoMove surf testsuite to teshsuite
Paul Bédaride [Mon, 28 Apr 2014 15:31:50 +0000 (17:31 +0200)]
Move surf testsuite to teshsuite

9 years agoRemove redundant test.
Arnaud Giersch [Mon, 28 Apr 2014 22:10:00 +0000 (00:10 +0200)]
Remove redundant test.

9 years agoSort file lists.
Arnaud Giersch [Fri, 25 Apr 2014 13:25:01 +0000 (15:25 +0200)]
Sort file lists.

9 years agoRemove stale temp file.
Arnaud Giersch [Fri, 25 Apr 2014 12:54:18 +0000 (14:54 +0200)]
Remove stale temp file.

9 years agoFix some javadoc warnings (remains 2).
Arnaud Giersch [Fri, 25 Apr 2014 12:47:45 +0000 (14:47 +0200)]
Fix some javadoc warnings (remains 2).

9 years agoNew ADD_TESH and ADD_TESH_FACTORIES cmake macros
Paul Bédaride [Mon, 28 Apr 2014 13:05:00 +0000 (15:05 +0200)]
New ADD_TESH and ADD_TESH_FACTORIES cmake macros

9 years agofix path to deployment fil in tesh example
Augustin Degomme [Mon, 28 Apr 2014 10:11:54 +0000 (12:11 +0200)]
fix path to deployment fil in tesh example

9 years agoleak --
Augustin Degomme [Mon, 28 Apr 2014 08:35:51 +0000 (10:35 +0200)]
leak --

9 years agoAdd missing CMakeLists.txt
Paul Bédaride [Mon, 28 Apr 2014 08:00:02 +0000 (10:00 +0200)]
Add missing CMakeLists.txt

9 years agoReorganize teshsuite/msg
Paul Bédaride [Fri, 25 Apr 2014 16:06:29 +0000 (18:06 +0200)]
Reorganize teshsuite/msg

9 years agoAdd an example of use of the previous interface.
Augustin Degomme [Fri, 25 Apr 2014 14:57:12 +0000 (16:57 +0200)]
Add an example of use of the previous interface.
This is based on the masterslave_mailbox example for MSG, but adds two instances of MPI application:
one doing a simple send/recv, the other performing an alltoall.

9 years agoForce valgrind to output in XML.
Augustin Degomme [Fri, 25 Apr 2014 14:04:55 +0000 (16:04 +0200)]
Force valgrind to output in XML.
This will break cdash use, but enable jenkins parsing and displaying of the reports. Hopefully.

9 years agoBegin to add an interface to instanciate SMPI programatically.
Augustin Degomme [Fri, 25 Apr 2014 14:33:35 +0000 (16:33 +0200)]
Begin to add an interface to instanciate SMPI programatically.

This adds SMPI_init, SMPI_finalize, and SMPI_app_instance_register

This allows user to deploy MSG+MPI applications in the same simulation,
as well as deploying several instances of SMPI with the same or different application,
without using smpirun. This means that we can now handle several MPI_COMM_WORLD.

This is only a very early step, as for now the interface still depends on MSG calls
 to deploy the application, and run the processes.

We should work on an interface to do this for SMPI, or add a generic interface
that would allow several SimGrid interfaces to run alltogether.

9 years agoexplode smpi_main into modules
Augustin Degomme [Fri, 25 Apr 2014 12:44:00 +0000 (14:44 +0200)]
explode smpi_main into modules

9 years agoforgotten in 0395dfc0
Augustin Degomme [Wed, 23 Apr 2014 16:53:36 +0000 (18:53 +0200)]
forgotten in 0395dfc0

9 years agoFix windows java build
Augustin Degomme [Wed, 23 Apr 2014 16:53:08 +0000 (18:53 +0200)]
Fix windows java build

9 years agoadd private (optional) data copy function callback to _send _isend _recv _irecv simcalls
Augustin Degomme [Wed, 23 Apr 2014 16:52:38 +0000 (18:52 +0200)]
add private (optional) data copy function callback to _send _isend _recv _irecv simcalls
It used to be globally set, but if we want to mix layers of SimGrid (SMPI + MSG calls)
we would want to have different copy functions used during the same simulation

9 years agonew flex run
Augustin Degomme [Wed, 23 Apr 2014 13:37:11 +0000 (15:37 +0200)]
new flex run

9 years agoMake MSG action module initialization/finalization an explicit call
Augustin Degomme [Thu, 17 Apr 2014 13:54:10 +0000 (15:54 +0200)]
Make MSG action module initialization/finalization an explicit call
This avoid setting up these modules every time, which could cause some issues when mixing

9 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Stéphane Castelli [Fri, 25 Apr 2014 12:50:42 +0000 (14:50 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

9 years agoFix failed conflict (oups)
Paul Bédaride [Fri, 25 Apr 2014 12:56:57 +0000 (14:56 +0200)]
Fix failed conflict (oups)

9 years agoAdd MSG_process_join [#13601]
Paul Bédaride [Fri, 25 Apr 2014 12:52:03 +0000 (14:52 +0200)]
Add MSG_process_join [#13601]

9 years agoAdd in DefinePackage.cmake the man pages
Stéphane Castelli [Fri, 25 Apr 2014 12:50:23 +0000 (14:50 +0200)]
Add in DefinePackage.cmake the man pages

9 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Stéphane Castelli [Fri, 25 Apr 2014 12:15:22 +0000 (14:15 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

9 years agoAdd a man page for smpicc and smpirun
Stéphane Castelli [Fri, 25 Apr 2014 11:26:32 +0000 (13:26 +0200)]
Add a man page for smpicc and smpirun

9 years agoFix warning about undefined identifier [-Wundef].
Arnaud Giersch [Thu, 24 Apr 2014 14:38:31 +0000 (16:38 +0200)]
Fix warning about undefined identifier [-Wundef].

Thanks to Samuel Thibault for the report.

9 years ago[mc] Enable Fortran 90 code with model cheking
Gabriel Corona [Thu, 24 Apr 2014 13:54:04 +0000 (15:54 +0200)]
[mc] Enable Fortran 90 code with model cheking

9 years ago[mmalloc] Extends the junk area and use finer grained allocations
Gabriel Corona [Thu, 24 Apr 2014 13:51:54 +0000 (15:51 +0200)]
[mmalloc] Extends the junk area and use finer grained allocations

With this we are able to run Fortran 90 code at the expense of 2 more
pages per state.

9 years agoNo need to copy these files.
Arnaud Giersch [Thu, 24 Apr 2014 13:19:28 +0000 (15:19 +0200)]
No need to copy these files.

Add --setenv srcdir=... to tests when needed.

9 years agoFix surf inclusion path for test smpi-tracing-ptp.
Arnaud Giersch [Thu, 24 Apr 2014 13:08:14 +0000 (15:08 +0200)]
Fix surf inclusion path for test smpi-tracing-ptp.

9 years agoForgot to run distcheck after previous commit.
Arnaud Giersch [Thu, 24 Apr 2014 12:32:21 +0000 (14:32 +0200)]
Forgot to run distcheck after previous commit.

Register new files for dist.

9 years agoAdd missing xml file.
Arnaud Giersch [Thu, 24 Apr 2014 12:10:44 +0000 (14:10 +0200)]
Add missing xml file.

9 years ago[mc] Check error in MAP_FAILED
Gabriel Corona [Thu, 24 Apr 2014 11:31:23 +0000 (13:31 +0200)]
[mc] Check error in MAP_FAILED

9 years ago[mc] mprotect the region *after* zero-ing ignored parts:
Gabriel Corona [Thu, 24 Apr 2014 11:07:56 +0000 (13:07 +0200)]
[mc] mprotect the region *after* zero-ing ignored parts:

Doing it the other way round segfaults.

9 years ago[mc] Add basic test for lexical-block scoped variable
Gabriel Corona [Thu, 24 Apr 2014 10:17:04 +0000 (12:17 +0200)]
[mc] Add basic test for lexical-block scoped variable

9 years agoMerge "mc"
Gabriel Corona [Thu, 24 Apr 2014 09:55:50 +0000 (11:55 +0200)]
Merge "mc"

9 years ago[mc] Fix DW_AT_start_scope handling in mc_checkpoint
Gabriel Corona [Thu, 24 Apr 2014 09:48:30 +0000 (11:48 +0200)]
[mc] Fix DW_AT_start_scope handling in mc_checkpoint

9 years ago[mc] Do not use "simdata" variable (workaround for broken test)
Gabriel Corona [Thu, 24 Apr 2014 09:38:13 +0000 (11:38 +0200)]
[mc] Do not use "simdata" variable (workaround for broken test)

With DWARF4, the "simdata" variables in a nested scope seems to
prevent state equality detection and breaks a test :

  * happens with DWARF4 ;

  * does not happen it the variable is at the main scope of the
    function ;

  * the variable is found either way (DWARF2 and DWARF4) ;

  * the scope addresses seems fine in both versions of DWARF (the
    semantic of the DW_AT_high_pc is different but it is handled
    correctly).

As a temporary workaround, not using this variable fixes the test.

9 years agoFix tesh files after commit c35d96a.
Arnaud Giersch [Thu, 24 Apr 2014 09:12:44 +0000 (11:12 +0200)]
Fix tesh files after commit c35d96a.

9 years agoTest cannot work if !HAVE_RAWCTX.
Arnaud Giersch [Tue, 22 Apr 2014 15:31:13 +0000 (17:31 +0200)]
Test cannot work if !HAVE_RAWCTX.

9 years agoFix the default working set size of migration
Takahiro Hirofuchi [Thu, 24 Apr 2014 08:06:01 +0000 (17:06 +0900)]
Fix the default working set size of migration

Cherry-pick from the hypervisor branch.
Note that 90% is just an example. More cleanup and documentation should
be necessary.

Conflicts:
src/msg/msg_vm.c

9 years agoFix tracing options ignored when set in xml config file [#14853]
Paul Bédaride [Wed, 23 Apr 2014 08:50:58 +0000 (10:50 +0200)]
Fix tracing options ignored when set in xml config file [#14853]

9 years agoShould fix a build error happening on 32bits architectures, related to the size of...
Stéphane Castelli [Wed, 23 Apr 2014 08:21:38 +0000 (10:21 +0200)]
Should fix a build error happening on 32bits architectures, related to the size of an adress

9 years agoMerge branch 'smpi-topo'
Stéphane Castelli [Tue, 22 Apr 2014 14:37:30 +0000 (16:37 +0200)]
Merge branch 'smpi-topo'

Conflicts:
src/smpi/smpi_pmpi.c

9 years agoRename option multiple use of task and fix leak
Paul Bédaride [Tue, 22 Apr 2014 09:26:20 +0000 (11:26 +0200)]
Rename option multiple use of task and fix leak

10 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Stéphane Castelli [Fri, 18 Apr 2014 11:53:03 +0000 (13:53 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

10 years agoMerge with master
Stéphane Castelli [Fri, 18 Apr 2014 11:51:27 +0000 (13:51 +0200)]
Merge with master

Fat Tree routing is almost complete, except there is no routing yet

10 years agoAdd option to msg to debug multiple use of task
Paul Bédaride [Thu, 17 Apr 2014 15:40:31 +0000 (17:40 +0200)]
Add option to msg to debug multiple use of task