Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
11 years agoFix in masterslave deploy.xml
Samuel Lepetit [Wed, 13 Jun 2012 13:51:45 +0000 (15:51 +0200)]
Fix in masterslave deploy.xml

11 years agoChange the File java API according to the changes in the C api
Samuel Lepetit [Wed, 13 Jun 2012 13:33:47 +0000 (15:33 +0200)]
Change the File java API according to the changes in the C api

11 years agoAdd VM API from MSG (experimental, still buggy in MSG C part anyway)
Samuel Lepetit [Wed, 13 Jun 2012 09:56:14 +0000 (11:56 +0200)]
Add VM API from MSG (experimental, still buggy in MSG C part anyway)

11 years agoMake bind atributes private (we don't want users to mess with it)
Samuel Lepetit [Wed, 13 Jun 2012 09:12:17 +0000 (11:12 +0200)]
Make bind atributes private (we don't want users to mess with it)

11 years agoIf don't find TRACE_* functions don't break Simgrid-java.
navarro [Wed, 13 Jun 2012 08:57:08 +0000 (10:57 +0200)]
If don't find TRACE_* functions don't break Simgrid-java.

11 years agoAdd missing files and Check for option TRACING in Simgrid
navarro [Wed, 13 Jun 2012 08:26:03 +0000 (10:26 +0200)]
Add missing files and Check for option TRACING in Simgrid

11 years agoMerge branch 'v3_7_1'
navarro [Wed, 13 Jun 2012 07:53:18 +0000 (09:53 +0200)]
Merge branch 'v3_7_1'

Conflicts:
CMakeLists.txt

11 years agoAdd missing files for dist.
navarro [Tue, 12 Jun 2012 21:55:30 +0000 (23:55 +0200)]
Add missing files for dist.

11 years agoUpdate version for scp
navarro [Tue, 12 Jun 2012 21:17:24 +0000 (23:17 +0200)]
Update version for scp

11 years agoClean generated file class.
navarro [Tue, 12 Jun 2012 21:05:06 +0000 (23:05 +0200)]
Clean generated file class.

11 years agoMerge branch 'master' of git://scm.gforge.inria.fr/simgrid/simgrid-java
alebre [Tue, 12 Jun 2012 20:44:40 +0000 (22:44 +0200)]
Merge branch 'master' of git://scm.gforge.inria.fr/simgrid/simgrid-java

11 years agoMerge branch 'master' of git://scm.gforge.inria.fr/simgrid/simgrid-java
alebre [Tue, 12 Jun 2012 20:44:02 +0000 (22:44 +0200)]
Merge branch 'master' of git://scm.gforge.inria.fr/simgrid/simgrid-java

Conflicts:
CMakeLists.txt
ChangeLog

11 years agoFix dependencies for java examples
navarro [Tue, 12 Jun 2012 20:42:10 +0000 (22:42 +0200)]
Fix dependencies for java examples

11 years agoBugfix in coroutines
Samuel Lepetit [Tue, 12 Jun 2012 20:41:04 +0000 (22:41 +0200)]
Bugfix in coroutines

11 years agoRemove useless replace command lines
navarro [Tue, 12 Jun 2012 20:34:23 +0000 (22:34 +0200)]
Remove useless replace command lines

11 years agoRemove Trace useless files - Adrien
alebre [Tue, 12 Jun 2012 20:31:59 +0000 (22:31 +0200)]
Remove Trace useless files - Adrien

11 years agoUpdate the ChangeLog with Traces stuf + Trace stuff - Adrien
alebre [Tue, 12 Jun 2012 20:30:10 +0000 (22:30 +0200)]
Update the ChangeLog with Traces stuf + Trace stuff - Adrien

11 years agoUpdate the ChangeLog with Traces stuf + CMakeLists.txt modifs - Adrien
alebre [Tue, 12 Jun 2012 20:27:27 +0000 (22:27 +0200)]
Update the ChangeLog with Traces stuf + CMakeLists.txt modifs - Adrien

11 years agoUpdate simgrid java version and indent.
navarro [Tue, 12 Jun 2012 20:08:30 +0000 (22:08 +0200)]
Update simgrid java version and indent.

11 years agoAdd File support and an example to cover it.
Samuel Lepetit [Tue, 12 Jun 2012 19:32:10 +0000 (21:32 +0200)]
Add File support and an example to cover it.

11 years agoMerge scm.gforge.inria.fr:/gitroot/simgrid/simgrid-java
Samuel Lepetit [Tue, 12 Jun 2012 15:57:06 +0000 (17:57 +0200)]
Merge scm.gforge.inria.fr:/gitroot/simgrid/simgrid-java

11 years agoMake the directory with command line
navarro [Tue, 12 Jun 2012 13:56:56 +0000 (15:56 +0200)]
Make the directory with command line

11 years agorewrite the changelog for cosmetics
Martin Quinson [Tue, 12 Jun 2012 13:36:37 +0000 (15:36 +0200)]
rewrite the changelog for cosmetics

11 years agoBugfix in smx_context_cojava
Samuel Lepetit [Tue, 12 Jun 2012 13:22:49 +0000 (15:22 +0200)]
Bugfix in smx_context_cojava

11 years agoForgot coroutines files
Samuel Lepetit [Tue, 12 Jun 2012 13:18:14 +0000 (15:18 +0200)]
Forgot coroutines files

11 years agoUpdate changelog
Samuel Lepetit [Tue, 12 Jun 2012 13:15:24 +0000 (15:15 +0200)]
Update changelog

11 years agoMerge scm.gforge.inria.fr:/gitroot/simgrid/simgrid-java
Samuel Lepetit [Tue, 12 Jun 2012 13:11:11 +0000 (15:11 +0200)]
Merge scm.gforge.inria.fr:/gitroot/simgrid/simgrid-java

11 years agoChange the way the flag is handled in smx_ctx_java_stop
Samuel Lepetit [Tue, 12 Jun 2012 12:58:58 +0000 (14:58 +0200)]
Change the way the flag is handled in smx_ctx_java_stop

11 years agoAdd migration example
Samuel Lepetit [Tue, 12 Jun 2012 12:05:00 +0000 (14:05 +0200)]
Add migration example

11 years agoBugfix in Mutex class. Forgot the deployment file in masterslave
Samuel Lepetit [Tue, 12 Jun 2012 12:03:28 +0000 (14:03 +0200)]
Bugfix in Mutex class. Forgot the deployment file in masterslave

11 years agoAdd resume/suspend. Make restart/pause deprecated
Samuel Lepetit [Tue, 12 Jun 2012 09:58:43 +0000 (11:58 +0200)]
Add resume/suspend. Make restart/pause deprecated

11 years agoRenamed basic example to "masterslave" (more accurate)
Samuel Lepetit [Tue, 12 Jun 2012 09:49:13 +0000 (11:49 +0200)]
Renamed basic example to "masterslave" (more accurate)

11 years agoBugfix in Basic example
Samuel Lepetit [Tue, 12 Jun 2012 09:29:25 +0000 (11:29 +0200)]
Bugfix in Basic example

11 years agoMake Process.migrate non-static
Samuel Lepetit [Tue, 12 Jun 2012 09:20:05 +0000 (11:20 +0200)]
Make Process.migrate non-static

11 years agoBugfix in comment
Samuel Lepetit [Tue, 12 Jun 2012 09:02:00 +0000 (11:02 +0200)]
Bugfix in comment

11 years agoBugfix in Mutex comments
Samuel Lepetit [Tue, 12 Jun 2012 09:00:50 +0000 (11:00 +0200)]
Bugfix in Mutex comments

11 years agoRemove useless fields in Msg
Samuel Lepetit [Tue, 12 Jun 2012 08:59:39 +0000 (10:59 +0200)]
Remove useless fields in Msg

11 years agoMerge scm.gforge.inria.fr:/gitroot/simgrid/simgrid-java
Samuel Lepetit [Tue, 12 Jun 2012 08:36:57 +0000 (10:36 +0200)]
Merge scm.gforge.inria.fr:/gitroot/simgrid/simgrid-java

11 years agoAdd priority example/test
Samuel Lepetit [Tue, 12 Jun 2012 08:19:35 +0000 (10:19 +0200)]
Add priority example/test

11 years agoMerge scm.gforge.inria.fr:/gitroot/simgrid/simgrid-java
Samuel Lepetit [Tue, 12 Jun 2012 07:58:16 +0000 (09:58 +0200)]
Merge scm.gforge.inria.fr:/gitroot/simgrid/simgrid-java

Conflicts:
src/jmsg_process.c
src/jmsg_process.h

11 years agoAdd setKillTime in Process
Samuel Lepetit [Tue, 12 Jun 2012 07:57:05 +0000 (09:57 +0200)]
Add setKillTime in Process

11 years agoAdd EXPERIMENTAL Coroutines support
Samuel Lepetit [Mon, 11 Jun 2012 21:29:19 +0000 (23:29 +0200)]
Add EXPERIMENTAL Coroutines support

11 years agoAdd suspend example/test
Samuel Lepetit [Mon, 11 Jun 2012 15:45:31 +0000 (17:45 +0200)]
Add suspend example/test

11 years agoProcess bind bugfix
Samuel Lepetit [Mon, 11 Jun 2012 15:40:15 +0000 (17:40 +0200)]
Process bind bugfix

11 years agoFix encoding in RngStream class
Samuel Lepetit [Mon, 11 Jun 2012 10:06:50 +0000 (12:06 +0200)]
Fix encoding in RngStream class

11 years agoRemove a useless FIXME (since it has already been fixed)
Samuel Lepetit [Thu, 7 Jun 2012 20:30:15 +0000 (22:30 +0200)]
Remove a useless FIXME (since it has already been fixed)

11 years agoMerge concerns - Adrien
alebre [Tue, 5 Jun 2012 12:23:49 +0000 (14:23 +0200)]
Merge concerns - Adrien

11 years agoMerge concerns - Adrien
alebre [Tue, 5 Jun 2012 12:18:46 +0000 (14:18 +0200)]
Merge concerns - Adrien

11 years agoAdd the forgotten bittorrent tesh file. Change the way pieces are chosen in updateCur...
Samuel Lepetit [Tue, 5 Jun 2012 08:42:25 +0000 (10:42 +0200)]
Add the forgotten bittorrent tesh file. Change the way pieces are chosen in updateCurrentPieces (using RngStream).

11 years agoAdd bittorrent example
Samuel Lepetit [Mon, 4 Jun 2012 08:36:54 +0000 (10:36 +0200)]
Add bittorrent example

11 years agoSet some warnings on windows with no-error flag.
unknown [Fri, 1 Jun 2012 10:22:16 +0000 (12:22 +0200)]
Set some warnings on windows with no-error flag.

11 years agoExport RngStreams to Java
Samuel Lepetit [Thu, 31 May 2012 13:10:18 +0000 (15:10 +0200)]
Export RngStreams to Java

11 years agoAdd a test for chord
Samuel Lepetit [Thu, 31 May 2012 08:40:39 +0000 (10:40 +0200)]
Add a test for chord

11 years agoAdd a boolean field "finished" in Comm to prevent exceptions in Simix to happen
Samuel Lepetit [Thu, 31 May 2012 08:18:25 +0000 (10:18 +0200)]
Add a boolean field "finished" in Comm to prevent exceptions in Simix to happen

11 years agoMake simgrid-java buildable after MSG_process_create_with_environment prototype change
Samuel Lepetit [Tue, 29 May 2012 13:44:57 +0000 (15:44 +0200)]
Make simgrid-java buildable after MSG_process_create_with_environment prototype change

11 years agoMerge branch 'master' of git://scm.gforge.inria.fr/simgrid/simgrid-java
alebre [Tue, 29 May 2012 12:42:31 +0000 (14:42 +0200)]
Merge branch 'master' of git://scm.gforge.inria.fr/simgrid/simgrid-java

11 years agoCMakeLists for TRACE java bindgins - Adrien
alebre [Tue, 29 May 2012 12:42:26 +0000 (14:42 +0200)]
CMakeLists for TRACE java bindgins - Adrien

11 years agoWe don't need the msg process to sleep.
Samuel Lepetit [Fri, 25 May 2012 11:32:52 +0000 (13:32 +0200)]
We don't need the msg process to sleep.

11 years agoDon't need those lines.
navarro [Wed, 23 May 2012 15:51:57 +0000 (17:51 +0200)]
Don't need those lines.

11 years agoRemove previous commit use __APPLE__ define by GNU
navarro [Wed, 23 May 2012 15:23:26 +0000 (17:23 +0200)]
Remove previous commit use __APPLE__ define by GNU

11 years agoSet variable APPLE dor mac
navarro [Wed, 23 May 2012 14:59:29 +0000 (16:59 +0200)]
Set variable APPLE dor mac

11 years agoDon't try to compare env variable just see if exist.
navarro [Wed, 23 May 2012 14:28:00 +0000 (16:28 +0200)]
Don't try to compare env variable just see if exist.

11 years agoStop using JNI_GetCreatedJavaVMs, cache the java_vm object
Samuel Lepetit [Wed, 23 May 2012 13:31:58 +0000 (15:31 +0200)]
Stop using JNI_GetCreatedJavaVMs, cache the java_vm object

11 years agoSorry it's not elseif but else
navarro [Wed, 23 May 2012 13:03:03 +0000 (15:03 +0200)]
Sorry it's not elseif but else

11 years agoAdd this variable to link flag only if it is not empty
navarro [Wed, 23 May 2012 12:51:48 +0000 (14:51 +0200)]
Add this variable to link flag only if it is not empty

11 years agoFix configure on MAC
navarro [Wed, 23 May 2012 12:23:41 +0000 (14:23 +0200)]
Fix configure on MAC

11 years agoBugfix in Process.waitFor and Process.sleep: Throw the expected
Samuel Lepetit [Mon, 21 May 2012 08:39:23 +0000 (10:39 +0200)]
Bugfix in Process.waitFor and Process.sleep: Throw the expected
exception if failure.

11 years agoBugfix in Chord
Samuel Lepetit [Fri, 18 May 2012 14:17:16 +0000 (16:17 +0200)]
Bugfix in Chord

11 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid-java
Samuel Lepetit [Fri, 18 May 2012 13:05:00 +0000 (15:05 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid-java

11 years agoAdd chord example for java
Samuel Lepetit [Fri, 18 May 2012 13:03:32 +0000 (15:03 +0200)]
Add chord example for java

11 years agoAdd chord example for java
Samuel Lepetit [Fri, 18 May 2012 13:03:32 +0000 (15:03 +0200)]
Add chord example for java

11 years agoBugfix in Comm (GC didn't like it.). Add "debug" logging
Samuel Lepetit [Fri, 18 May 2012 12:37:54 +0000 (14:37 +0200)]
Bugfix in Comm (GC didn't like it.). Add "debug" logging

11 years agoFix the handling of errors in Task.send
Samuel Lepetit [Fri, 18 May 2012 12:03:57 +0000 (14:03 +0200)]
Fix the handling of errors in Task.send

11 years agoChanged the way current_context is handled in smx_context_java
Samuel Lepetit [Fri, 18 May 2012 12:01:22 +0000 (14:01 +0200)]
Changed the way current_context is handled in smx_context_java

11 years agoRemoved "ApplicationHandler" and "japplication_handler" and use MSG_launch_applicatio...
Samuel Lepetit [Wed, 16 May 2012 14:59:56 +0000 (16:59 +0200)]
Removed "ApplicationHandler" and "japplication_handler" and use MSG_launch_application instead.

Also, removed the mandatory "Host, String, String[], double, double" constructor and replaced it with the old "Host, String, String[]" mandatory constructor
for the classes (updated the examples if you need an example), since we can't know from MSG the start_time and the kill_time if we launch it from
deployment file.

11 years agoAdd an example to test starting_time and kill_time
Samuel Lepetit [Wed, 16 May 2012 11:56:08 +0000 (13:56 +0200)]
Add an example to test starting_time and kill_time

11 years agoChange the way the process killing is handled, using the flag from the base context...
Samuel Lepetit [Wed, 16 May 2012 11:47:13 +0000 (13:47 +0200)]
Change the way the process killing is handled, using the flag from the base context and not a
specific flag on smx_context_java.

It lets us now use a "process_kill" naturally :).

11 years agoAdd a straightforward implementation of start_time and kill_time. This change the...
Samuel Lepetit [Wed, 16 May 2012 09:47:19 +0000 (11:47 +0200)]
Add a straightforward implementation of start_time and kill_time. This change the constructor you have to implement (sorry). Fix the examples for that purpose

11 years agoChange "ProcessKilledException" to "ProcessKilledError" -> make it not catchable...
Samuel Lepetit [Tue, 15 May 2012 14:47:48 +0000 (16:47 +0200)]
Change "ProcessKilledException" to "ProcessKilledError" -> make it not catchable by catch
(Exception e) statements (because someone's gonna do it).

11 years agoFix platform file for mutual exclusion example. Fix the associated test
Samuel Lepetit [Mon, 14 May 2012 15:19:37 +0000 (17:19 +0200)]
Fix platform file for mutual exclusion example. Fix the associated test

11 years agoUse jxbt_get_jfield instead of jxbt_get_sfield (faster)
Samuel Lepetit [Mon, 14 May 2012 15:16:21 +0000 (17:16 +0200)]
Use jxbt_get_jfield instead of jxbt_get_sfield (faster)

11 years agoRemoved jprocess_start (useless now), cached ids in jmsg_process
Samuel Lepetit [Mon, 14 May 2012 15:12:25 +0000 (17:12 +0200)]
Removed jprocess_start (useless now), cached ids in jmsg_process

11 years agoChange the way the Process are killed, since we need the java stack to be empty ...
Samuel Lepetit [Mon, 14 May 2012 14:37:07 +0000 (16:37 +0200)]
Change the way the Process are killed, since we need the java stack to be empty (IE, the "run"
call must have returned).

Updated the examples tesh to match it.
Updated the changelog

11 years agoChange the way the threads are stopped, not killing the JVM at the end of the simulation.
Samuel Lepetit [Mon, 14 May 2012 11:43:50 +0000 (13:43 +0200)]
Change the way the threads are stopped, not killing the JVM at the end of the simulation.

11 years agoChange the include file for os_thread
Samuel Lepetit [Mon, 14 May 2012 08:07:36 +0000 (10:07 +0200)]
Change the include file for os_thread

11 years agoChange the way the threads are launched: they are now launched as
Samuel Lepetit [Fri, 11 May 2012 15:15:57 +0000 (17:15 +0200)]
Change the way the threads are launched: they are now launched as
xbt_os_thread and then attached to the JVM, meaning that the C has
control over them.

This means that now, "Process" does not herit anymore from Thread, and
that you now need to call explicitely the method "start" if you bypass
the deployment file.

Updated the examples.

11 years agoForgot to update migrate signature in Process
Samuel Lepetit [Fri, 11 May 2012 13:44:59 +0000 (15:44 +0200)]
Forgot to update migrate signature in Process

11 years agoAdd setlocale in jmsg.c, to have traces not depending on the locale of the user
Samuel Lepetit [Thu, 10 May 2012 13:06:32 +0000 (15:06 +0200)]
Add setlocale in jmsg.c, to have traces not depending on the locale of the user

11 years agoMissing import in examples
Samuel Lepetit [Thu, 10 May 2012 12:39:20 +0000 (14:39 +0200)]
Missing import in examples

11 years agoChange the way the objects are created in ApplicationHandler: they are
Samuel Lepetit [Thu, 10 May 2012 10:00:29 +0000 (12:00 +0200)]
Change the way the objects are created in ApplicationHandler: they are
now created the same way than when you create the object manually,
using the (Host, String, String[]) constructor. It means that now your
classes need to have a (Host, String, String[]) constructor calling the
same constructor in Process.

Update the examples to reflect the change.
Update the changelog.

11 years agoAdd sleep in Process, with a Thread.sleep like use (in milliseconds/nanoseconds).
Samuel Lepetit [Wed, 9 May 2012 16:10:16 +0000 (18:10 +0200)]
Add sleep in Process, with a Thread.sleep like use (in milliseconds/nanoseconds).

11 years agoAdd setName in Task
Samuel Lepetit [Wed, 9 May 2012 15:38:23 +0000 (17:38 +0200)]
Add setName in Task

11 years agoAdd setComputeDuration in Task
Samuel Lepetit [Wed, 9 May 2012 15:11:17 +0000 (17:11 +0200)]
Add setComputeDuration in Task

11 years agoRemove useless line in examples/async/Master.java
Samuel Lepetit [Wed, 9 May 2012 15:11:03 +0000 (17:11 +0200)]
Remove useless line in examples/async/Master.java

11 years agoCache the task name in Task
Samuel Lepetit [Wed, 9 May 2012 14:14:44 +0000 (16:14 +0200)]
Cache the task name in Task

11 years agoRemoved the HostFailureException from waitFor, since it's never thrown
Samuel Lepetit [Wed, 9 May 2012 13:58:40 +0000 (15:58 +0200)]
Removed the HostFailureException from waitFor, since it's never thrown

11 years agoAdd cache on jmsg_syncro.c/Mutex.java
Samuel Lepetit [Wed, 9 May 2012 13:50:29 +0000 (15:50 +0200)]
Add cache on jmsg_syncro.c/Mutex.java

11 years agoAdd a cache on Host.name. Add a cache on some jfieldID/jmethodID on Host/Process
Samuel Lepetit [Wed, 9 May 2012 13:39:47 +0000 (15:39 +0200)]
Add a cache on Host.name. Add a cache on some jfieldID/jmethodID on Host/Process

11 years agoDeleted simulatedSleep, use waitFor instead. Moved everything from MsgNative to their...
Samuel Lepetit [Wed, 9 May 2012 11:10:32 +0000 (13:10 +0200)]
Deleted simulatedSleep, use waitFor instead. Moved everything from MsgNative to their respective classes. Some optimization work on Process.

11 years agoAdd checking on getSender/getSource to prevent a SEGFAULT
Samuel Lepetit [Wed, 9 May 2012 08:24:48 +0000 (10:24 +0200)]
Add checking on getSender/getSource to prevent a SEGFAULT