Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
7 years agoMerge branch 'torus'
Augustin Degomme [Wed, 22 Jan 2014 10:12:40 +0000 (11:12 +0100)]
Merge branch 'torus'

7 years agodtd update for new cluster routing options
Augustin Degomme [Wed, 22 Jan 2014 10:07:14 +0000 (11:07 +0100)]
dtd update for new cluster routing options

7 years agomake cluster routing a bit more flexible, to allow adding other kinds of clusters
Augustin Degomme [Wed, 22 Jan 2014 10:06:17 +0000 (11:06 +0100)]
make cluster routing a bit more flexible, to allow adding other kinds of clusters
for each node, link creation is made inside the specific routing file,
except for loopback and backbone which are done in surf_routing if they are needed

7 years agoConnect new log category.
Arnaud Giersch [Wed, 22 Jan 2014 09:24:25 +0000 (10:24 +0100)]
Connect new log category.

7 years agoFile is expected to be missing from the archive.
Arnaud Giersch [Wed, 22 Jan 2014 09:23:10 +0000 (10:23 +0100)]
File is expected to be missing from the archive.

7 years agoRemove obsolete files.
Arnaud Giersch [Wed, 22 Jan 2014 09:20:48 +0000 (10:20 +0100)]
Remove obsolete files.

7 years agosmpi_global_size() is needed even when !SMPI_F2C.
Arnaud Giersch [Tue, 21 Jan 2014 22:18:08 +0000 (23:18 +0100)]
smpi_global_size() is needed even when !SMPI_F2C.

7 years agoFix warnings about unused variables.
Arnaud Giersch [Tue, 21 Jan 2014 21:16:07 +0000 (22:16 +0100)]
Fix warnings about unused variables.

7 years agoMake initialization order match declaration order.
Arnaud Giersch [Tue, 21 Jan 2014 21:07:49 +0000 (22:07 +0100)]
Make initialization order match declaration order.

7 years agoComment unused variables and parameters.
Arnaud Giersch [Tue, 21 Jan 2014 21:04:14 +0000 (22:04 +0100)]
Comment unused variables and parameters.

7 years agoUse struct here to keep compatibility with C files.
Arnaud Giersch [Tue, 21 Jan 2014 15:28:25 +0000 (16:28 +0100)]
Use struct here to keep compatibility with C files.

struct As is used in ../include/msg/datatypes.h
struct RoutingEdge is used in ../include/simgrid/platf.h

(commit 6af809fdd97845671db6136b3903e0d543ab7217 again).

7 years agoFix format string.
Arnaud Giersch [Tue, 21 Jan 2014 15:26:19 +0000 (16:26 +0100)]
Fix format string.

7 years agoEnable mpich3 tests with sysV and raw contexts.
Arnaud Giersch [Tue, 21 Jan 2014 14:12:51 +0000 (15:12 +0100)]
Enable mpich3 tests with sysV and raw contexts.

7 years agoPrivatize global variables in mpich3 tests.
Arnaud Giersch [Tue, 21 Jan 2014 14:11:31 +0000 (15:11 +0100)]
Privatize global variables in mpich3 tests.

7 years agoGlobal variables should be initialized to zero.
Arnaud Giersch [Tue, 21 Jan 2014 09:30:36 +0000 (10:30 +0100)]
Global variables should be initialized to zero.

7 years agosmpi_cocci.h: make functions static.
Arnaud Giersch [Tue, 21 Jan 2014 09:28:48 +0000 (10:28 +0100)]
smpi_cocci.h: make functions static.

7 years agoMove declaration for smpi_global_size().
Arnaud Giersch [Tue, 21 Jan 2014 09:26:29 +0000 (10:26 +0100)]
Move declaration for smpi_global_size().

It is needed in smpi_cocci.h.

7 years agoSURF Documentation
Paul Bédaride [Tue, 21 Jan 2014 13:44:07 +0000 (14:44 +0100)]
SURF Documentation

7 years agoadd handling of the torus topology inside clusters
Augustin Degomme [Mon, 20 Jan 2014 13:20:43 +0000 (14:20 +0100)]
add handling of the torus topology inside clusters

7 years agoFix build when an older version of simgrid is already installed.
Arnaud Giersch [Mon, 20 Jan 2014 08:56:53 +0000 (09:56 +0100)]
Fix build when an older version of simgrid is already installed.

