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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
mquinson [Thu, 8 Nov 2007 14:10:07 +0000 (14:10 +0000)]
autogenerated
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5003
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
mquinson [Tue, 6 Nov 2007 12:28:39 +0000 (12:28 +0000)]
Cosmetics
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4978
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
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
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
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
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
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
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
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
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
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
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