Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
10 years agoAdd boost dependency
Paul Bédaride [Mon, 18 Nov 2013 12:24:49 +0000 (13:24 +0100)]
Add boost dependency

10 years agoFix int overflow on 32 arch
Paul Bédaride [Mon, 18 Nov 2013 09:30:31 +0000 (10:30 +0100)]
Fix int overflow on 32 arch

10 years agoFix release date for version 3.10.
Arnaud Giersch [Sat, 16 Nov 2013 23:27:44 +0000 (00:27 +0100)]
Fix release date for version 3.10.
(cherry picked from commit 9a82cac1b6f73bb342495c39807acd7380e153d5)

10 years agoPrepare to release version 3.10.
Arnaud Giersch [Fri, 15 Nov 2013 15:57:35 +0000 (16:57 +0100)]
Prepare to release version 3.10.
(cherry picked from commit 00b77bafc73176abca8c460514111bfde18c2e46)

Conflicts:
CMakeLists.txt
ChangeLog

10 years agoSome constants need to be defined as static variables in Fortran.
Arnaud Giersch [Fri, 15 Nov 2013 22:25:21 +0000 (23:25 +0100)]
Some constants need to be defined as static variables in Fortran.

See for example section 2.5.4 (Named constants) of the MPI2 standard.
http://www.mcs.anl.gov/research/projects/mpi/mpi-standard/mpi-report-2.0/node13.htm

10 years agoCosmetics: CPPFlags are for cpp, talk about CXXFlags for c++.
Arnaud Giersch [Fri, 15 Nov 2013 15:42:32 +0000 (16:42 +0100)]
Cosmetics: CPPFlags are for cpp, talk about CXXFlags for c++.

10 years agoFix c++ issue with variable set in class body
Paul Bédaride [Fri, 15 Nov 2013 17:01:01 +0000 (18:01 +0100)]
Fix c++ issue with variable set in class body

10 years agoFix C++ options
Paul Bédaride [Fri, 15 Nov 2013 16:41:09 +0000 (17:41 +0100)]
Fix C++ options

10 years agoFix smpi issue
Paul Bédaride [Fri, 15 Nov 2013 16:02:48 +0000 (17:02 +0100)]
Fix smpi issue

10 years agoFix DefinePackage.cmake
Paul Bédaride [Fri, 15 Nov 2013 15:40:25 +0000 (16:40 +0100)]
Fix DefinePackage.cmake

10 years agoAdd missing files
Paul Bédaride [Fri, 15 Nov 2013 14:34:11 +0000 (15:34 +0100)]
Add missing files

10 years agoRemove old surf C files
Paul Bédaride [Fri, 15 Nov 2013 14:31:42 +0000 (15:31 +0100)]
Remove old surf C files

