Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
16 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

16 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

16 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

16 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

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

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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

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

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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 years agoadded code to allow for DO_ONCE loops. very preliminary.
markls [Fri, 9 Nov 2007 00:42:03 +0000 (00:42 +0000)]
added code to allow for DO_ONCE loops.  very preliminary.

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

16 years agoOne crude cast less, thanks to small cleanup by Mark
mquinson [Thu, 8 Nov 2007 14:37:26 +0000 (14:37 +0000)]
One crude cast less, thanks to small cleanup by Mark

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

16 years agoOps, missed some signess fixups
mquinson [Thu, 8 Nov 2007 14:27:36 +0000 (14:27 +0000)]
Ops, missed some signess fixups

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

16 years agoBetter fix to the comparison between signed and unsigned int around dynar size: chang...
mquinson [Thu, 8 Nov 2007 14:11:54 +0000 (14:11 +0000)]
Better fix to the comparison between signed and unsigned int around dynar size: change all iterators to be unsigned (sorry for the rather intrusive change, but this is the way to go)

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

16 years agoautogenerated
mquinson [Thu, 8 Nov 2007 14:10:07 +0000 (14:10 +0000)]

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

16 years agoSome more debug
mquinson [Thu, 8 Nov 2007 13:59:14 +0000 (13:59 +0000)]
Some more debug

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

16 years agoRevalidate output
mquinson [Thu, 8 Nov 2007 11:11:56 +0000 (11:11 +0000)]
Revalidate output

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

16 years agoSpecify that only <platform> can be a root tag
mquinson [Thu, 8 Nov 2007 10:58:21 +0000 (10:58 +0000)]
Specify that only <platform> can be a root tag

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

16 years agoStill more cosmetics
mquinson [Thu, 8 Nov 2007 10:23:44 +0000 (10:23 +0000)]
Still more cosmetics

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

16 years agoadd a dist builder, which simply makes an archive to be distributed
mquinson [Thu, 8 Nov 2007 10:22:51 +0000 (10:22 +0000)]
add a dist builder, which simply makes an archive to be distributed

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

16 years agoAdd the configuration of some slaves in the SVN, making sure that it does not contain...
mquinson [Thu, 8 Nov 2007 10:21:48 +0000 (10:21 +0000)]
Add the configuration of some slaves in the SVN, making sure that it does not contain any password; create subdirs for each buildbot

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

16 years agoPortability fixups (second try). This is the bad side of using buildbots: each try...
mquinson [Thu, 8 Nov 2007 09:54:31 +0000 (09:54 +0000)]
Portability fixups (second try). This is the bad side of using buildbots: each try have to be commited, thus a SVN log polution

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

16 years agoPortability fixups
mquinson [Thu, 8 Nov 2007 09:36:20 +0000 (09:36 +0000)]
Portability fixups

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

16 years agodon't try to distribute a non-existing file (copy/paste leftover)
mquinson [Thu, 8 Nov 2007 09:01:31 +0000 (09:01 +0000)]
don't try to distribute a non-existing file (copy/paste leftover)

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

16 years agoProperly say the test suite that java tests are not run when it's the case
mquinson [Thu, 8 Nov 2007 08:58:28 +0000 (08:58 +0000)]
Properly say the test suite that java tests are not run when it's the case

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

16 years agoThis file was moved (factorized)
mquinson [Thu, 8 Nov 2007 08:46:55 +0000 (08:46 +0000)]
This file was moved (factorized)

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

16 years agoAdd the automake generated file so that the buildbot have a chance to work
mquinson [Thu, 8 Nov 2007 08:09:11 +0000 (08:09 +0000)]
Add the automake generated file so that the buildbot have a chance to work

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

16 years agosmall change to calls to SIMIX_action_communicate and SIMIX_action_execute
markls [Wed, 7 Nov 2007 22:54:19 +0000 (22:54 +0000)]
small change to calls to SIMIX_action_communicate and SIMIX_action_execute

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

16 years agomade small change to function prototype for SIMIX_action_execute so name is now
markls [Wed, 7 Nov 2007 22:48:48 +0000 (22:48 +0000)]
made small change to function prototype for SIMIX_action_execute so name is now
type "const char *".  This matches similar functions and makes calls to
SIMIX_action_execute a little less unwieldy.

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

16 years agoupdated smpirun to use new xml format and made changes to benchmark code to
markls [Wed, 7 Nov 2007 09:49:46 +0000 (09:49 +0000)]
updated smpirun to use new xml format and made changes to benchmark code to
(hopefully) make it more accurate.

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

16 years agoUse the XBT_INLINE macro (defined in the portability layer header misc.h) to specify...
cherierm [Tue, 6 Nov 2007 13:43:40 +0000 (13:43 +0000)]
Use the XBT_INLINE macro (defined in the portability layer header misc.h) to specify the inline keyword which depends of the platform target.

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

16 years agoA distraction, the SIMIX_process_create() function really takes seven parameters.
cherierm [Tue, 6 Nov 2007 13:41:09 +0000 (13:41 +0000)]
A distraction, the SIMIX_process_create() function really takes seven parameters.

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

16 years agoThis change avoids a warning on the Visual C++ compiler.
cherierm [Tue, 6 Nov 2007 13:40:32 +0000 (13:40 +0000)]
This change avoids a warning on the Visual C++ compiler.

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

