Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
5 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.

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

5 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.

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

5 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).

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

5 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.

5 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.

5 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.

5 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.

5 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.

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

5 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.

5 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.

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

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

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

5 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

5 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

5 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)

5 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

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

5 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

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

5 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

5 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.

5 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 ;)

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

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

5 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

5 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

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

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

5 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

5 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

5 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

5 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

5 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

5 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 ...

5 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

5 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)

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

5 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

5 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

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

6 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.

6 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.

6 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.

6 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.

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

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

6 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").

6 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.

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

Fixes memory leak.

6 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.

6 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.

6 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.

6 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.

6 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.

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

Fixes compiler warning.

6 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.

6 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.

6 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.

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

6 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.

6 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.

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

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

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

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

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

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

6 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

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

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

6 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

6 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

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

6 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 --

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

6 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

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

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

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

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

6 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

6 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

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

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

6 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.

6 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

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

6 years agoProtect special characters.
Arnaud Giersch [Fri, 22 Nov 2013 13:26:19 +0000 (14:26 +0100)]
Protect special characters.

Fix memcheck_tests where CMake apparently break words on '('.

6 years agoFix free of uninitialized values
Paul Bédaride [Fri, 22 Nov 2013 13:49:24 +0000 (14:49 +0100)]
Fix free of uninitialized values

6 years agoResolve memory leaks
Paul Bédaride [Fri, 22 Nov 2013 10:13:43 +0000 (11:13 +0100)]
Resolve memory leaks

6 years agoMove quote to run this test correctly with memcheck (and actually see errors).
Arnaud Giersch [Fri, 22 Nov 2013 08:00:04 +0000 (09:00 +0100)]
Move quote to run this test correctly with memcheck (and actually see errors).

6 years agoDoc update.
Arnaud Giersch [Fri, 22 Nov 2013 06:58:22 +0000 (07:58 +0100)]
Doc update.

6 years agoRelease goal++
Arnaud Giersch [Thu, 21 Nov 2013 22:34:49 +0000 (23:34 +0100)]
Release goal++

6 years agofixes were trashed by merge
Augustin Degomme [Fri, 22 Nov 2013 01:19:34 +0000 (02:19 +0100)]
fixes were trashed by merge

6 years agoShould be sg_size_t.
Arnaud Giersch [Thu, 21 Nov 2013 22:02:16 +0000 (23:02 +0100)]
Should be sg_size_t.