Put CMAKE_LINKARGS before CMDARGS so that libsimgrid is caught from the
right directory.

7 years agoupdate dtd to add torus_dimensions tag to clusters
Augustin Degomme [Fri, 17 Jan 2014 18:04:57 +0000 (19:04 +0100)]
update dtd to add torus_dimensions tag to clusters

7 years agoWorkaround hang at cleanup.
Arnaud Giersch [Thu, 16 Jan 2014 08:44:51 +0000 (09:44 +0100)]
Workaround hang at cleanup.

BTW, mmalloc_detach was renamed mmalloc_destroy in commit
907588ad7c14cc210e2f2a072b72bc1b91133ca0.

7 years agoAdd missing includes
Paul Bédaride [Wed, 15 Jan 2014 14:40:25 +0000 (15:40 +0100)]
Add missing includes

7 years agoRemove forgoten def
Paul Bédaride [Wed, 15 Jan 2014 14:30:24 +0000 (15:30 +0100)]
Remove forgoten def

7 years agoAdd missing file FindLibSigc++
Paul Bédaride [Wed, 15 Jan 2014 14:16:15 +0000 (15:16 +0100)]
Add missing file FindLibSigc++

7 years agoEnergy is now a plugin
Paul Bédaride [Wed, 15 Jan 2014 09:44:00 +0000 (10:44 +0100)]
Energy is now a plugin

7 years agoadd a public header giving access to all of our APIs in one include only
Martin Quinson [Tue, 14 Jan 2014 16:54:38 +0000 (17:54 +0100)]
add a public header giving access to all of our APIs in one include only

7 years agoOnly initialize comm_self when it is used (saves a lot of memory when a large number...
Augustin Degomme [Tue, 14 Jan 2014 15:58:38 +0000 (16:58 +0100)]
Only initialize comm_self when it is used (saves a lot of memory when a large number of nodes is used)

7 years agocoverage + modelchecker were behaving very badly (timeout for every test) on continuo...
Augustin Degomme [Mon, 13 Jan 2014 17:18:14 +0000 (18:18 +0100)]
coverage + modelchecker were behaving very badly (timeout for every test) on continuous integration systems

7 years agofix dist build
Augustin Degomme [Mon, 13 Jan 2014 13:57:27 +0000 (14:57 +0100)]
fix dist build

7 years agoavoid compiling too many times mtest files from mpich testsuite, just use it as a...
Augustin Degomme [Mon, 13 Jan 2014 13:46:14 +0000 (14:46 +0100)]
avoid compiling too many times mtest files from mpich testsuite, just use it as a static lib
This should speed up compilation of testsuite, and avoid problems with parallel builds

7 years agoMemleaks fixes on VM
Paul Bédaride [Thu, 9 Jan 2014 15:26:28 +0000 (16:26 +0100)]
Memleaks fixes on VM

7 years agoI meant to paraphrase the expression 'give me liberty or give me death', actually
Martin Quinson [Wed, 8 Jan 2014 06:47:20 +0000 (07:47 +0100)]
I meant to paraphrase the expression 'give me liberty or give me death', actually

7 years agoAdd -std=gnu99 to compile flags.
Arnaud Giersch [Tue, 7 Jan 2014 14:15:12 +0000 (15:15 +0100)]
Add -std=gnu99 to compile flags.

That's the C dialect we're using anyway, and it allows initial
declarations in for loops.

7 years agorespect the wishes of the blamee ;)
suter [Tue, 7 Jan 2014 11:28:27 +0000 (12:28 +0100)]
respect the wishes of the blamee ;)

7 years agoenglish orrection
suter [Tue, 7 Jan 2014 11:18:07 +0000 (12:18 +0100)]
english orrection

7 years agoFix a bug
Paul Bédaride [Thu, 19 Dec 2013 16:28:11 +0000 (17:28 +0100)]
Fix a bug

7 years agoAdd doc to new tool
Paul Bédaride [Thu, 19 Dec 2013 15:21:45 +0000 (16:21 +0100)]
Add doc to new tool

7 years agoAdd normalizing pointers addresses tool
Paul Bédaride [Thu, 19 Dec 2013 15:06:07 +0000 (16:06 +0100)]
Add normalizing pointers addresses tool