16 years agoRemove the masterslave example from the solution
cherierm [Tue, 6 Nov 2007 13:39:24 +0000 (13:39 +0000)]
Remove the masterslave example from the solution

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

16 years agoAdapt some Visual C++ compiler options.
cherierm [Tue, 6 Nov 2007 13:38:50 +0000 (13:38 +0000)]
Adapt some Visual C++ compiler options.

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

16 years agoA distraction, the SIMIX_process_create() function takes only six parameters.
cherierm [Tue, 6 Nov 2007 12:40:24 +0000 (12:40 +0000)]
A distraction, the SIMIX_process_create() function takes only six parameters.

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

16 years agoThis change allow to avoid the Visual C++ compiler Warning that occur when you try...
cherierm [Tue, 6 Nov 2007 12:38:11 +0000 (12:38 +0000)]
This change allow to avoid the Visual C++ compiler Warning that occur when you try to compare an signed integer with a signed integer (xbt_dynar_length() function returns an unsigned long and the iterators or the indexes are generally integers).

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

16 years agoThis change avoid the redefinitions of log categories. To do this, the parent categor...
cherierm [Tue, 6 Nov 2007 12:30:06 +0000 (12:30 +0000)]
This change avoid the redefinitions of log categories. To do this, the parent category of a subcategory must be declared extern instead
public data (see the definition of the macro XBT_LOG_NEW_SUBCATEGORY). An other 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.

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

16 years agoCosmetics
mquinson [Tue, 6 Nov 2007 12:28:39 +0000 (12:28 +0000)]

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

16 years agoAlso fix the prototype of the RL stub
mquinson [Tue, 6 Nov 2007 12:28:13 +0000 (12:28 +0000)]
Also fix the prototype of the RL stub

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

16 years agoadd gras prop tests to the make check
mquinson [Tue, 6 Nov 2007 12:27:19 +0000 (12:27 +0000)]
add gras prop tests to the make check

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

16 years agoJust disable a specific warning on Visual C++
cherierm [Tue, 6 Nov 2007 12:26:22 +0000 (12:26 +0000)]
Just disable a specific warning on Visual C++

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

16 years agoadded compute timer test
markls [Tue, 6 Nov 2007 08:29:25 +0000 (08:29 +0000)]
added compute timer test

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

16 years agocleanups (among which example simplification)
mquinson [Tue, 6 Nov 2007 08:01:54 +0000 (08:01 +0000)]
cleanups (among which example simplification)

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

16 years agoRevalidate output
mquinson [Tue, 6 Nov 2007 08:01:22 +0000 (08:01 +0000)]
Revalidate output

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

16 years agoFix constness of arguments
mquinson [Tue, 6 Nov 2007 08:00:28 +0000 (08:00 +0000)]
Fix constness of arguments

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

16 years agotesh file for simdag props updated...again
quasar [Mon, 5 Nov 2007 12:27:27 +0000 (12:27 +0000)]
tesh file for simdag props updated...again

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

16 years agoone more buf fix to simdag prop
quasar [Mon, 5 Nov 2007 11:59:06 +0000 (11:59 +0000)]
one more buf fix to simdag prop

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

16 years agoone more buf fix to simdag prop
quasar [Mon, 5 Nov 2007 11:55:02 +0000 (11:55 +0000)]
one more buf fix to simdag prop

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

16 years agocleared warn: init discards pointer...
quasar [Mon, 5 Nov 2007 10:49:00 +0000 (10:49 +0000)]
cleared warn: init discards pointer...

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

16 years agoupdating gras prop example
quasar [Mon, 5 Nov 2007 10:36:16 +0000 (10:36 +0000)]
updating gras prop example

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

16 years agoupdatig simdag prop examples
quasar [Mon, 5 Nov 2007 10:26:29 +0000 (10:26 +0000)]
updatig simdag prop examples

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

16 years agodelete platform msg props
quasar [Mon, 5 Nov 2007 10:21:04 +0000 (10:21 +0000)]
delete platform msg props

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

16 years agoupdating msg prop tests
quasar [Mon, 5 Nov 2007 10:20:23 +0000 (10:20 +0000)]
updating msg prop tests

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

16 years agofactorized platform file
quasar [Mon, 5 Nov 2007 10:16:50 +0000 (10:16 +0000)]
factorized platform file

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

16 years agoUpdate msg property test
quasar [Fri, 2 Nov 2007 09:07:05 +0000 (09:07 +0000)]
Update msg property test

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

16 years agoUpdate msg property test
quasar [Fri, 2 Nov 2007 09:01:55 +0000 (09:01 +0000)]
Update msg property test

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

16 years agomodified tesh file for simdag/properties
quasar [Fri, 2 Nov 2007 08:37:45 +0000 (08:37 +0000)]
modified tesh file for simdag/properties

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

16 years agoThis time, hopefully, the files are in valid version 2 of the DTD
mquinson [Fri, 2 Nov 2007 00:24:15 +0000 (00:24 +0000)]
This time, hopefully, the files are in valid version 2 of the DTD

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

16 years agosimdag properties example
quasar [Thu, 1 Nov 2007 16:42:09 +0000 (16:42 +0000)]
simdag properties example

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

16 years agogras prop example
quasar [Thu, 1 Nov 2007 16:06:39 +0000 (16:06 +0000)]
gras prop example

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