Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
15 years agotask->data (formerly callback) could not be set by end-users.
alegrand [Thu, 23 Dec 2004 00:55:07 +0000 (00:55 +0000)]
task->data (formerly callback) could not be set by end-users.

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

15 years agoAPI modification in context breaks MSG. Removing MSG from the compilation list until...
alegrand [Wed, 22 Dec 2004 20:43:12 +0000 (20:43 +0000)]
API modification in context breaks MSG. Removing MSG from the compilation list until it is repaired.

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

15 years agoModifying the API so as to prevent a use of the context that would make valgrind...
alegrand [Wed, 22 Dec 2004 20:41:34 +0000 (20:41 +0000)]
Modifying the API so as to prevent a use of the context that would make valgrind unhappy. See, I really care about the happiness of valgrind...

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

15 years agoNo more leak: valgrind approved. However, some ways of using these context make valgr...
alegrand [Wed, 22 Dec 2004 20:19:52 +0000 (20:19 +0000)]
No more leak: valgrind approved. However, some ways of using these context make valgrind cry and I really don't know why. Some other people have faced the same problem but "solved" it by supressing valgrind's warning...

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

15 years agoHow can I have ever wrote such a thing !
alegrand [Wed, 22 Dec 2004 20:17:22 +0000 (20:17 +0000)]
How can I have ever wrote such a thing !

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

15 years agoTrying to make old MSG exemples run on top on SURF. Definitely need to wax it more...
alegrand [Tue, 21 Dec 2004 21:46:49 +0000 (21:46 +0000)]
Trying to make old MSG exemples run on top on SURF. Definitely need to wax it more, especially the context part.

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

15 years agodebug debug debug
alegrand [Tue, 21 Dec 2004 21:43:22 +0000 (21:43 +0000)]
debug debug debug

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

15 years agoForgot to disable debug printf's. Sorry for the noise.
alegrand [Tue, 21 Dec 2004 21:26:31 +0000 (21:26 +0000)]
Forgot to disable debug printf's. Sorry for the noise.

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

15 years agomake valgrind happy happy.
alegrand [Tue, 21 Dec 2004 21:24:50 +0000 (21:24 +0000)]
make valgrind happy happy.

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

15 years agoDude, that was baaad... ;)
alegrand [Tue, 21 Dec 2004 19:50:39 +0000 (19:50 +0000)]
Dude, that was baaad... ;)

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

15 years agoplatform file is not hardcoded anymore
alegrand [Sat, 18 Dec 2004 05:41:25 +0000 (05:41 +0000)]
platform file is not hardcoded anymore

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

15 years agoThis function has been accidentally deleted in the last version...
alegrand [Sat, 18 Dec 2004 00:17:39 +0000 (00:17 +0000)]
This function has been accidentally deleted in the last version...

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

15 years agoFinished to rewrite most functions. Now let's try it and spend one week to debug...
alegrand [Fri, 17 Dec 2004 23:52:52 +0000 (23:52 +0000)]
Finished to rewrite most functions. Now let's try it and spend one week to debug... :)

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

15 years agocosmetics
alegrand [Fri, 17 Dec 2004 23:43:04 +0000 (23:43 +0000)]
cosmetics

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

15 years agomoved src/surf/surf_parse.h to include/surf/
alegrand [Fri, 17 Dec 2004 23:41:39 +0000 (23:41 +0000)]
moved src/surf/surf_parse.h to include/surf/

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

15 years agoAdd a convenient function
alegrand [Fri, 17 Dec 2004 23:30:56 +0000 (23:30 +0000)]
Add a convenient function

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

15 years agoThis one was easy. :)
alegrand [Fri, 17 Dec 2004 22:45:59 +0000 (22:45 +0000)]
This one was easy. :)

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

15 years agoA few more functions and I'll be able to make MSG program start and crash... :)
alegrand [Fri, 17 Dec 2004 22:26:59 +0000 (22:26 +0000)]
A few more functions and I'll be able to make MSG program start and crash... :)

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

15 years agoCosmetics
alegrand [Fri, 17 Dec 2004 21:29:11 +0000 (21:29 +0000)]
Cosmetics

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

15 years agoKeep rewriting MSG so that it uses SURF instead of SG. The day I'm gonna run a MSG...
alegrand [Fri, 17 Dec 2004 21:18:52 +0000 (21:18 +0000)]
Keep rewriting MSG so that it uses SURF instead of SG. The day I'm gonna run a MSG program, it is gonna take a long time before it does not crash anymore...

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