10 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Paul Bédaride [Fri, 15 Nov 2013 14:28:07 +0000 (15:28 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

10 years agoMerge branch 'surf++'
Paul Bédaride [Fri, 15 Nov 2013 14:27:48 +0000 (15:27 +0100)]
Merge branch 'surf++'

Conflicts:
src/include/surf/surf.h
src/instr/instr_private.h
src/simix/smx_smurf_private.h
src/smpi/smpi_bench.c
src/surf/workstation.c

10 years agoVariable exists only with SMPI_F2C.
Arnaud Giersch [Fri, 15 Nov 2013 13:58:57 +0000 (14:58 +0100)]
Variable exists only with SMPI_F2C.

10 years agoMerge branch 'hypervisor' into surf++
Paul Bédaride [Fri, 15 Nov 2013 13:06:27 +0000 (14:06 +0100)]
Merge branch 'hypervisor' into surf++

Conflicts:
.cproject
buildtools/Cmake/DefinePackages.cmake
src/include/surf/surf.h
src/simix/smx_global.c
src/simix/smx_host.c
src/simix/smx_host_private.h
src/simix/smx_io.c
src/simix/smx_network.c
src/simix/smx_new_api.c
src/simix/smx_process.c
src/simix/smx_smurf_private.h
src/simix/smx_synchro.c
src/surf/cpu_cas01.c
src/surf/cpu_cas01_private.h
src/surf/cpu_ti.c
src/surf/network.c
src/surf/network_constant.c
src/surf/network_gtnets.c
src/surf/new_model.c
src/surf/storage.c
src/surf/surf.c
src/surf/surf_action.c
src/surf/surf_private.h
src/surf/workstation.c
testsuite/surf/surf_usage.c

10 years agoSet smpi_currenk_rank at process init too.
Arnaud Giersch [Fri, 15 Nov 2013 10:48:03 +0000 (11:48 +0100)]
Set smpi_currenk_rank at process init too.

The goal here, is that f77 common variables are correctly referenced,
even before mpi_init.

10 years agoInitialize common variable.
Arnaud Giersch [Fri, 15 Nov 2013 10:45:57 +0000 (11:45 +0100)]
Initialize common variable.

10 years agoDie on error.
Arnaud Giersch [Fri, 15 Nov 2013 09:12:02 +0000 (10:12 +0100)]
Die on error.

10 years agoFix confusion between bindir and srcdir.
Arnaud Giersch [Fri, 15 Nov 2013 09:02:47 +0000 (10:02 +0100)]
Fix confusion between bindir and srcdir.

10 years agoUse %f to print simulation time like in xbt_log, and get the same precision.
Arnaud Giersch [Fri, 15 Nov 2013 08:57:40 +0000 (09:57 +0100)]
Use %f to print simulation time like in xbt_log, and get the same precision.

10 years agoforgot a few things in preview commit
Augustin Degomme [Fri, 15 Nov 2013 00:11:48 +0000 (01:11 +0100)]
forgot a few things in preview commit

10 years agofreebsd reports amd64 instead of AMD64, and cmake string matching is string sensitive
Augustin Degomme [Thu, 14 Nov 2013 23:54:20 +0000 (00:54 +0100)]
freebsd reports amd64 instead of AMD64, and cmake string matching is string sensitive

10 years agoForce parallel tests to use posix when futexes are not supported, as busy_wait can...
Augustin Degomme [Thu, 14 Nov 2013 23:43:56 +0000 (00:43 +0100)]
Force parallel tests to use posix when futexes are not supported, as busy_wait can be slow if nb_cores < nb_workers

10 years agoRemove any reference to mergesort.
Arnaud Giersch [Thu, 14 Nov 2013 21:57:09 +0000 (22:57 +0100)]
Remove any reference to mergesort.

* it was in fact never used (see commit 7f6d42b)
* it's not standard
* according to http://www.freebsd.org/cgi/man.cgi?query=mergesort&sektion=3,
  - it may fail
  - it's generally slower than qsort
  - it has requirements on its parameter "size"
  - it requires additional memory

10 years agoavoid potential problems when tracing comms coming from any source,
Augustin Degomme [Thu, 14 Nov 2013 18:02:28 +0000 (19:02 +0100)]
avoid potential problems when tracing comms coming from any source,
whithout using status to track its origin.

10 years agothese terrible sort operators were working everywhere except on bsd, where qsort...
Augustin Degomme [Thu, 14 Nov 2013 18:00:54 +0000 (19:00 +0100)]
these terrible sort operators were working everywhere except on bsd, where qsort is stricter

10 years agoas this was not included, xbt_dynar_sort never used mergesort ..
Augustin Degomme [Thu, 14 Nov 2013 17:59:10 +0000 (18:59 +0100)]
as this was not included, xbt_dynar_sort never used mergesort ..
we should check if we don't forget it elsewhere

10 years agoStupid typo.
Arnaud Giersch [Thu, 14 Nov 2013 17:57:03 +0000 (18:57 +0100)]
Stupid typo.

10 years agoDeal with empty args.
Arnaud Giersch [Thu, 14 Nov 2013 12:24:06 +0000 (13:24 +0100)]
Deal with empty args.

10 years agomake sure nothing bad happens here
Augustin Degomme [Wed, 13 Nov 2013 15:45:11 +0000 (16:45 +0100)]
make sure nothing bad happens here

10 years agoRewrite smpi build scripts to deal with file names containing spaces.
Arnaud Giersch [Wed, 13 Nov 2013 15:06:00 +0000 (16:06 +0100)]
Rewrite smpi build scripts to deal with file names containing spaces.

Retain sh compatibility.

More work is still needed to make it work completely:
- cmake substitutions don't escape spaces (e.g. @INCLUDEARGS@)
- smpif2c breaks with spaces in file names

10 years agoBe more precise about memory leaks in ChangeLog.
Arnaud Giersch [Tue, 12 Nov 2013 22:43:38 +0000 (23:43 +0100)]
Be more precise about memory leaks in ChangeLog.

10 years agomissing declaration
suter [Wed, 13 Nov 2013 14:46:05 +0000 (15:46 +0100)]
missing declaration

10 years agoSSIZE might by misunderstood with Signed Size, use SGSTSIZE (this one is
suter [Wed, 13 Nov 2013 14:03:06 +0000 (15:03 +0100)]
SSIZE might by misunderstood with Signed Size, use SGSTSIZE (this one is
obvious ;)) instead

10 years agousing uint64 is pointless when casted to size_t by simcalls, define
suter [Wed, 13 Nov 2013 13:58:51 +0000 (14:58 +0100)]
using uint64 is pointless when casted to size_t by simcalls, define
TSSIZE to address this

10 years agolabel doesn't match information
suter [Wed, 13 Nov 2013 13:12:55 +0000 (14:12 +0100)]
label doesn't match information

10 years agocleaning up my mess about changing teshsuite test name
suter [Wed, 13 Nov 2013 12:04:00 +0000 (13:04 +0100)]
cleaning up my mess about changing teshsuite test name

10 years agonew storage example and its tesh file
suter [Wed, 13 Nov 2013 11:55:42 +0000 (12:55 +0100)]
new storage example and its tesh file

10 years agofixing file remane. psize is freed by dict_remove, can't be used in
suter [Wed, 13 Nov 2013 11:47:31 +0000 (12:47 +0100)]
fixing file remane. psize is freed by dict_remove, can't be used in
dict_set afterwards

10 years agocosmetic
suter [Wed, 13 Nov 2013 11:31:35 +0000 (12:31 +0100)]
cosmetic

10 years agohere was the leak!
suter [Wed, 13 Nov 2013 11:29:57 +0000 (12:29 +0100)]
here was the leak!

10 years agoyet another update
suter [Wed, 13 Nov 2013 09:52:24 +0000 (10:52 +0100)]
yet another update

10 years agorevalidation
suter [Wed, 13 Nov 2013 09:15:35 +0000 (10:15 +0100)]
revalidation

10 years agoadd new test on storage
suter [Wed, 13 Nov 2013 09:15:03 +0000 (10:15 +0100)]
add new test on storage

10 years agoupdate storage.xml to prepare the field for the new example. impacts
suter [Wed, 13 Nov 2013 09:10:57 +0000 (10:10 +0100)]
update storage.xml to prepare the field for the new example. impacts
io.tesh, hence revalidation

10 years agovarious modifications
suter [Fri, 8 Nov 2013 22:38:13 +0000 (23:38 +0100)]
various modifications

10 years agono need for const here
suter [Fri, 8 Nov 2013 20:53:29 +0000 (21:53 +0100)]
no need for const here

10 years agoerror during modification
suter [Fri, 8 Nov 2013 20:43:09 +0000 (21:43 +0100)]
error during modification

10 years agoupdate storage.xml to have two disks on denise
suter [Fri, 8 Nov 2013 20:33:41 +0000 (21:33 +0100)]
update storage.xml to have two disks on denise

10 years agocompile new example
suter [Fri, 8 Nov 2013 20:33:09 +0000 (21:33 +0100)]
compile new example

10 years agorename files in teshsuite to prevent conflicts with example
suter [Fri, 8 Nov 2013 20:11:23 +0000 (21:11 +0100)]
rename files in teshsuite to prevent conflicts with example

10 years agoInitialize variables.
Arnaud Giersch [Tue, 12 Nov 2013 21:15:05 +0000 (22:15 +0100)]
Initialize variables.

10 years agoUse more conventional loop constructs.
Arnaud Giersch [Tue, 12 Nov 2013 21:10:40 +0000 (22:10 +0100)]
Use more conventional loop constructs.

10 years agoUsing strings of different lengths with tr is unspecified.
Arnaud Giersch [Tue, 12 Nov 2013 21:01:50 +0000 (22:01 +0100)]
Using strings of different lengths with tr is unspecified.

10 years agoInitialize variable.
Arnaud Giersch [Tue, 12 Nov 2013 15:23:28 +0000 (16:23 +0100)]
Initialize variable.

10 years ago(attempt to) fix fortran build on systems where sh!=bash
Augustin Degomme [Tue, 12 Nov 2013 17:26:51 +0000 (18:26 +0100)]
(attempt to) fix fortran build on systems where sh!=bash

10 years agosome files that are created on windows have \r to trim as well
Augustin Degomme [Tue, 12 Nov 2013 16:54:49 +0000 (17:54 +0100)]
some files that are created on windows have \r to trim as well

10 years agoFrom M.Volat : make smpi scripts sh-compliants to avoid the need to hack with env...
Augustin Degomme [Tue, 12 Nov 2013 14:23:54 +0000 (15:23 +0100)]
From M.Volat : make smpi scripts sh-compliants to avoid the need to hack with env and depend on bash

10 years agofix win build
Augustin Degomme [Tue, 12 Nov 2013 14:15:55 +0000 (15:15 +0100)]
fix win build

10 years agoCosmetics: add space before words.
Arnaud Giersch [Sat, 9 Nov 2013 22:02:56 +0000 (23:02 +0100)]
Cosmetics: add space before words.

10 years agoMerge tag 'v3_10_rc2'
Arnaud Giersch [Fri, 8 Nov 2013 23:00:32 +0000 (00:00 +0100)]
Merge tag 'v3_10_rc2'

Conflicts:
CMakeLists.txt
ChangeLog

10 years agoRelease version 3.10-rc2. v3_10_rc2
Arnaud Giersch [Fri, 8 Nov 2013 22:55:41 +0000 (23:55 +0100)]
Release version 3.10-rc2.

10 years agoThis part is not relevant anymore.
Arnaud Giersch [Fri, 8 Nov 2013 22:53:10 +0000 (23:53 +0100)]
This part is not relevant anymore.

10 years agoGive smpiff the directory to libf2c.
Arnaud Giersch [Fri, 8 Nov 2013 22:04:03 +0000 (23:04 +0100)]
Give smpiff the directory to libf2c.
(cherry picked from commit 1848d40fafafab07f8c798116d5c507065f4c97b)

10 years agoDon't add include directories when f77 support is disabled.
Arnaud Giersch [Fri, 8 Nov 2013 22:03:10 +0000 (23:03 +0100)]
Don't add include directories when f77 support is disabled.
(cherry picked from commit 482244d2827841bb565348470beb8167c7558337)

10 years agoTry to fix temp file creation.
Arnaud Giersch [Fri, 8 Nov 2013 16:49:41 +0000 (17:49 +0100)]
Try to fix temp file creation.
(cherry picked from commit 0be4d91dea4f9aeb5e9e298dc579d4ba2b03a2b7)

10 years agoGive smpiff the directory to libf2c.
Arnaud Giersch [Fri, 8 Nov 2013 22:04:03 +0000 (23:04 +0100)]
Give smpiff the directory to libf2c.

10 years agoDon't add include directories when f77 support is disabled.
Arnaud Giersch [Fri, 8 Nov 2013 22:03:10 +0000 (23:03 +0100)]
Don't add include directories when f77 support is disabled.

10 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Pierre Veyre [Fri, 8 Nov 2013 17:48:37 +0000 (18:48 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

10 years agoUpdate MSG_storage_file_rename
Pierre Veyre [Fri, 8 Nov 2013 17:47:50 +0000 (18:47 +0100)]
Update MSG_storage_file_rename
Add a msg storage example

10 years agoTry to fix temp file creation.
Arnaud Giersch [Fri, 8 Nov 2013 16:49:41 +0000 (17:49 +0100)]
Try to fix temp file creation.

10 years agoMerge branch 'hypervisor' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid...
Paul Bédaride [Fri, 8 Nov 2013 12:24:16 +0000 (13:24 +0100)]
Merge branch 'hypervisor' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid into hypervisor

10 years agoMerge tag 'v3_9_90' into hypervisor
Paul Bédaride [Fri, 8 Nov 2013 10:50:47 +0000 (11:50 +0100)]
Merge tag 'v3_9_90' into hypervisor

Conflicts:
include/msg/msg.h
include/simgrid/simix.h
src/include/surf/surf.h
src/msg/msg_global.c
src/msg/msg_host.c
src/msg/msg_private.h
src/msg/msg_process.c
src/simix/smx_host.c
src/simix/smx_host_private.h
src/simix/smx_smurf_private.h
src/surf/cpu_cas01.c
src/surf/cpu_cas01_private.h
src/surf/cpu_ti.c
src/surf/surf.c
src/surf/workstation.c

10 years agobe a little more tricky and hopefully more portable
Augustin Degomme [Fri, 8 Nov 2013 00:12:20 +0000 (01:12 +0100)]
be a little more tricky and hopefully more portable
(cherry picked from commit 3e7047f7353ca1853d3eb5415264714a0315a8d4)

10 years agomore bash->sh changes
Augustin Degomme [Thu, 7 Nov 2013 23:47:06 +0000 (00:47 +0100)]
more bash->sh changes
(cherry picked from commit 65f30b16e0e4b23e41c6306290bc3f04f66986a8)

10 years agothanks to Matthieu Volat, freebsd build may work again. If it doesn't, blame him
Augustin Degomme [Thu, 7 Nov 2013 23:08:30 +0000 (00:08 +0100)]
thanks to Matthieu Volat, freebsd build may work again. If it doesn't, blame him
(cherry picked from commit afa65d266d24d09dce77e5a2e40dec5abdd791b7)

10 years agoflto has not the right effect with clang
Augustin Degomme [Thu, 7 Nov 2013 23:02:22 +0000 (00:02 +0100)]
flto has not the right effect with clang
(cherry picked from commit 56d1e384b07f2eacd980c30a447504cdf5f1d6ef)

10 years agoI blame someone else for this
Augustin Degomme [Thu, 7 Nov 2013 22:28:18 +0000 (23:28 +0100)]
I blame someone else for this
(cherry picked from commit 9e330fa625482e41928374164d70cdd209f3f0c7)

10 years agoAdd MSG_file_rename function
Pierre Veyre [Fri, 8 Nov 2013 08:56:05 +0000 (09:56 +0100)]
Add MSG_file_rename function

10 years agobe a little more tricky and hopefully more portable
Augustin Degomme [Fri, 8 Nov 2013 00:12:20 +0000 (01:12 +0100)]
be a little more tricky and hopefully more portable

10 years agomore bash->sh changes
Augustin Degomme [Thu, 7 Nov 2013 23:47:06 +0000 (00:47 +0100)]
more bash->sh changes

10 years agothanks to Matthieu Volat, freebsd build may work again. If it doesn't, blame him
Augustin Degomme [Thu, 7 Nov 2013 23:08:30 +0000 (00:08 +0100)]
thanks to Matthieu Volat, freebsd build may work again. If it doesn't, blame him

10 years agoflto has not the right effect with clang
Augustin Degomme [Thu, 7 Nov 2013 23:02:22 +0000 (00:02 +0100)]
flto has not the right effect with clang

10 years agoI blame someone else for this
Augustin Degomme [Thu, 7 Nov 2013 22:28:18 +0000 (23:28 +0100)]
I blame someone else for this

10 years agoSupport for F90 also needs f2c.
Arnaud Giersch [Thu, 7 Nov 2013 21:15:10 +0000 (22:15 +0100)]
Support for F90 also needs f2c.
(cherry picked from commit 433246799eb9913ddb7d902cc1147a39215ee60a)

10 years agoSupport for F90 also needs f2c.
Arnaud Giersch [Thu, 7 Nov 2013 21:15:10 +0000 (22:15 +0100)]
Support for F90 also needs f2c.

10 years agoLook for gfortran before enabling support for smpif90.
Arnaud Giersch [Thu, 7 Nov 2013 20:45:53 +0000 (21:45 +0100)]
Look for gfortran before enabling support for smpif90.
(cherry picked from commit 85b2dce67ce8e0e1b4c68f6fbbf4d6f427bca3ff)

10 years agoLook for gfortran before enabling support for smpif90.
Arnaud Giersch [Thu, 7 Nov 2013 20:45:53 +0000 (21:45 +0100)]
Look for gfortran before enabling support for smpif90.

10 years agoName the release (following frs69wq's advice).
Arnaud Giersch [Thu, 7 Nov 2013 16:48:07 +0000 (17:48 +0100)]
Name the release (following frs69wq's advice).
(cherry picked from commit 1028bf295229d3a5c75a74b910ca34000d40bb79)

10 years agoName the release (following frs69wq's advice).
Arnaud Giersch [Thu, 7 Nov 2013 16:48:07 +0000 (17:48 +0100)]
Name the release (following frs69wq's advice).

10 years agoFree group_lookup at finalize.
Arnaud Giersch [Thu, 7 Nov 2013 16:23:15 +0000 (17:23 +0100)]
Free group_lookup at finalize.

Also remove useless assignments: variable are already reset to NULL
by xbt_dict_free.
(cherry picked from commit 078e59c8562f1a12a828b8197689c1843d0b6e07)

10 years agoFree group_lookup at finalize.
Arnaud Giersch [Thu, 7 Nov 2013 16:23:15 +0000 (17:23 +0100)]
Free group_lookup at finalize.

Also remove useless assignments: variable are already reset to NULL
by xbt_dict_free.

10 years agoFix a segmentation fault at set_affinity
Takahiro Hirofuchi [Thu, 7 Nov 2013 15:08:08 +0000 (16:08 +0100)]
Fix a segmentation fault at set_affinity

10 years agoAdd comments and update an example.
Takahiro Hirofuchi [Thu, 7 Nov 2013 15:07:18 +0000 (16:07 +0100)]
Add comments and update an example.

10 years agothis test used too much memory for build slaves, divide by 4 the buffer size
Augustin Degomme [Thu, 7 Nov 2013 12:35:16 +0000 (13:35 +0100)]
this test used too much memory for build slaves, divide by 4 the buffer size
(cherry picked from commit b60816bd929521783f045ec907fd540efda16e9f)

10 years agothis test used too much memory for build slaves, divide by 4 the buffer size
Augustin Degomme [Thu, 7 Nov 2013 12:35:16 +0000 (13:35 +0100)]
this test used too much memory for build slaves, divide by 4 the buffer size

10 years agoFix build of jar file with cmake >= 3.12 (try #2).
Arnaud Giersch [Thu, 7 Nov 2013 13:47:40 +0000 (14:47 +0100)]
Fix build of jar file with cmake >= 3.12 (try #2).
(cherry picked from commit 7727ed2b76d9fac788bf6bdefbbf49a0425a10e8)

10 years agoFix build of jar file with cmake >= 3.12 (try #2).
Arnaud Giersch [Thu, 7 Nov 2013 13:47:40 +0000 (14:47 +0100)]
Fix build of jar file with cmake >= 3.12 (try #2).

10 years agoRevert "clean the build of the jarfile so that it works with cmake >= 2.8.12 too"
Arnaud Giersch [Thu, 7 Nov 2013 13:46:45 +0000 (14:46 +0100)]
Revert "clean the build of the jarfile so that it works with cmake >= 2.8.12 too"

This reverts commit 9d40a7a7a470739d02bf4ad99c21ff55b4c9fe2b.