Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
12 years agorename surfxml.dtd into simgrid.dtd
mquinson [Tue, 18 Dec 2007 11:01:11 +0000 (11:01 +0000)]
rename surfxml.dtd into simgrid.dtd

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

12 years agoRename the platform updating script, distribute it and document it
mquinson [Tue, 18 Dec 2007 10:56:47 +0000 (10:56 +0000)]
Rename the platform updating script, distribute it and document it

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

12 years agoMove the platform updater into the archive (users will need it)
mquinson [Tue, 18 Dec 2007 10:49:08 +0000 (10:49 +0000)]
Move the platform updater into the archive (users will need it)

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

12 years agoDos2unix (second try)
mquinson [Tue, 18 Dec 2007 10:33:02 +0000 (10:33 +0000)]
Dos2unix (second try)

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

12 years agoDos2unix
mquinson [Tue, 18 Dec 2007 10:32:32 +0000 (10:32 +0000)]
Dos2unix

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

12 years agoDocument my lastest trick to increase the amount of started nodes in the simulator
mquinson [Mon, 17 Dec 2007 15:12:58 +0000 (15:12 +0000)]
Document my lastest trick to increase the amount of started nodes in the simulator

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

12 years agoupdate to lastest XML conventions
mquinson [Mon, 17 Dec 2007 12:21:55 +0000 (12:21 +0000)]
update to lastest XML conventions

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

12 years agoA deployment involving all nodes (for timing purpose)
mquinson [Sat, 15 Dec 2007 01:46:43 +0000 (01:46 +0000)]
A deployment involving all nodes (for timing purpose)

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

12 years agoAlso add the make_deployment.pl to the tarball
mquinson [Fri, 14 Dec 2007 21:29:30 +0000 (21:29 +0000)]
Also add the make_deployment.pl to the tarball

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

12 years agosolved a bug in route:multi. routes to where not added. appeared after the killing...
quasar [Fri, 14 Dec 2007 16:27:46 +0000 (16:27 +0000)]
solved a bug in route:multi. routes to  where not added. appeared after the killing of KCC...

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

12 years agoFinish the code cleanup by killing completely the KCCFLN05 model (rip, crappy model)
mquinson [Wed, 12 Dec 2007 20:29:53 +0000 (20:29 +0000)]
Finish the code cleanup by killing completely the KCCFLN05 model (rip, crappy model)

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

12 years agoOutput cleanups for when the exception arises in a separate thread
mquinson [Wed, 12 Dec 2007 20:27:23 +0000 (20:27 +0000)]
Output cleanups for when the exception arises in a separate thread

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

12 years agoChange the trick to build log category names: this does not only appear when it's...
mquinson [Wed, 12 Dec 2007 20:12:25 +0000 (20:12 +0000)]
Change the trick to build log category names: this does not only appear when it's missing, but also when it's defined twice (and it looks ridiculous to have it named does_not_exists then)

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

12 years agoupdated test results for metaxml, props, modified test send_recv_KC.. to CLM..
quasar [Wed, 12 Dec 2007 08:40:13 +0000 (08:40 +0000)]
updated test results for metaxml, props, modified test send_recv_KC.. to CLM..

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

12 years agofixed bug in route:multi generation; appeared after the KCC.. model was eliminated
quasar [Tue, 11 Dec 2007 15:59:23 +0000 (15:59 +0000)]
fixed bug in route:multi generation; appeared after the KCC.. model was eliminated

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

12 years agothe parsing time info switched to debug
quasar [Tue, 11 Dec 2007 09:26:58 +0000 (09:26 +0000)]
the parsing time info switched to debug

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

12 years agoeliminating KCCFLN05 model
quasar [Tue, 11 Dec 2007 09:19:59 +0000 (09:19 +0000)]
eliminating KCCFLN05 model

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

12 years agomodified cluster to allow changing properties individualy foreach node
quasar [Tue, 11 Dec 2007 09:03:03 +0000 (09:03 +0000)]
modified cluster to allow changing properties individualy foreach node

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

