Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
13 years agoType casting. Bug solved.
donassbr [Thu, 12 Jul 2007 10:55:53 +0000 (10:55 +0000)]
Type casting. Bug solved.

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

13 years agovarious little cleanups in the gras/sg code. Mainly reindentation and more informativ...
mquinson [Thu, 12 Jul 2007 10:36:49 +0000 (10:36 +0000)]
various little cleanups in the gras/sg code. Mainly reindentation and more informative field names for the structures

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

13 years agoxbt/synchro.h test case, unfortunately showing some issues in the simulation for now
mquinson [Wed, 11 Jul 2007 17:51:37 +0000 (17:51 +0000)]
xbt/synchro.h test case, unfortunately showing some issues in the simulation for now

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

13 years agoGo for a thread_cancel instead of a thread_destroy since every documentation says...
mquinson [Wed, 11 Jul 2007 17:50:08 +0000 (17:50 +0000)]
Go for a thread_cancel instead of a thread_destroy since every documentation says that it is the way to go

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

13 years ago+= thread_cancel
mquinson [Wed, 11 Jul 2007 17:48:54 +0000 (17:48 +0000)]
+= thread_cancel

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

13 years agoof course, you shouldn't use the simulated time but the native one to see whether...
mquinson [Wed, 11 Jul 2007 17:15:44 +0000 (17:15 +0000)]
of course, you shouldn't use the simulated time but the native one to see whether the user waited 5 sec before pressing Ctrl-C again

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

13 years agoWhen implementing the versatile threads, I decided to diverge a bit from the pthread...
mquinson [Wed, 11 Jul 2007 16:08:53 +0000 (16:08 +0000)]
When implementing the versatile threads, I decided to diverge a bit from the pthread interface

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

13 years agoimplement versatile threads (working both on simulator and in situ); the simulated...
mquinson [Wed, 11 Jul 2007 16:07:37 +0000 (16:07 +0000)]
implement versatile threads (working both on simulator and in situ); the simulated conditions aren't working yet

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

13 years agoversatile implementation do not fake the xbt_thread type anymore but has its own...
mquinson [Wed, 11 Jul 2007 16:05:33 +0000 (16:05 +0000)]
versatile implementation do not fake the xbt_thread type anymore but has its own, so remove the KEEP IT IN SYNC warnings, and add a xbt_os_thread_getparam() function to retrieve the pointer passed to the constructor later on need

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

13 years agoWe need a default if the user didn't set any function.
donassbr [Wed, 11 Jul 2007 14:23:15 +0000 (14:23 +0000)]
We need a default if the user didn't set any function.

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

13 years agokill dead code
mquinson [Wed, 11 Jul 2007 12:16:36 +0000 (12:16 +0000)]
kill dead code

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

13 years agoGenerate the temps manually in this dir because the child process is not in the deplo...
mquinson [Wed, 11 Jul 2007 11:43:05 +0000 (11:43 +0000)]
Generate the temps manually in this dir because the child process is not in the deployment file, so gras_stub_generator needs an extra argument to see it

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

13 years ago...
mquinson [Wed, 11 Jul 2007 11:38:40 +0000 (11:38 +0000)]

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

13 years agoMore cleanups in simix and friends. Do not request users to pass a cleanup function...
mquinson [Wed, 11 Jul 2007 11:36:03 +0000 (11:36 +0000)]
More cleanups in simix and friends. Do not request users to pass a cleanup function to SIMIX_process_create. Instead, provide a SIMIX_function_register_process_cleanup function to set this globally

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

13 years agoTest case for the gras_agent_spawn function
mquinson [Wed, 11 Jul 2007 11:15:55 +0000 (11:15 +0000)]
Test case for the gras_agent_spawn function

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

13 years agodead file
mquinson [Wed, 11 Jul 2007 11:12:09 +0000 (11:12 +0000)]
dead file

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

13 years agoNew function: gras_agent_spawn
mquinson [Wed, 11 Jul 2007 11:11:04 +0000 (11:11 +0000)]
New function: gras_agent_spawn

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

13 years agoplease shutdown the process/agent BEFORE the whole gras mecanisms are shut down
mquinson [Wed, 11 Jul 2007 11:10:42 +0000 (11:10 +0000)]
please shutdown the process/agent BEFORE the whole gras mecanisms are shut down

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