7 years agoFix
Paul Bédaride [Thu, 19 Dec 2013 11:00:53 +0000 (12:00 +0100)]
Fix

7 years agoRemove all dynamic casts
Paul Bédaride [Thu, 19 Dec 2013 10:39:09 +0000 (11:39 +0100)]
Remove all dynamic casts

7 years agoMerge lmm into base to avoid diamond inheritance
Paul Bédaride [Wed, 18 Dec 2013 17:22:17 +0000 (18:22 +0100)]
Merge lmm into base to avoid diamond inheritance

7 years agoReplace swag by boost::intrusive::list in surf
Paul Bédaride [Tue, 17 Dec 2013 08:59:03 +0000 (09:59 +0100)]
Replace swag by boost::intrusive::list in surf

7 years agofix an example of vm migration
Takahiro Hirofuchi [Wed, 18 Dec 2013 14:42:36 +0000 (15:42 +0100)]
fix an example of vm migration

7 years agoRevert "prevent using garbage in data field"
Takahiro Hirofuchi [Wed, 18 Dec 2013 10:28:16 +0000 (11:28 +0100)]
Revert "prevent using garbage in data field"

smx_host_t and smx_storage_t should be dict_elm.

This reverts commit 9c6d72b5bbc9f9b0f9d61c8964fabacaaa2a9914.

This revert is a cheri-pick from the hypervisor branch.

Conflicts:
src/simix/smx_host.c

7 years agoKeep the capping setting of a VM after migration.
Takahiro Hirofuchi [Thu, 21 Nov 2013 12:05:20 +0000 (13:05 +0100)]
Keep the capping setting of a VM after migration.

Cherry-pick from the hypervisor branch.
Manually fix conflicts around c++ surf.

Conflicts:
src/surf/vm_workstation.c

7 years agoforgot some functions in last commit ...
Augustin Degomme [Thu, 12 Dec 2013 15:29:02 +0000 (16:29 +0100)]
forgot some functions in last commit ...

7 years agook.. let's make all in surf.h xbt_public
Augustin Degomme [Thu, 12 Dec 2013 15:15:52 +0000 (16:15 +0100)]
ok.. let's make all in surf.h xbt_public

7 years agofix win build (missing xbt_public)
Augustin Degomme [Thu, 12 Dec 2013 14:47:47 +0000 (15:47 +0100)]
fix win build (missing xbt_public)

7 years agoremove double implementation
Augustin Degomme [Thu, 12 Dec 2013 14:09:19 +0000 (15:09 +0100)]
remove double implementation

7 years agofix cxx flag for win build
Augustin Degomme [Thu, 12 Dec 2013 13:55:46 +0000 (14:55 +0100)]
fix cxx flag for win build

7 years agoput back some data necessary for win build
Augustin Degomme [Thu, 12 Dec 2013 13:02:30 +0000 (14:02 +0100)]
put back some data necessary for win build

7 years agoClean surf interface
Paul Bédaride [Thu, 12 Dec 2013 10:44:32 +0000 (11:44 +0100)]
Clean surf interface

7 years agoFix segfault at end of simulation.
Arnaud Giersch [Tue, 10 Dec 2013 21:40:29 +0000 (22:40 +0100)]
Fix segfault at end of simulation.

Happens when msg_global is NULL, and only with MSG_USE_DEPECATED.

7 years agoFix build with MSG_USE_DEPRECATED.
Arnaud Giersch [Tue, 10 Dec 2013 15:51:31 +0000 (16:51 +0100)]
Fix build with MSG_USE_DEPRECATED.

7 years agoOne more valgrind suppression for backtrace/makecontext.
Arnaud Giersch [Sat, 7 Dec 2013 09:58:12 +0000 (10:58 +0100)]
One more valgrind suppression for backtrace/makecontext.

7 years agoCosmetics: use dashes instead of underscores in test names.
Arnaud Giersch [Fri, 6 Dec 2013 21:16:29 +0000 (22:16 +0100)]
Cosmetics: use dashes instead of underscores in test names.

7 years agoCosmetics: fix spacing.
Arnaud Giersch [Fri, 6 Dec 2013 20:40:54 +0000 (21:40 +0100)]
Cosmetics: fix spacing.

7 years agoUse values of type double.
Arnaud Giersch [Thu, 5 Dec 2013 23:38:49 +0000 (00:38 +0100)]
Use values of type double.