12 years agoDon't hide issues. If users asked for rand48, we must given them this exact generator...
mquinson [Fri, 7 Dec 2007 12:34:26 +0000 (12:34 +0000)]
Don't hide issues. If users asked for rand48, we must given them this exact generator. And if we can't, then they must know

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

12 years agoFix string format (variable changed to unsigned long recently)
mquinson [Wed, 5 Dec 2007 22:33:43 +0000 (22:33 +0000)]
Fix string format (variable changed to unsigned long recently)

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

12 years agoWindow doesn't provide the function drand48(), remove useless break and add extern...
cherierm [Wed, 5 Dec 2007 13:47:51 +0000 (13:47 +0000)]
Window doesn't provide the function drand48(), remove useless break and add extern C declarations for C++ compilers

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

12 years agoAnsi C declaration of the variables (at the beginning of the blocks)
cherierm [Wed, 5 Dec 2007 13:45:11 +0000 (13:45 +0000)]
Ansi C declaration of the variables (at the beginning of the blocks)

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

12 years agoadd random_mgr.c to the Visual C++ project of the SimGrid library
cherierm [Wed, 5 Dec 2007 13:44:17 +0000 (13:44 +0000)]
add random_mgr.c to the Visual C++ project of the SimGrid library

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

12 years agomodify the structure of the solution of the Visual C++ project of the SimGrid DLL
cherierm [Wed, 5 Dec 2007 13:15:02 +0000 (13:15 +0000)]
modify the structure of the solution of the Visual C++ project of the SimGrid DLL

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

12 years agoCleanup the example, and revalidate the outputs accordingly
mquinson [Tue, 4 Dec 2007 16:29:05 +0000 (16:29 +0000)]
Cleanup the example, and revalidate the outputs accordingly

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

12 years agoRevalidate output
mquinson [Tue, 4 Dec 2007 16:16:47 +0000 (16:16 +0000)]
Revalidate output

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

12 years agothese symbols had multiple definitions 5mn ago, and now, they are not defined anymore...
mquinson [Tue, 4 Dec 2007 16:05:21 +0000 (16:05 +0000)]
these symbols had multiple definitions 5mn ago, and now, they are not defined anymore. I hate the MacOSX linker

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

12 years agoMac users need love so that their prehistoric linker don't get messed up with multipl...
mquinson [Tue, 4 Dec 2007 15:55:13 +0000 (15:55 +0000)]
Mac users need love so that their prehistoric linker don't get messed up with multiple definitions of the globals

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

12 years agoeliminated INFO leftover in KCCFLN model
quasar [Tue, 4 Dec 2007 14:13:10 +0000 (14:13 +0000)]
eliminated INFO leftover in KCCFLN model

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

12 years agofixed a bug in KCCFLN model
quasar [Tue, 4 Dec 2007 14:07:38 +0000 (14:07 +0000)]
fixed a bug in KCCFLN model

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

12 years agofixed a bug in KCCFLN model
quasar [Tue, 4 Dec 2007 14:05:20 +0000 (14:05 +0000)]
fixed a bug in KCCFLN model

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

12 years agofixed a bug in add_route in all models + dict uses DJB2 hash func now + modified...
quasar [Tue, 4 Dec 2007 14:01:00 +0000 (14:01 +0000)]
fixed a bug in add_route in all models + dict uses DJB2 hash func now + modified the metaxml example file

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

12 years agoTwo more hashing functions (chosen by define, not dynamically: who cares?), some...
mquinson [Fri, 30 Nov 2007 17:02:11 +0000 (17:02 +0000)]
Two more hashing functions (chosen by define, not dynamically: who cares?), some more debug, new function xbt_dict_dump_sizes() to display hashing functions quality, and a bug fix in dict_get (a || was written &&)

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

12 years agoonly display logs of failed tests
mquinson [Fri, 30 Nov 2007 16:58:35 +0000 (16:58 +0000)]
only display logs of failed tests

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