13 years agoMove smx_process related functions from sg_emul.c to sg_process.c; cosmetics; + add...
mquinson [Wed, 11 Jul 2007 11:09:47 +0000 (11:09 +0000)]
Move smx_process related functions from sg_emul.c to sg_process.c; cosmetics; + add a new function gras_agent_spawn() (YUHU). Only implemented in simulation for now, but I can deal with it

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

13 years agoSplit too long file, various cleanups
mquinson [Wed, 11 Jul 2007 10:47:16 +0000 (10:47 +0000)]
Split too long file, various cleanups

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

13 years agoRemove comments written in french (sigh), remove the unused (and not functionnal...
mquinson [Wed, 11 Jul 2007 09:45:03 +0000 (09:45 +0000)]
Remove comments written in french (sigh), remove the unused (and not functionnal) generate_deployment function, add new option: --extra-process to generate wrappers for processes not in the deployment file

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

13 years agocosmetics: enforce prototype checking on callbacks in SIMIX_function_register_process...
mquinson [Wed, 11 Jul 2007 07:46:56 +0000 (07:46 +0000)]
cosmetics: enforce prototype checking on callbacks in SIMIX_function_register_process_create/kill

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

13 years agoMove a private symbol (that I may want to kill soon) out of user's sight
mquinson [Wed, 11 Jul 2007 07:20:18 +0000 (07:20 +0000)]
Move a private symbol (that I may want to kill soon) out of user's sight

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

13 years agoyeah, right
mquinson [Tue, 10 Jul 2007 20:44:15 +0000 (20:44 +0000)]
yeah, right

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

13 years agoIgnore it, it's just a deseperate try to explain CVS that this version is better...
mquinson [Tue, 10 Jul 2007 20:39:21 +0000 (20:39 +0000)]
Ignore it, it's just a deseperate try to explain CVS that this version is better than the older one

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

13 years agoKill the types xbt_context_function_t, smx_process_code_t and m_process_code_t; use...
mquinson [Tue, 10 Jul 2007 20:36:12 +0000 (20:36 +0000)]
Kill the types xbt_context_function_t, smx_process_code_t and m_process_code_t; use a uniq xbt_main_func_t defined in include/src/function_types.h instead. This reduces the amount of supurious casts around, and prevent me from introducing yet another 'gras_process_code_t' alias ;) This symbol was part of the MSG public interface, but I doubt any user ever created a variable of that type (this is a pointer to function)

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

13 years agoStupid me. The code produced by the gras_stub_generator need these symbols, making...
mquinson [Tue, 10 Jul 2007 20:28:02 +0000 (20:28 +0000)]
Stupid me. The code produced by the gras_stub_generator need these symbols, making them public (sorry for the noise)

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

13 years agoArg. Move private symbols out of the public header. They are only used in SG, and...
mquinson [Tue, 10 Jul 2007 20:11:32 +0000 (20:11 +0000)]
Arg. Move private symbols out of the public header. They are only used in SG, and have no sense in RL

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

13 years agoArg. Move private symbols out of the public header. They are only used in SG, and...
mquinson [Tue, 10 Jul 2007 19:47:51 +0000 (19:47 +0000)]
Arg. Move private symbols out of the public header. They are only used in SG, and have no sense in RL

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

13 years agotimeout on conditions
mquinson [Tue, 10 Jul 2007 18:05:15 +0000 (18:05 +0000)]
timeout on conditions

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

13 years agoadd the ability to specify a timeout on waiting a condition in every interfaces ...
mquinson [Tue, 10 Jul 2007 18:04:52 +0000 (18:04 +0000)]
add the ability to specify a timeout on waiting a condition in every interfaces (but windows, I personnaly dunno how to do it), and use it in the queues

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

13 years agosanitize file naming space
mquinson [Tue, 10 Jul 2007 17:54:50 +0000 (17:54 +0000)]
sanitize file naming space

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

13 years agotypos preventing the java disabling from working
mquinson [Tue, 10 Jul 2007 17:29:51 +0000 (17:29 +0000)]
typos preventing the java disabling from working

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