15 years agoKeeping rewriting MSG
alegrand [Fri, 17 Dec 2004 05:46:56 +0000 (05:46 +0000)]
Keeping rewriting MSG

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

15 years agoAdding function to indicate whether an action is suspended or not.
alegrand [Fri, 17 Dec 2004 05:45:05 +0000 (05:45 +0000)]
Adding function to indicate whether an action is suspended or not.

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

15 years agoA few more functions usefull in MSG. They should not be written like functions though...
alegrand [Fri, 17 Dec 2004 05:43:49 +0000 (05:43 +0000)]
A few more functions usefull in MSG. They should not be written like functions though as they are used in loop. Nevermind.

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

15 years agocosmetics : s/sim_data/simdata/g
alegrand [Fri, 17 Dec 2004 00:04:50 +0000 (00:04 +0000)]
cosmetics : s/sim_data/simdata/g
still does not break backward compatibility. It was private before.

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

15 years agocosmetics : create -> new
alegrand [Thu, 16 Dec 2004 23:29:25 +0000 (23:29 +0000)]
cosmetics : create -> new

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

15 years agojust a move
alegrand [Thu, 16 Dec 2004 23:12:32 +0000 (23:12 +0000)]
just a move

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

15 years agoKeep rewriting MSG
alegrand [Thu, 16 Dec 2004 22:55:55 +0000 (22:55 +0000)]
Keep rewriting MSG

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

15 years agoMSG is not a module
alegrand [Thu, 16 Dec 2004 22:55:27 +0000 (22:55 +0000)]
MSG is not a module

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

15 years agomaking some field names more explicit (e.g. void * -> sim_data_task_t) even though...
alegrand [Thu, 16 Dec 2004 20:50:39 +0000 (20:50 +0000)]
making some field names more explicit (e.g. void * -> sim_data_task_t) even though the corresponding data are still hiden
starting to reimplement MSG

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

15 years agoprefixing name functions by xbt_
alegrand [Thu, 16 Dec 2004 20:40:06 +0000 (20:40 +0000)]
prefixing name functions by xbt_

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

15 years agomove gras_datadesc_type_cmp() out of the way (from ddt_exchange.c to ddt_create.c)
mquinson [Thu, 16 Dec 2004 15:43:41 +0000 (15:43 +0000)]
move gras_datadesc_type_cmp() out of the way (from ddt_exchange.c to ddt_create.c)

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

15 years agoIgnore binaries
mquinson [Thu, 16 Dec 2004 13:08:37 +0000 (13:08 +0000)]
Ignore binaries

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

15 years agoWorks on G5
mquinson [Thu, 16 Dec 2004 13:07:43 +0000 (13:07 +0000)]
Works on G5

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

15 years agoYou evil namespace polluter
mquinson [Thu, 16 Dec 2004 13:03:07 +0000 (13:03 +0000)]
You evil namespace polluter

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