12 years agoAdapt to lastest dict API update
mquinson [Fri, 30 Nov 2007 08:29:33 +0000 (08:29 +0000)]
Adapt to lastest dict API update

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

12 years agoI just realized that the changes I made to the cond-wait test would break
markls [Fri, 30 Nov 2007 01:38:14 +0000 (01:38 +0000)]
I just realized that the changes I made to the cond-wait test would break
programs that contain more than one MPI_Barrier.  This should fix the problem
for most systems, though maybe this function should do something like SMPI_DO_ONCE and
maintain a separate counter for each invocation...

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

12 years agochaned global execute_mutex and execute_cond to host-specific and wrapped all
markls [Fri, 30 Nov 2007 01:23:43 +0000 (01:23 +0000)]
chaned global execute_mutex and execute_cond to host-specific and wrapped all
cond_wait statements in while loops with appropriate tests.

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

12 years agoMake dictionary internal table dynamic (and automatically resized).
mquinson [Fri, 30 Nov 2007 00:18:03 +0000 (00:18 +0000)]
Make dictionary internal table dynamic (and automatically resized).
No need to specify its size anymore; functions xbt_dict_new_ext() and xbt_dict_hashsize_set() thus dropped.

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

12 years agomodified atoi to strtol when getting route ends in all models
quasar [Thu, 29 Nov 2007 15:52:47 +0000 (15:52 +0000)]
modified atoi to strtol when getting route ends in all models

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

12 years agometaxml example modifications
quasar [Thu, 29 Nov 2007 15:15:54 +0000 (15:15 +0000)]
metaxml example modifications

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

12 years agometaxml example modifications
quasar [Thu, 29 Nov 2007 14:48:00 +0000 (14:48 +0000)]
metaxml example modifications

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

12 years agoRevert Malek's last change. Removing the feature is not the right strategy to port...
mquinson [Thu, 29 Nov 2007 14:44:08 +0000 (14:44 +0000)]
Revert Malek's last change. Removing the feature is not the right strategy to port stuff to windows

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

12 years agometaxml example modifications
quasar [Thu, 29 Nov 2007 14:35:25 +0000 (14:35 +0000)]
metaxml example modifications

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

12 years agometaxml example Makefile modifications
quasar [Thu, 29 Nov 2007 14:21:45 +0000 (14:21 +0000)]
metaxml example Makefile modifications

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

12 years agometaxml example Makefile modifications
quasar [Thu, 29 Nov 2007 14:13:50 +0000 (14:13 +0000)]
metaxml example Makefile modifications

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

12 years agometaxml example modifications
quasar [Thu, 29 Nov 2007 13:36:39 +0000 (13:36 +0000)]
metaxml example modifications

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

12 years agometaxml example modifications
quasar [Thu, 29 Nov 2007 13:31:22 +0000 (13:31 +0000)]
metaxml example modifications

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

12 years agoeliminated bug INFO message
quasar [Thu, 29 Nov 2007 13:23:13 +0000 (13:23 +0000)]
eliminated bug INFO message

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

12 years agomerging branch 5018:5083 into trunk
quasar [Thu, 29 Nov 2007 13:16:45 +0000 (13:16 +0000)]
merging branch 5018:5083 into trunk

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

12 years agoOups : the visual project of the msg_prop example
cherierm [Wed, 28 Nov 2007 16:14:47 +0000 (16:14 +0000)]
Oups : the visual project of the msg_prop example

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

12 years agoall the Visual project define now the linker library entry simgrid.lib in release...
cherierm [Wed, 28 Nov 2007 16:08:57 +0000 (16:08 +0000)]
all the Visual project define now the linker library entry simgrid.lib in release mode

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

12 years agoVisual projects of the simgrid testsuite
cherierm [Wed, 28 Nov 2007 16:07:48 +0000 (16:07 +0000)]
Visual projects of the simgrid testsuite

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