13 years agoComment a windows hack which is out of sync with log layers addition and prevent...
mquinson [Tue, 10 Jul 2007 17:29:01 +0000 (17:29 +0000)]
Comment a windows hack which is out of sync with log layers addition and prevent the lib from compiling. It may happen that this hack is indeed mandatory to *use* the library. In this case, we'il have to update it

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

13 years agoops, wasn't compilable under windows
mquinson [Tue, 10 Jul 2007 17:25:53 +0000 (17:25 +0000)]
ops, wasn't compilable under windows

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

13 years agoMake sure min and max macro are declared everywhere in simgrid
mquinson [Tue, 10 Jul 2007 16:40:20 +0000 (16:40 +0000)]
Make sure min and max macro are declared everywhere in simgrid

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

13 years agorename xbt_portability.h and sysdep.c to xbt_os_time.h and xbt_os_time.c to express...
mquinson [Tue, 10 Jul 2007 16:36:32 +0000 (16:36 +0000)]
rename xbt_portability.h and sysdep.c to xbt_os_time.h and xbt_os_time.c to express more clearly what they do

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

13 years agoWindows don't have any pthread implementation...
mquinson [Tue, 10 Jul 2007 16:29:28 +0000 (16:29 +0000)]
Windows don't have any pthread implementation...

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

13 years agoSplit up a too long file, taking the oportunity to sanitize the file naming spacec
mquinson [Tue, 10 Jul 2007 15:58:15 +0000 (15:58 +0000)]
Split up a too long file, taking the oportunity to sanitize the file naming spacec

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

13 years agoSplit up a too long file, taking the oportunity to sanitize the file naming spacec
mquinson [Tue, 10 Jul 2007 13:04:30 +0000 (13:04 +0000)]
Split up a too long file, taking the oportunity to sanitize the file naming spacec

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

13 years agosome more work on smpi_sender and smpi_receiver. It'd be nice to be in
markls [Tue, 10 Jul 2007 05:55:06 +0000 (05:55 +0000)]
some more work on smpi_sender and smpi_receiver.  It'd be nice to be in
a position to do unit testing...

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

13 years agoHello module xbt/queue (classical producer/consumer synchronization scheme)
mquinson [Mon, 9 Jul 2007 18:41:52 +0000 (18:41 +0000)]
Hello module xbt/queue (classical producer/consumer synchronization scheme)

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

13 years agoWe need the os threads here
mquinson [Mon, 9 Jul 2007 17:50:44 +0000 (17:50 +0000)]
We need the os threads here

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

13 years agoErm
mquinson [Mon, 9 Jul 2007 17:48:08 +0000 (17:48 +0000)]

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

13 years agoFurther document last changes
mquinson [Mon, 9 Jul 2007 17:44:56 +0000 (17:44 +0000)]
Further document last changes

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