15 years agoFight symbol redefinition since it breaks on G5 (don't ask why it does only break...
mquinson [Thu, 16 Dec 2004 12:59:17 +0000 (12:59 +0000)]
Fight symbol redefinition since it breaks on G5 (don't ask why it does only break on this arch)

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

15 years agono generated files in CVS
mquinson [Thu, 16 Dec 2004 12:50:34 +0000 (12:50 +0000)]
no generated files in CVS

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

15 years agoPort to G5
mquinson [Thu, 16 Dec 2004 12:45:21 +0000 (12:45 +0000)]
Port to G5

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

15 years agoMy god, the AIX compiler is rather picky
mquinson [Thu, 16 Dec 2004 11:55:50 +0000 (11:55 +0000)]
My god, the AIX compiler is rather picky

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

15 years agoautomake-1.9 hits testing
mquinson [Thu, 16 Dec 2004 11:42:00 +0000 (11:42 +0000)]
automake-1.9 hits testing

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

15 years agogras now works on win32
mquinson [Thu, 16 Dec 2004 11:38:20 +0000 (11:38 +0000)]
gras now works on win32

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

15 years agoCleanup library dependencies declaration
mquinson [Thu, 16 Dec 2004 11:37:59 +0000 (11:37 +0000)]
Cleanup library dependencies declaration

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

15 years agotest_rl now generated
mquinson [Thu, 16 Dec 2004 11:28:51 +0000 (11:28 +0000)]
test_rl now generated

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

15 years agotest_rl now generated
mquinson [Thu, 16 Dec 2004 11:22:53 +0000 (11:22 +0000)]
test_rl now generated

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

15 years agoDocument last changes
mquinson [Thu, 16 Dec 2004 11:17:23 +0000 (11:17 +0000)]
Document last changes

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

15 years agocleanup the mecanism in charge of declaring the library dependencies to libtool
mquinson [Thu, 16 Dec 2004 10:34:32 +0000 (10:34 +0000)]
cleanup the mecanism in charge of declaring the library dependencies to libtool

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

15 years agocontext_t -> xbt_context_t
alegrand [Thu, 16 Dec 2004 00:56:14 +0000 (00:56 +0000)]
context_t -> xbt_context_t

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

15 years agoworks better with multiple inclusion
alegrand [Thu, 16 Dec 2004 00:54:29 +0000 (00:54 +0000)]
works better with multiple inclusion

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

15 years agogras works on win32
mquinson [Thu, 16 Dec 2004 00:12:38 +0000 (00:12 +0000)]
gras works on win32

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

15 years agoyeah, yeah, linux. Don't bother. O_BINARY is a nasty flag from this nasty windows...
mquinson [Thu, 16 Dec 2004 00:05:54 +0000 (00:05 +0000)]
yeah, yeah, linux. Don't bother. O_BINARY is a nasty flag from this nasty windows. Keep cool and ignore it

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

15 years agoyou fucking windows. Don't even think about translating my bytes
mquinson [Thu, 16 Dec 2004 00:04:58 +0000 (00:04 +0000)]
you fucking windows. Don't even think about translating my bytes

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

15 years agoSome more debug
mquinson [Wed, 15 Dec 2004 23:42:03 +0000 (23:42 +0000)]
Some more debug

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

15 years agoFix the ucontext detection: search for the header, not the function in libc
mquinson [Wed, 15 Dec 2004 22:51:07 +0000 (22:51 +0000)]
Fix the ucontext detection: search for the header, not the function in libc

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

15 years agoAdd portable header loading for contexts
mquinson [Wed, 15 Dec 2004 22:50:04 +0000 (22:50 +0000)]
Add portable header loading for contexts

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

15 years agoAdd the ucontext reimplementation for windows from Panagiotis
mquinson [Wed, 15 Dec 2004 22:48:55 +0000 (22:48 +0000)]
Add the ucontext reimplementation for windows from Panagiotis

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

15 years agoMake the context cruft work on windows; mark the pthread layer in context.* as deprec...
mquinson [Wed, 15 Dec 2004 22:47:38 +0000 (22:47 +0000)]
Make the context cruft work on windows; mark the pthread layer in context.* as deprecated. We will need threads around, but not here

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

15 years agoLet's keep cool and polite with the users of prehistoric platforms
mquinson [Wed, 15 Dec 2004 20:33:08 +0000 (20:33 +0000)]
Let's keep cool and polite with the users of prehistoric platforms

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

15 years agoWell, some things really are deprecated. Especially those that enable to
alegrand [Wed, 15 Dec 2004 06:58:26 +0000 (06:58 +0000)]
Well, some things really are deprecated. Especially those that enable to
build a platform by hand. Therefore, there is no more need for links... just
process executing on hosts and working on tasks.

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

15 years agoStarting MSG. To ensure backward compability, those two headers won't really
alegrand [Wed, 15 Dec 2004 06:20:08 +0000 (06:20 +0000)]
Starting MSG. To ensure backward compability, those two headers won't really
change.

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

15 years agowhen using doubles, %lg should be used for scanf and %g for printf (which is
alegrand [Wed, 15 Dec 2004 06:14:07 +0000 (06:14 +0000)]
when using doubles, %lg should be used for scanf and %g for printf (which is
weird because it means printf does not make any difference between float and
double). However %lg also works for printf. So let's keep it uniform and
we'll change that if we ever find a machine where it does not work.

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

15 years agogenerate an helper script to make it work on win32
mquinson [Tue, 14 Dec 2004 21:29:07 +0000 (21:29 +0000)]
generate an helper script to make it work on win32

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

15 years agodo not configure by default since I know cross-compile using VPATH
mquinson [Tue, 14 Dec 2004 21:28:16 +0000 (21:28 +0000)]
do not configure by default since I know cross-compile using VPATH

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

15 years agoMake it work on win32; use the portable errno on socks; fix a bug revealed by the...
mquinson [Tue, 14 Dec 2004 21:26:50 +0000 (21:26 +0000)]
Make it work on win32; use the portable errno on socks; fix a bug revealed by the win port (but existing for all ports)

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

15 years agoSorry for those stupid assert.
alegrand [Tue, 14 Dec 2004 21:21:26 +0000 (21:21 +0000)]
Sorry for those stupid assert.

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

15 years agoadded a debug msg
mquinson [Tue, 14 Dec 2004 21:19:27 +0000 (21:19 +0000)]
added a debug msg

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

15 years agocheck for the functions we need; generate and chmod +x the helper scripts we need
mquinson [Tue, 14 Dec 2004 21:18:05 +0000 (21:18 +0000)]
check for the functions we need; generate and chmod +x the helper scripts we need

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

15 years agoMake it work on win32 ; some more debug msgs
mquinson [Tue, 14 Dec 2004 21:16:14 +0000 (21:16 +0000)]
Make it work on win32 ; some more debug msgs

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

15 years agocross-compile support: append '.exe' to the binary names we want to start when on...
mquinson [Tue, 14 Dec 2004 21:14:05 +0000 (21:14 +0000)]
cross-compile support: append '.exe' to the binary names we want to start when on win32

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

15 years agosupport for wine testsuite execution: do not run the helper scripts from within wine...
mquinson [Tue, 14 Dec 2004 21:11:04 +0000 (21:11 +0000)]
support for wine testsuite execution: do not run the helper scripts from within wine. Note to self: this script becomes ways too hairly and should be 'reworked' from scratch

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

15 years agoinitialize winsock; support multiple calls to init/exit functions (should be generali...
mquinson [Tue, 14 Dec 2004 21:06:25 +0000 (21:06 +0000)]
initialize winsock; support multiple calls to init/exit functions (should be generalized); useless but numerous cosmetics and picky changes

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

15 years agocleanup for the upcoming release
mquinson [Tue, 14 Dec 2004 21:03:32 +0000 (21:03 +0000)]
cleanup for the upcoming release

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

15 years agoMake sure HAVE_WINSOCK_H is defined even if only version 2 since it's the used sentin...
mquinson [Tue, 14 Dec 2004 21:01:59 +0000 (21:01 +0000)]
Make sure HAVE_WINSOCK_H is defined even if only version 2 since it's the used sentinel; define portable way to retrieve errno and errstr with sockets

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

15 years agosome more possible logs (printf is the only way to debug cross-compile so far)
mquinson [Tue, 14 Dec 2004 21:00:10 +0000 (21:00 +0000)]
some more possible logs (printf is the only way to debug cross-compile so far)

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

15 years agouse gras_exit, not only xbt_exit
mquinson [Tue, 14 Dec 2004 20:59:20 +0000 (20:59 +0000)]
use gras_exit, not only xbt_exit

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

15 years agoCompile pas avec les warnings, sinon
mquinson [Tue, 14 Dec 2004 20:58:26 +0000 (20:58 +0000)]
Compile pas avec les warnings, sinon

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

15 years agoAdding a context library to xbt.
alegrand [Tue, 14 Dec 2004 19:04:58 +0000 (19:04 +0000)]
Adding a context library to xbt.

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

15 years agocosmetic
mquinson [Sun, 12 Dec 2004 18:49:24 +0000 (18:49 +0000)]
cosmetic

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

15 years agoNo more use of abort.
alegrand [Sat, 11 Dec 2004 05:06:28 +0000 (05:06 +0000)]
No more use of abort.

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

15 years agoNo more xbt_maxmin_float_t not xbt_heap_float_t. I use double everywhere. In
alegrand [Sat, 11 Dec 2004 00:12:07 +0000 (00:12 +0000)]
No more xbt_maxmin_float_t not xbt_heap_float_t. I use double everywhere. In
SimGrid 2 I had to use long double for precision reason. Probably because of
the trace integration but I should not need it anymore since there is no
more trace integration. The real question is "is double sufficient for time
values". The answer is yes since for values larger than 272 years, you still
have a precision of 1e-6 s. float is clearly not sufficient however. Let's
use doubles then !

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

15 years agobuglet and improvement
mquinson [Fri, 10 Dec 2004 15:43:40 +0000 (15:43 +0000)]
buglet and improvement

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

15 years agoFix the semantic (gras_os_time returns seconds, not microseconds)
mquinson [Fri, 10 Dec 2004 15:33:56 +0000 (15:33 +0000)]
Fix the semantic (gras_os_time returns seconds, not microseconds)

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

15 years agoFix the semantic (gras_os_time returns seconds); Fix output (I didn't understood...
mquinson [Fri, 10 Dec 2004 15:30:30 +0000 (15:30 +0000)]
Fix the semantic (gras_os_time returns seconds); Fix output (I didn't understood the subtility of the cast to double by adding 0.0)

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

15 years agoAdd a blurb on cross-compiling lin->win
mquinson [Fri, 10 Dec 2004 15:24:58 +0000 (15:24 +0000)]
Add a blurb on cross-compiling lin->win

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

15 years agoglanced rapidely
mquinson [Fri, 10 Dec 2004 12:00:45 +0000 (12:00 +0000)]
glanced rapidely

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

15 years agorun_tests now run tests from their directory. But for how long?
mquinson [Fri, 10 Dec 2004 12:00:04 +0000 (12:00 +0000)]
run_tests now run tests from their directory. But for how long?

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

15 years agoignore crufty lex results
mquinson [Fri, 10 Dec 2004 11:58:54 +0000 (11:58 +0000)]
ignore crufty lex results

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

15 years agorun the testsuite with wine if needed (will certainly break on cygwin, but who use...
mquinson [Fri, 10 Dec 2004 11:57:07 +0000 (11:57 +0000)]
run the testsuite with wine if needed (will certainly break on cygwin, but who use it?);some crufty workaround to call the tests from their own directory (surf tests expect this)

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

15 years agoadd portable.h (headers to include to program in a portable manner, for internal...
mquinson [Fri, 10 Dec 2004 11:54:18 +0000 (11:54 +0000)]
add portable.h (headers to include to program in a portable manner, for internal use); add gras.c (containing gras_init); declare that libgrasrl depends on winsock when on BillWare

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

15 years agodefine gras_init
mquinson [Fri, 10 Dec 2004 11:52:22 +0000 (11:52 +0000)]
define gras_init

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

15 years agouse gras_init. xbt_init is not enough
mquinson [Fri, 10 Dec 2004 11:52:04 +0000 (11:52 +0000)]
use gras_init. xbt_init is not enough

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

15 years agofirst work on the cross-compilation
mquinson [Fri, 10 Dec 2004 11:51:31 +0000 (11:51 +0000)]
first work on the cross-compilation

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

15 years agoEnsure portability to win32 using the gras_os_functions :) Beware, gras_os_time resol...
mquinson [Fri, 10 Dec 2004 11:47:34 +0000 (11:47 +0000)]
Ensure portability to win32 using the gras_os_functions :) Beware, gras_os_time resolution is 1sec on win32 (and as good as gettimeofday on modern platforms)

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

15 years agodefine max only when not previously defined (win32 defines it); move xbt_abort to...
mquinson [Fri, 10 Dec 2004 11:45:38 +0000 (11:45 +0000)]
define max only when not previously defined (win32 defines it); move xbt_abort to a more logical header (sysdep->error); fix some (c) dates

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

15 years agotest local version of gras, not the installed one; use gras_init now that it exists...
mquinson [Fri, 10 Dec 2004 11:43:16 +0000 (11:43 +0000)]
test local version of gras, not the installed one; use gras_init now that it exists (again); fix some (c) dates

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

15 years agotest local version of gras, not the installed one; more verbose messages on errors...
mquinson [Fri, 10 Dec 2004 11:42:21 +0000 (11:42 +0000)]
test local version of gras, not the installed one; more verbose messages on errors encountered during cross-port

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

15 years agofix some (c) dates; do test the local version of gras, not the installed one; cleanup...
mquinson [Fri, 10 Dec 2004 11:41:11 +0000 (11:41 +0000)]
fix some (c) dates; do test the local version of gras, not the installed one; cleanup in the headers

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

15 years agoEnsure portability to win32 using the gras_os_functions :)
mquinson [Fri, 10 Dec 2004 11:40:17 +0000 (11:40 +0000)]
Ensure portability to win32 using the gras_os_functions :)

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

15 years agoCompile pas cte merde :)
mquinson [Fri, 10 Dec 2004 11:37:39 +0000 (11:37 +0000)]
Compile pas cte merde :)

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

15 years agofix (C) dates
mquinson [Fri, 10 Dec 2004 06:53:40 +0000 (06:53 +0000)]
fix (C) dates

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

15 years agoThere is now a proper gras_init function
mquinson [Fri, 10 Dec 2004 06:53:31 +0000 (06:53 +0000)]
There is now a proper gras_init function

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

15 years agoremove gras from the xbt
mquinson [Fri, 10 Dec 2004 06:53:07 +0000 (06:53 +0000)]
remove gras from the xbt

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