12 years agoThis change corrects the definition of the macro
cherierm [Wed, 28 Nov 2007 15:59:18 +0000 (15:59 +0000)]
This change corrects the definition of the macro
XBT_LOG_NEW_ROOT_SUBCATEGORY. Indeed, Ansi C (Visual C++ compiler standard language) doesn't allow to initialize a structure during
its declaration with non constant values (OK Martin, I definitively correct the trouble for the other platforms)

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

12 years agospecial declaration of snprintf on Visual C++
cherierm [Wed, 28 Nov 2007 15:50:28 +0000 (15:50 +0000)]
special declaration of snprintf on Visual C++

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

12 years agoFix use of verbatim sections
mquinson [Wed, 28 Nov 2007 15:01:58 +0000 (15:01 +0000)]
Fix use of verbatim sections

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

12 years agooops
mquinson [Wed, 28 Nov 2007 15:00:18 +0000 (15:00 +0000)]
oops

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

12 years agocosmetics: inline header files loaded only at one location
mquinson [Wed, 28 Nov 2007 14:46:28 +0000 (14:46 +0000)]
cosmetics: inline header files loaded only at one location

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

12 years agoAnsi C declaration of variables (at the beginning of the blocks)
cherierm [Wed, 28 Nov 2007 14:41:36 +0000 (14:41 +0000)]
Ansi C declaration of variables (at the beginning of the blocks)

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

12 years agoexports the reno and the vegas function
cherierm [Wed, 28 Nov 2007 14:23:49 +0000 (14:23 +0000)]
exports the reno and the vegas function

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

12 years agoDupplicate the string we put into the returned dynar, so that user can free it withou...
mquinson [Tue, 27 Nov 2007 16:08:34 +0000 (16:08 +0000)]
Dupplicate the string we put into the returned dynar, so that user can free it without issue

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

12 years agoRename xbt/xbt_context.h to xbt/context.h, and add src/include/xbt/context.h to the...
mquinson [Tue, 27 Nov 2007 15:41:57 +0000 (15:41 +0000)]
Rename xbt/xbt_context.h to xbt/context.h, and add src/include/xbt/context.h to the tarballs

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

12 years agocosmetics to java documentation
mquinson [Tue, 27 Nov 2007 15:40:35 +0000 (15:40 +0000)]
cosmetics to java documentation

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

12 years agoSome more cruft to ignore
mquinson [Tue, 27 Nov 2007 15:39:51 +0000 (15:39 +0000)]
Some more cruft to ignore

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

12 years agoxbt/context.h is a private header, and the filename does not need to be prefixed...
mquinson [Tue, 27 Nov 2007 15:36:07 +0000 (15:36 +0000)]
xbt/context.h is a private header, and the filename does not need to be prefixed by xbt since we always load it as xbt/context.h, so xbt/xbt_context.h is a bit redundent

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

12 years agorenamed MPI_ functions to avoid namespace collisions in distributed code.
markls [Tue, 27 Nov 2007 11:34:36 +0000 (11:34 +0000)]
renamed MPI_ functions to avoid namespace collisions in distributed code.

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

12 years agomake visible the MSG_task_get variant accepting both an host and a timeout
mquinson [Mon, 19 Nov 2007 20:13:15 +0000 (20:13 +0000)]
make visible the MSG_task_get variant accepting both an host and a timeout

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

12 years agoOps, forgot this in the java cleanup commit
mquinson [Mon, 19 Nov 2007 20:10:33 +0000 (20:10 +0000)]
Ops, forgot this in the java cleanup commit

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

12 years agoFurther cleanups of the Java bindings:
mquinson [Mon, 19 Nov 2007 20:01:59 +0000 (20:01 +0000)]
Further cleanups of the Java bindings:

* Properly document the java bindings (mainly, add them to the Doxygen)

* No need for a ParallelTask class: they are handled exactly the same
   way than regular task, except at creation time.
  Thus giving Task a new constructor to build parallel tasks, and
   removing every other bit related to ParallelTask.java

* The Channel object was wrong: in MSG, channels are just like ports
   on each host. In jMSG, they were global tags containing all hosts.
  I just killed them.
  Task receiving methods are static Task methods.
  Task sending methods are attached to the host to which you want to
   send.

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