7 years agoParse contents *after* having set other fields (particularly "m_usedSize").
Arnaud Giersch [Thu, 5 Dec 2013 21:18:13 +0000 (22:18 +0100)]
Parse contents *after* having set other fields (particularly "m_usedSize").

7 years agoThis is already called by the constructor of the base class NetworkCm02Model.
Arnaud Giersch [Thu, 5 Dec 2013 17:15:27 +0000 (18:15 +0100)]
This is already called by the constructor of the base class NetworkCm02Model.

Fixes memory leak.

7 years agoDelete temporary strings.
Arnaud Giersch [Thu, 5 Dec 2013 17:09:17 +0000 (18:09 +0100)]
Delete temporary strings.

Fixes memory leak.

7 years agoFields already initialized by constructor of the base class Storage.
Arnaud Giersch [Thu, 5 Dec 2013 16:18:45 +0000 (17:18 +0100)]
Fields already initialized by constructor of the base class Storage.

Fixes memory leak.

7 years agoField already exists in StorageModel.
Arnaud Giersch [Thu, 5 Dec 2013 15:59:01 +0000 (16:59 +0100)]
Field already exists in StorageModel.

Fixes valgrind error about conditional jump depending on uninitialized value.

7 years agoThis is already destroyed by Storage::~Storage.
Arnaud Giersch [Thu, 5 Dec 2013 14:49:45 +0000 (15:49 +0100)]
This is already destroyed by Storage::~Storage.

Fixes double-free error.

7 years agoRemove unused methods.
Arnaud Giersch [Thu, 5 Dec 2013 14:10:54 +0000 (15:10 +0100)]
Remove unused methods.

Clang warned about overloaded functions of different types.

7 years agoMake prototype match overloaded function from class NetworkModel.
Arnaud Giersch [Thu, 5 Dec 2013 13:53:16 +0000 (14:53 +0100)]
Make prototype match overloaded function from class NetworkModel.

Fixes Clang warning.

7 years agoComment unused parameter.
Arnaud Giersch [Thu, 5 Dec 2013 13:44:06 +0000 (14:44 +0100)]
Comment unused parameter.

Fixes compiler warning.

7 years agoComment unused functions.
Arnaud Giersch [Thu, 5 Dec 2013 13:36:11 +0000 (14:36 +0100)]
Comment unused functions.

Should be removed if they are really unused.

7 years agoFix initialization order.
Arnaud Giersch [Thu, 5 Dec 2013 13:24:54 +0000 (14:24 +0100)]
Fix initialization order.

Compilers whine when it's different from the declaration order.

7 years agoRemove useless information from debug message.
Arnaud Giersch [Thu, 5 Dec 2013 13:23:11 +0000 (14:23 +0100)]
Remove useless information from debug message.

Fixes error with format string.

7 years agoInitialize variables.
Arnaud Giersch [Thu, 5 Dec 2013 13:01:21 +0000 (14:01 +0100)]
Initialize variables.

7 years agoUse SG_{BEGIN,END}_DECL() for what it's designed to serve.
Arnaud Giersch [Thu, 5 Dec 2013 20:59:49 +0000 (21:59 +0100)]
Use SG_{BEGIN,END}_DECL() for what it's designed to serve.