13 years agoHello xbt/synchro module (synchronization working both in simulation and real life...
mquinson [Mon, 9 Jul 2007 17:40:42 +0000 (17:40 +0000)]
Hello xbt/synchro module (synchronization working both in simulation and real life, for use in GRAS mainly but not only)

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

13 years ago.
mquinson [Mon, 9 Jul 2007 17:39:59 +0000 (17:39 +0000)]

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

13 years agoHello xbt/synchro module (synchronization working both in simulation and real life...
mquinson [Mon, 9 Jul 2007 17:39:13 +0000 (17:39 +0000)]
Hello xbt/synchro module (synchronization working both in simulation and real life, for use in GRAS mainly but not only). Implementation would be cleaner (and a bit faster) with ELF symbol aliasing, but I'm not sure of how it works under windows, so I prefer to play safe for now

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

13 years agorename xbt_thread, xbt_mutex and xbt_thcond to xbt_os_thread, xbt_os_mutex and xbt_os...
mquinson [Mon, 9 Jul 2007 16:32:07 +0000 (16:32 +0000)]
rename xbt_thread, xbt_mutex and xbt_thcond to xbt_os_thread, xbt_os_mutex and xbt_os_cond to make room for symbols like xbt_cond, which will be implemented with xbt_os_cond in RL, and with smx_cond in SG

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

13 years agoThis file is a stub for XBT, it has nothing to do in the gras/ dir
mquinson [Mon, 9 Jul 2007 16:30:13 +0000 (16:30 +0000)]
This file is a stub for XBT, it has nothing to do in the gras/ dir

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

13 years agoWe also need jni.h to compile (naturally) + move java checks to their own section...
mquinson [Mon, 9 Jul 2007 15:26:45 +0000 (15:26 +0000)]
We also need jni.h to compile (naturally) + move java checks to their own section (commit generated separately since they get updated when configure.ac is changed to update the $ Id $ in it

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

13 years agoWe also need jni.h to compile (naturally) + move java checks to their own section
mquinson [Mon, 9 Jul 2007 15:22:32 +0000 (15:22 +0000)]
We also need jni.h to compile (naturally) + move java checks to their own section

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

13 years agodo not break when java isn't around
mquinson [Mon, 9 Jul 2007 14:13:28 +0000 (14:13 +0000)]
do not break when java isn't around

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

13 years agoGet ready to RTFM fred about static linking
mquinson [Mon, 9 Jul 2007 10:40:09 +0000 (10:40 +0000)]
Get ready to RTFM fred about static linking

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

13 years agohello, automake-1.10
mquinson [Sun, 8 Jul 2007 21:18:15 +0000 (21:18 +0000)]
hello, automake-1.10

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

13 years agoGo for automake-1.10
mquinson [Sun, 8 Jul 2007 21:14:19 +0000 (21:14 +0000)]
Go for automake-1.10

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

13 years agoMake sure this file can be included alone (it needs va_*, which are loaded elsewhere...
mquinson [Sun, 8 Jul 2007 21:13:33 +0000 (21:13 +0000)]
Make sure this file can be included alone (it needs va_*, which are loaded elsewhere most of the time + note to Malek

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

13 years agoStop hardcoding prehistoric versions of aclocal ;)
mquinson [Sun, 8 Jul 2007 21:12:11 +0000 (21:12 +0000)]
Stop hardcoding prehistoric versions of aclocal ;)

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

13 years ago(kinda) working java wrappers by Malek and me
mquinson [Sun, 8 Jul 2007 21:11:37 +0000 (21:11 +0000)]
(kinda) working java wrappers by Malek and me

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

13 years ago(kinda) working java wrappers by Malek and me
mquinson [Sun, 8 Jul 2007 21:02:03 +0000 (21:02 +0000)]
(kinda) working java wrappers by Malek and me

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

13 years ago(kinda) working java wrappers by Malek and me
mquinson [Sun, 8 Jul 2007 20:51:53 +0000 (20:51 +0000)]
(kinda) working java wrappers by Malek and me

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

13 years agoignorable
mquinson [Sun, 8 Jul 2007 20:49:10 +0000 (20:49 +0000)]

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

13 years agoIn reality, Java use native thread synchronization. It will change, but for now,...
mquinson [Sun, 8 Jul 2007 18:10:52 +0000 (18:10 +0000)]
In reality, Java use native thread synchronization. It will change, but for now, it complicates this file to make sure that the right symbols are defined in both version

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

13 years agos/__SIMIX_display_process_status/SIMIX_display_process_status/
mquinson [Sun, 8 Jul 2007 18:09:20 +0000 (18:09 +0000)]

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

13 years agohack around the place to get the initialization phase of java working + cosmetics
mquinson [Sun, 8 Jul 2007 18:08:13 +0000 (18:08 +0000)]
hack around the place to get the initialization phase of java working + cosmetics

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

13 years agoMore verbose on exception throwing (java still raises this)
mquinson [Sun, 8 Jul 2007 18:05:10 +0000 (18:05 +0000)]
More verbose on exception throwing (java still raises this)

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

13 years agoallow interfaces to call SIMIX_display_process_status
mquinson [Sun, 8 Jul 2007 18:03:27 +0000 (18:03 +0000)]
allow interfaces to call SIMIX_display_process_status

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

13 years agoAllow java to call __MSG_process_cleanup
mquinson [Sun, 8 Jul 2007 18:02:31 +0000 (18:02 +0000)]
Allow java to call __MSG_process_cleanup

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

13 years agotypo
mquinson [Sun, 8 Jul 2007 17:59:36 +0000 (17:59 +0000)]

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

13 years agoAllow interfaces to display process status + trick around in SIMIX_jprocess_create...
mquinson [Sun, 8 Jul 2007 17:58:38 +0000 (17:58 +0000)]
Allow interfaces to display process status + trick around in SIMIX_jprocess_create (see its code) + indentation on SIMIX_process_create

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

13 years agowhen building the backtrace search the path if the binary is not right there (as...
mquinson [Sat, 7 Jul 2007 13:44:28 +0000 (13:44 +0000)]
when building the backtrace search the path if the binary is not right there (as it is the case with java) -- rah, a bit of crude system programming is good for me after so much of Java(TM) ;)

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

13 years agoDo only call addr2line on a library when we got the actual name of the library, natur...
mquinson [Sat, 7 Jul 2007 13:10:15 +0000 (13:10 +0000)]
Do only call addr2line on a library when we got the actual name of the library, naturally. I dunno how to get this name when it's not explicited in /proc/self/maps (Ideas someone?)

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

13 years agoported most of smpi_sender to simix, smpi_receiver soon to follow.
markls [Sat, 7 Jul 2007 06:08:27 +0000 (06:08 +0000)]
ported most of smpi_sender to simix, smpi_receiver soon to follow.

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

13 years agoStubs of the functions allowing the upper JAVA layer (user interface) to get back...
mquinson [Fri, 6 Jul 2007 20:27:38 +0000 (20:27 +0000)]
Stubs of the functions allowing the upper JAVA layer (user interface) to get back some information from the bottom one (context implementation). These are only stubs here because this file is not involved in libsimgrid4java; xbt_jcontext is used instead, but I'd prefer to wait before commiting this one

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

13 years agosome code allowing the upper JAVA layer (user interface) to get back some information...
mquinson [Fri, 6 Jul 2007 20:25:29 +0000 (20:25 +0000)]
some code allowing the upper JAVA layer (user interface) to get back some information from the bottom one (context implementation). This is used in the JAVA callbacks in charge of starting/stopping the java thread on behalf of the jcontext stuff

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

13 years agosome code allowing the upper JAVA layer (user interface) to pass some information...
mquinson [Fri, 6 Jul 2007 20:24:17 +0000 (20:24 +0000)]
some code allowing the upper JAVA layer (user interface) to pass some information to the bottom one (context implementation) + the code to create a SIMIX process hosting a JAVA thread (things are a bit different here)

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

13 years agoRename some struct fields in private datatype to explicit whether they are smx object...
mquinson [Fri, 6 Jul 2007 20:22:40 +0000 (20:22 +0000)]
Rename some struct fields in private datatype to explicit whether they are smx objects or msg ones + some code allowing the upper JAVA layer (user interface) to pass some information to the bottom one (context implementation)

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

13 years agoRename some struct fields in private datatype to explicit whether they are smx object...
mquinson [Fri, 6 Jul 2007 20:21:06 +0000 (20:21 +0000)]
Rename some struct fields in private datatype to explicit whether they are smx objects or msg ones

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

13 years agoCorrected bug when choosing workstation model.
velho [Fri, 6 Jul 2007 19:40:25 +0000 (19:40 +0000)]
Corrected bug when choosing workstation model.

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

13 years agoPropagate Pedro's typo fixing to the header files
mquinson [Fri, 6 Jul 2007 19:05:37 +0000 (19:05 +0000)]
Propagate Pedro's typo fixing to the header files

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

13 years agoadded in code to add computation action to simulation...
markls [Fri, 6 Jul 2007 16:33:28 +0000 (16:33 +0000)]
added in code to add computation action to simulation...

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

13 years agoCorrected some bugs, added the simix support to the other workstation
velho [Fri, 6 Jul 2007 15:33:53 +0000 (15:33 +0000)]
Corrected some bugs, added the simix support to the other workstation
models: KCCFLN05_Vegas and KCCFLN05_Reno.

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

13 years agoIt can happen that users put the call to MSG_config before the one to MSG_init (hello...
mquinson [Thu, 5 Jul 2007 16:56:46 +0000 (16:56 +0000)]
It can happen that users put the call to MSG_config before the one to MSG_init (hello Pedro ;). Check this and fail gracefully in that case. A yet better solution would be to initialize stuff in that case, but MSG don't like getting arguments (through MSG_init) after it's initialized so it seems really hard

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

13 years agoI don't know why this example wasn't working. I changed it in order to
velho [Thu, 5 Jul 2007 16:29:51 +0000 (16:29 +0000)]
I don't know why this example wasn't working. I changed it in order to
test the surf/lagrange.c method using a very simple example.

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

13 years agoIt was more difficult to find the bug that I thought, but it seems working now.
donassbr [Thu, 5 Jul 2007 12:04:38 +0000 (12:04 +0000)]
It was more difficult to find the bug that I thought, but it seems working now.
The AMOK test works.

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

13 years agodo-nothing program that uses only MPI_Init and MPI_Finalize works now.
markls [Wed, 4 Jul 2007 21:43:36 +0000 (21:43 +0000)]
do-nothing program that uses only MPI_Init and MPI_Finalize works now.

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

13 years agoUsing relative error to approximate the values of lambda and mu.
velho [Wed, 4 Jul 2007 15:05:47 +0000 (15:05 +0000)]
Using relative error to approximate the values of lambda and mu.
In other words: error = (new_value - old_value) / new_value.

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

13 years agoavoid any name clashes with msg/private.h so that the java interface can do crude...
mquinson [Wed, 4 Jul 2007 13:50:48 +0000 (13:50 +0000)]
avoid any name clashes with msg/private.h so that the java interface can do crude things and load both

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

13 years agoStop useless sensors before they wine about not getting message before timeout
mquinson [Wed, 4 Jul 2007 10:06:38 +0000 (10:06 +0000)]
Stop useless sensors before they wine about not getting message before timeout

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

13 years agoRationalize the description of which file goes in which module
mquinson [Wed, 4 Jul 2007 09:53:52 +0000 (09:53 +0000)]
Rationalize the description of which file goes in which module

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

13 years agofinish the convertion of tests to TESH
mquinson [Wed, 4 Jul 2007 08:52:35 +0000 (08:52 +0000)]
finish the convertion of tests to TESH

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

13 years agoContinue documenting my changes
mquinson [Wed, 4 Jul 2007 08:25:38 +0000 (08:25 +0000)]
Continue documenting my changes

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

13 years agoMore informative error message when non-clean end, even when simix debug emssages...
mquinson [Wed, 4 Jul 2007 08:23:36 +0000 (08:23 +0000)]
More informative error message when non-clean end, even when simix debug emssages are not enabled

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

13 years agoOnly use the basename of __FILE__ when propagating exceptions to avoid strange errors...
mquinson [Wed, 4 Jul 2007 07:46:47 +0000 (07:46 +0000)]
Only use the basename of __FILE__ when propagating exceptions to avoid strange errors when using make check in a VPATH setting

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

13 years agoUse 0 to indicate an invalid PID instead of -1. Someone may consider it unsigned...
mquinson [Tue, 3 Jul 2007 20:05:34 +0000 (20:05 +0000)]
Use 0 to indicate an invalid PID instead of -1. Someone may consider it unsigned or whatever

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

13 years agofinally putting in proper use of mutexes. code still needs work.
markls [Tue, 3 Jul 2007 20:01:01 +0000 (20:01 +0000)]
finally putting in proper use of mutexes.  code still needs work.

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

13 years agoMake sure that MSG_process_get_PID() never raise an exception, even with invalid...
mquinson [Tue, 3 Jul 2007 15:34:10 +0000 (15:34 +0000)]
Make sure that MSG_process_get_PID() never raise an exception, even with invalid parameters, because it will be called back by the exception handling mecanism (through the logs), and it will lead to a stack overflow

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

13 years agoundoing an unintentional mistake.
markls [Tue, 3 Jul 2007 13:22:25 +0000 (13:22 +0000)]
undoing an unintentional mistake.

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

13 years agore-start smpi from scratch to use SIMIX.
markls [Tue, 3 Jul 2007 05:35:31 +0000 (05:35 +0000)]
re-start smpi from scratch to use SIMIX.

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

13 years agoErased bad commentary.
velho [Mon, 2 Jul 2007 20:30:49 +0000 (20:30 +0000)]
Erased bad commentary.

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