12 years agoReindent, no change at all
mquinson [Mon, 19 Nov 2007 19:01:35 +0000 (19:01 +0000)]
Reindent, no change at all

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

12 years agodon't cast the long int to avoid the warning but adapt the declaration of the variable
cherierm [Fri, 16 Nov 2007 12:10:41 +0000 (12:10 +0000)]
don't cast the long int to avoid the warning but adapt the declaration of the variable

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

12 years agoThis avoid a warning on the Microsoft compiler
cherierm [Fri, 16 Nov 2007 09:27:51 +0000 (09:27 +0000)]
This avoid a warning on the Microsoft compiler

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

12 years agoDo not include the C source files related to the context switch, add them directly...
cherierm [Fri, 16 Nov 2007 09:22:48 +0000 (09:22 +0000)]
Do not include the C source files related to the context switch, add them directly in the Visual C++ project of the simgrid dll

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

12 years agoadd a stub for the java factory initier for the cases where we don't want to compile...
mquinson [Fri, 16 Nov 2007 01:15:08 +0000 (01:15 +0000)]
add a stub for the java factory initier for the cases where we don't want to compile the jbindings (and also, rework the threads stubs so that both kind of stubs fit together)

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

12 years agoadd a stub for the java factory initier for the cases where we don't want to compile...
mquinson [Fri, 16 Nov 2007 01:14:15 +0000 (01:14 +0000)]
add a stub for the java factory initier for the cases where we don't want to compile the jbindings (and also, rework the threads stubs so that both kind of stubs fit together)

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

12 years agoooops, forgot to change this one
mquinson [Fri, 16 Nov 2007 00:43:20 +0000 (00:43 +0000)]
ooops, forgot to change this one

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

12 years agoDo not include C files. Instead, add them to the project file. Hopefully, this will...
mquinson [Fri, 16 Nov 2007 00:31:55 +0000 (00:31 +0000)]
Do not include C files. Instead, add them to the project file. Hopefully, this will allow to have threads but no java

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

12 years agoJust declare the variable at the beginning of the function (strict ansi)
cherierm [Thu, 15 Nov 2007 18:54:40 +0000 (18:54 +0000)]
Just declare the variable at the beginning of the function (strict ansi)

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

12 years agoImpact of the new context switch implementation on the Visual C++ project of the...
cherierm [Thu, 15 Nov 2007 18:52:47 +0000 (18:52 +0000)]
Impact of the new context switch implementation on the Visual C++ project of the simgrid dll

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

12 years agoJust compiler options modifications
cherierm [Thu, 15 Nov 2007 18:50:22 +0000 (18:50 +0000)]
Just compiler options modifications

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

12 years agoVisual C++ project :
cherierm [Thu, 15 Nov 2007 18:49:05 +0000 (18:49 +0000)]
Visual C++ project :
a simple modification of the options of the project

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

12 years agoThe Visual C++ project for the sd properties sample
cherierm [Thu, 15 Nov 2007 18:47:54 +0000 (18:47 +0000)]
The Visual C++ project for the sd properties sample

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

12 years agothese files are useless in the new implementation of the context switch mechanism
cherierm [Thu, 15 Nov 2007 18:38:46 +0000 (18:38 +0000)]
these files are useless in the new implementation of the context switch mechanism

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

12 years agoThe file containing the new implementation of the switch context mechanism.
cherierm [Thu, 15 Nov 2007 18:23:30 +0000 (18:23 +0000)]
The file containing the new implementation of the switch context mechanism.

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

12 years agoImpact of the new context switch implementation of the Makefile.in
cherierm [Thu, 15 Nov 2007 18:15:33 +0000 (18:15 +0000)]
Impact of the new context switch implementation of the Makefile.in

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

12 years agoImpact of the new context switch implementation of the Makefile.am
cherierm [Thu, 15 Nov 2007 18:12:47 +0000 (18:12 +0000)]
Impact of the new context switch implementation of the Makefile.am

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