7 years agoIn XBT_LOG_NEW_SUBCATEGORY_helper, protect function declaration with SG_{BEGIN,END...
Arnaud Giersch [Thu, 5 Dec 2013 20:49:55 +0000 (21:49 +0100)]
In XBT_LOG_NEW_SUBCATEGORY_helper, protect function declaration with SG_{BEGIN,END}_DECL().

Also remove now useless extern "C" specifications.

7 years agoUntabify.
Arnaud Giersch [Fri, 29 Nov 2013 20:52:53 +0000 (21:52 +0100)]
Untabify.

7 years agoRestructure surf++ workstation vmworkstation
Paul Bédaride [Thu, 5 Dec 2013 12:08:11 +0000 (13:08 +0100)]
Restructure surf++ workstation vmworkstation

7 years agoThese defines are useless.
Arnaud Giersch [Tue, 3 Dec 2013 15:56:22 +0000 (16:56 +0100)]
These defines are useless.

7 years agoRestructure surf++ storage
Paul Bédaride [Tue, 3 Dec 2013 15:36:22 +0000 (16:36 +0100)]
Restructure surf++ storage

7 years agoFix network_interface bug
Paul Bédaride [Fri, 29 Nov 2013 17:19:08 +0000 (18:19 +0100)]
Fix network_interface bug

7 years agoAdd missing files (again)
Paul Bédaride [Fri, 29 Nov 2013 17:03:45 +0000 (18:03 +0100)]
Add missing files (again)

7 years agoRestructure surf++ cpu and network
Paul Bédaride [Fri, 29 Nov 2013 16:57:31 +0000 (17:57 +0100)]
Restructure surf++ cpu and network

7 years agoFix WorkstationCLM03::fileSeek return type
Pierre Veyre [Fri, 29 Nov 2013 13:44:00 +0000 (14:44 +0100)]
Fix WorkstationCLM03::fileSeek return type

7 years agoAdd MSG_file_seek function
Pierre Veyre [Fri, 29 Nov 2013 13:41:37 +0000 (14:41 +0100)]
Add MSG_file_seek function

7 years agoAdd MSG_file_tell function and prepare MSG_file_seek
Pierre Veyre [Fri, 29 Nov 2013 11:26:32 +0000 (12:26 +0100)]
Add MSG_file_tell function and prepare MSG_file_seek

7 years agoUpdate io tesh file according to MSG_file_write bug fix
Pierre Veyre [Fri, 29 Nov 2013 09:29:02 +0000 (10:29 +0100)]
Update io tesh file according to MSG_file_write bug fix

7 years agoFix MSG_file_write bug
Pierre Veyre [Fri, 29 Nov 2013 08:31:02 +0000 (09:31 +0100)]
Fix MSG_file_write bug

7 years agocategory will be strduped in surf.cpp: Action::setCategory. No need to
suter [Fri, 29 Nov 2013 08:39:54 +0000 (09:39 +0100)]
category will be strduped in surf.cpp: Action::setCategory. No need to
do it twice. leak --

7 years agoFix memleak
Paul Bédaride [Thu, 28 Nov 2013 16:51:53 +0000 (17:51 +0100)]
Fix memleak

7 years agono need to protect surf_mins by ifdef, allocated whatever the factory
suter [Thu, 28 Nov 2013 15:24:53 +0000 (16:24 +0100)]
no need to protect surf_mins by ifdef, allocated whatever the factory

7 years agocannot compare dynar to 0
suter [Thu, 28 Nov 2013 14:44:04 +0000 (15:44 +0100)]
cannot compare dynar to 0

7 years agoFix memleak
Paul Bédaride [Thu, 28 Nov 2013 15:02:19 +0000 (16:02 +0100)]
Fix memleak

7 years agoFix smpi memleak
Paul Bédaride [Thu, 28 Nov 2013 12:21:50 +0000 (13:21 +0100)]
Fix smpi memleak

7 years agoleak--
suter [Thu, 28 Nov 2013 11:38:09 +0000 (12:38 +0100)]
leak--

7 years agoOops I forget to add new header to DefinePackages.cmake
Paul Bédaride [Thu, 28 Nov 2013 10:38:51 +0000 (11:38 +0100)]
Oops I forget to add new header to DefinePackages.cmake

7 years agoFix issue with surf.h included in simix.h
Paul Bédaride [Thu, 28 Nov 2013 10:31:30 +0000 (11:31 +0100)]
Fix issue with surf.h included in simix.h

7 years agoFix network constant issues
Paul Bédaride [Wed, 27 Nov 2013 17:29:41 +0000 (18:29 +0100)]
Fix network constant issues

7 years agoFix Memleaks
Paul Bédaride [Mon, 25 Nov 2013 16:55:51 +0000 (17:55 +0100)]
Fix Memleaks

7 years agoFix perms for files installed on scm.gforge.inria.fr.
Arnaud Giersch [Fri, 22 Nov 2013 21:02:56 +0000 (22:02 +0100)]
Fix perms for files installed on scm.gforge.inria.fr.

7 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Paul Bédaride [Fri, 22 Nov 2013 16:39:07 +0000 (17:39 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

7 years agoFix memleak
Paul Bédaride [Fri, 22 Nov 2013 16:37:09 +0000 (17:37 +0100)]
Fix memleak