12 years agoThis commit concerned the reimplementation of the xbt context switch mechanism.
cherierm [Thu, 15 Nov 2007 18:06:01 +0000 (18:06 +0000)]
This commit concerned the reimplementation of the xbt context switch mechanism.
The gaol of this reimplementation is to separate the context switch mechanism of its implementation
(context switch implementation based ucontext, based native threads or java threads).
To do this, the code introduce a new concept : the context factory. This factory is responsible of
the construction of the context adapted to the desired context implementation. Normally, the context factory
to use is selected during the compilation process. But, for the java implementation of the context switch,
the simgrid library select dynamically the context factory to use (the java context factory to use). This
change also introduce three new concepts : the xbt_ucontext_t, the xbt_jcontext_t and the xbt_thread_context_t
which derived from the concept xbt_context_t. Each of them is specialized to respect an interface contract.
This contract is represented by function pointers such (start, stop, kill, schedule, yield...). For more details
on this function pointers see the source code file xbt_context.c.

The continuation gives the list of the modified, deleted and added files by this change.

Modified files:

src/msg/global.c get_pid is a function pointer
src/msg/private.h use xbt_context.h instead context.h

src/include/simix/simix.h        java process management functions are not needed now

src/java/simgrid/msg/ApplicationHandler.java   remove an useless printed message
src/java/simgrid/msg/msg.java        simgrid for java and simgrid are now the same library so the name of the java library is also simgrid
       add the call of the native function selectContextFactory() for the context switch based on the java threads

src/java/jmsg.c include the xbt_context_private.h which declare the context based java thread (jxbt_context.h  doesn't exist any more)
declare an define a new function native_to_java_process which returns the java process associated with a msg process
define the native function java_simgrid_msg_Msg_selectContextFactory()
use the xbt_context_stop() function to signal the end of the java thread instead the function xbt_context_exit()
src/java/jmsg.h add the declaration of the java_simgrid_msg_Msg_selectContextFactory() function
src/java/jmsg_host.c this file is now inclued from the file src/xbt/xbt_jcontext.c which declare the log category for java, so the macro XBT_LOG_EXTERNAL_CATEGORY is useless
src/java/jmsg_parallel_task.c the same reason of the file src/java/jmsg_host.c
src/java/jmsg_process.c the same reason of the file src/java/jmsg_host.c and this file needs to include src/xbt/xbt_jprocess.h instead the file src/xbt/context_private.h to get
the definition of the java context
src/java/jmsg_process.h include xbt_context.h instead the context.h header
src/java/jxbt_utilities.c the same reason of the file src/java/jmsg_host.c

src/simix/private.h include xbt_context.h instead the header context.h
src/simix/smx_process.c modify the function SIMIX_jprocess_create() : this function doesn't use any more the simix java process management and the jprocess object is now passed as
the fourth parameter of the function xbt_context_new().
src/surf/network.c it's pointers to functions
src/surf/surfxml_parse.c just initialize the variable surf_file_to_parse to NULL
src/surf/workstation_KCCFLN05.c         function pointers usage and ANSI C variable declarations
src/surf/workstation_ptask_L07.c function pointers usage and ANSI C variable declarations
src/surf/surf.c adapt the code to the specific path separator of Windows

src/xbt/xbt_main.c the function xbt_context_init() and xbt_context_exit() are now renamed xbt_context_mod_init() and xbt_context_mod_exit()
src/xbt/xbt_modinter.h declaration of xbt_context_mod_init() and xbt_context_mod_exit() functions
src/xbt/xbt_str.c avoid the warning thrown by the Visual C++ compiler when it meets a comparison between a signed and a unsigned integer

src/gras/rl_stubs.c use xbt_context_mod_init() and xbt_context_mod_exit() instead xbt_context_init() and xbt_context_exit()

src/makefile.am the java library build is now useless
src/makefile.in this is the consequence of the previous change (makefile.am)

Files to add:

src/xbt/xbt_context_private.h this header replace the file context_private.h
src/xbt/xbt_context.c this source file replace the file context.c
include/xbt/xbt_context.h this file replace the file context.h
src/xbt/xbt_context_factory.h this header declares the context factory structure used by xbt to build the adapted context
src/xbt/xbt_thread_context.h this header declares the structure used in the switch context process based on the native threads
src/xbt/xbt_thread_context.c this source file contains the implementation of the thread context
src/xbt/xbt_ucontext.h this header declares the structure used in the switch context process based on the ucontext
src/xbt/xbt_ucontext.c this source code file contains the implementation of the context based on the ucontext
src/xbt/xbt_jcontext.h this header contains the declaration of the structure used in the switch context process based on the java thread
src/xbt/xbt_jcontext.c this source code file contains the implementation of the context based on java thread

Files to delete:
src/xbt/context.c this file is replaced by the file src/xbt/xbt_context.c
src/include/xbt/context.h this file is replaced by the file include/xbt/xbt_context.h
src/xbt/context_private.h this file is replaced by the file src/xbt/xbt_context_private.h
src/java/jxbt_context.h this file is useless (reimplemented in xbt_context.h)
src/java/jxbt_context.c this file is useless (reimplemented in xbt_context.c)

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

12 years agoCleanups and cosmetics of the example
mquinson [Wed, 14 Nov 2007 11:16:17 +0000 (11:16 +0000)]
Cleanups and cosmetics of the example

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

12 years agorenamed DO_ONCE to SMPI_DO_ONCE.
markls [Mon, 12 Nov 2007 09:02:38 +0000 (09:02 +0000)]
renamed DO_ONCE to SMPI_DO_ONCE.

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

12 years agomade some changes to allow more than one DO_ONCE block. also fixed bug in
markls [Mon, 12 Nov 2007 01:29:00 +0000 (01:29 +0000)]
made some changes to allow more than one DO_ONCE block. also fixed bug in
smpi_run_simulation and added some more tests of the compute benchmarking code.

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

12 years agocleaning up and refactoring some of the code to create execution actions.
markls [Sat, 10 Nov 2007 01:35:48 +0000 (01:35 +0000)]
cleaning up and refactoring some of the code to create execution actions.

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

12 years agoRevalidate the damn output
mquinson [Fri, 9 Nov 2007 21:44:52 +0000 (21:44 +0000)]
Revalidate the damn output

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

12 years agocleaned up action code to destroy completed actions. This fixes a timing bug.
markls [Fri, 9 Nov 2007 17:58:00 +0000 (17:58 +0000)]
cleaned up action code to destroy completed actions.  This fixes a timing bug.

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

12 years agocosmetics
mquinson [Fri, 9 Nov 2007 15:06:36 +0000 (15:06 +0000)]
cosmetics

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

12 years agoReimport images with right mime type
mquinson [Fri, 9 Nov 2007 15:05:47 +0000 (15:05 +0000)]
Reimport images with right mime type

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

12 years agoRemove the images to reimport them with the right mime type
mquinson [Fri, 9 Nov 2007 15:02:48 +0000 (15:02 +0000)]
Remove the images to reimport them with the right mime type

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

12 years agoRemove the images to reimport them with the right mime type
mquinson [Fri, 9 Nov 2007 14:59:38 +0000 (14:59 +0000)]
Remove the images to reimport them with the right mime type

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

12 years agofixed bug for compound models
quasar [Fri, 9 Nov 2007 09:53:47 +0000 (09:53 +0000)]
fixed bug for compound models

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

12 years agoupdate 1 pass
quasar [Fri, 9 Nov 2007 09:02:32 +0000 (09:02 +0000)]
update 1 pass

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

12 years ago1pas mods
quasar [Fri, 9 Nov 2007 08:54:29 +0000 (08:54 +0000)]
1pas mods

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

12 years agoadding modifications for 1 pass & for adding routes only when platform end tag reached
quasar [Fri, 9 Nov 2007 08:46:51 +0000 (08:46 +0000)]
adding modifications for 1 pass & for adding routes only when platform end tag reached

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