Arnaud Giersch [Mon, 18 Nov 2013 21:19:00 +0000 (22:19 +0100)]
Use unsigned long long instead of uint64_t for sg_size_t.
It's at least 64bits long, and the printf/scanf format is prettier/easier to write.
Arnaud Giersch [Mon, 18 Nov 2013 21:17:26 +0000 (22:17 +0100)]
Fix comment.
Arnaud Giersch [Mon, 18 Nov 2013 17:13:41 +0000 (18:13 +0100)]
Cast value to correct type before op.
Arnaud Giersch [Mon, 18 Nov 2013 17:04:26 +0000 (18:04 +0100)]
Add environment variables CXXFLAGS to CMAKE_CXX_FLAGS.
Arnaud Giersch [Mon, 18 Nov 2013 16:48:13 +0000 (17:48 +0100)]
Include Boost directories once they're found.
Paul Bédaride [Mon, 18 Nov 2013 15:43:50 +0000 (16:43 +0100)]
Change sg_storage_size_t to sg_size_t and fix surf network bug
Paul Bédaride [Mon, 18 Nov 2013 12:24:49 +0000 (13:24 +0100)]
Add boost dependency
Paul Bédaride [Mon, 18 Nov 2013 09:30:31 +0000 (10:30 +0100)]
Fix int overflow on 32 arch
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)
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
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
Arnaud Giersch [Fri, 15 Nov 2013 15:42:32 +0000 (16:42 +0100)]
Cosmetics: CPPFlags are for cpp, talk about CXXFlags for c++.
Paul Bédaride [Fri, 15 Nov 2013 17:01:01 +0000 (18:01 +0100)]
Fix c++ issue with variable set in class body
Paul Bédaride [Fri, 15 Nov 2013 16:41:09 +0000 (17:41 +0100)]
Fix C++ options
Paul Bédaride [Fri, 15 Nov 2013 16:02:48 +0000 (17:02 +0100)]
Fix smpi issue
Paul Bédaride [Fri, 15 Nov 2013 15:40:25 +0000 (16:40 +0100)]
Fix DefinePackage.cmake
Paul Bédaride [Fri, 15 Nov 2013 14:34:11 +0000 (15:34 +0100)]
Add missing files
Paul Bédaride [Fri, 15 Nov 2013 14:31:42 +0000 (15:31 +0100)]
Remove old surf C files
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
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
Arnaud Giersch [Fri, 15 Nov 2013 13:58:57 +0000 (14:58 +0100)]
Variable exists only with SMPI_F2C.
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
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.
Arnaud Giersch [Fri, 15 Nov 2013 10:45:57 +0000 (11:45 +0100)]
Initialize common variable.
Arnaud Giersch [Fri, 15 Nov 2013 09:12:02 +0000 (10:12 +0100)]
Die on error.
Arnaud Giersch [Fri, 15 Nov 2013 09:02:47 +0000 (10:02 +0100)]
Fix confusion between bindir and srcdir.
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.
Augustin Degomme [Fri, 15 Nov 2013 00:11:48 +0000 (01:11 +0100)]
forgot a few things in preview commit
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
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
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
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.
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
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
Arnaud Giersch [Thu, 14 Nov 2013 17:57:03 +0000 (18:57 +0100)]
Stupid typo.
Arnaud Giersch [Thu, 14 Nov 2013 12:24:06 +0000 (13:24 +0100)]
Deal with empty args.
Augustin Degomme [Wed, 13 Nov 2013 15:45:11 +0000 (16:45 +0100)]
make sure nothing bad happens here
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
Arnaud Giersch [Tue, 12 Nov 2013 22:43:38 +0000 (23:43 +0100)]
Be more precise about memory leaks in ChangeLog.
suter [Wed, 13 Nov 2013 14:46:05 +0000 (15:46 +0100)]
missing declaration
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
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
suter [Wed, 13 Nov 2013 13:12:55 +0000 (14:12 +0100)]
label doesn't match information
suter [Wed, 13 Nov 2013 12:04:00 +0000 (13:04 +0100)]
cleaning up my mess about changing teshsuite test name
suter [Wed, 13 Nov 2013 11:55:42 +0000 (12:55 +0100)]
new storage example and its tesh file
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
suter [Wed, 13 Nov 2013 11:31:35 +0000 (12:31 +0100)]
cosmetic
suter [Wed, 13 Nov 2013 11:29:57 +0000 (12:29 +0100)]
here was the leak!
suter [Wed, 13 Nov 2013 09:52:24 +0000 (10:52 +0100)]
yet another update
suter [Wed, 13 Nov 2013 09:15:35 +0000 (10:15 +0100)]
revalidation
suter [Wed, 13 Nov 2013 09:15:03 +0000 (10:15 +0100)]
add new test on storage
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
suter [Fri, 8 Nov 2013 22:38:13 +0000 (23:38 +0100)]
various modifications
suter [Fri, 8 Nov 2013 20:53:29 +0000 (21:53 +0100)]
no need for const here
suter [Fri, 8 Nov 2013 20:43:09 +0000 (21:43 +0100)]
error during modification
suter [Fri, 8 Nov 2013 20:33:41 +0000 (21:33 +0100)]
update storage.xml to have two disks on denise
suter [Fri, 8 Nov 2013 20:33:09 +0000 (21:33 +0100)]
compile new example
suter [Fri, 8 Nov 2013 20:11:23 +0000 (21:11 +0100)]
rename files in teshsuite to prevent conflicts with example
Arnaud Giersch [Tue, 12 Nov 2013 21:15:05 +0000 (22:15 +0100)]
Initialize variables.
Arnaud Giersch [Tue, 12 Nov 2013 21:10:40 +0000 (22:10 +0100)]
Use more conventional loop constructs.
Arnaud Giersch [Tue, 12 Nov 2013 21:01:50 +0000 (22:01 +0100)]
Using strings of different lengths with tr is unspecified.
Arnaud Giersch [Tue, 12 Nov 2013 15:23:28 +0000 (16:23 +0100)]
Initialize variable.
Augustin Degomme [Tue, 12 Nov 2013 17:26:51 +0000 (18:26 +0100)]
(attempt to) fix fortran build on systems where sh!=bash
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
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
Augustin Degomme [Tue, 12 Nov 2013 14:15:55 +0000 (15:15 +0100)]
fix win build
Arnaud Giersch [Sat, 9 Nov 2013 22:02:56 +0000 (23:02 +0100)]
Cosmetics: add space before words.
Arnaud Giersch [Fri, 8 Nov 2013 23:00:32 +0000 (00:00 +0100)]
Merge tag 'v3_10_rc2'
Conflicts:
CMakeLists.txt
ChangeLog
Arnaud Giersch [Fri, 8 Nov 2013 22:55:41 +0000 (23:55 +0100)]
Release version 3.10-rc2.
Arnaud Giersch [Fri, 8 Nov 2013 22:53:10 +0000 (23:53 +0100)]
This part is not relevant anymore.
Arnaud Giersch [Fri, 8 Nov 2013 22:04:03 +0000 (23:04 +0100)]
Give smpiff the directory to libf2c.
(cherry picked from commit
1848d40fafafab07f8c798116d5c507065f4c97b)
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)
Arnaud Giersch [Fri, 8 Nov 2013 16:49:41 +0000 (17:49 +0100)]
Try to fix temp file creation.
(cherry picked from commit
0be4d91dea4f9aeb5e9e298dc579d4ba2b03a2b7)
Arnaud Giersch [Fri, 8 Nov 2013 22:04:03 +0000 (23:04 +0100)]
Give smpiff the directory to libf2c.
Arnaud Giersch [Fri, 8 Nov 2013 22:03:10 +0000 (23:03 +0100)]
Don't add include directories when f77 support is disabled.
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
Pierre Veyre [Fri, 8 Nov 2013 17:47:50 +0000 (18:47 +0100)]
Update MSG_storage_file_rename
Add a msg storage example
Arnaud Giersch [Fri, 8 Nov 2013 16:49:41 +0000 (17:49 +0100)]
Try to fix temp file creation.
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
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
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)
Augustin Degomme [Thu, 7 Nov 2013 23:47:06 +0000 (00:47 +0100)]
more bash->sh changes
(cherry picked from commit
65f30b16e0e4b23e41c6306290bc3f04f66986a8)
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)
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)
Augustin Degomme [Thu, 7 Nov 2013 22:28:18 +0000 (23:28 +0100)]
I blame someone else for this
(cherry picked from commit
9e330fa625482e41928374164d70cdd209f3f0c7)
Pierre Veyre [Fri, 8 Nov 2013 08:56:05 +0000 (09:56 +0100)]
Add MSG_file_rename function
Augustin Degomme [Fri, 8 Nov 2013 00:12:20 +0000 (01:12 +0100)]
be a little more tricky and hopefully more portable
Augustin Degomme [Thu, 7 Nov 2013 23:47:06 +0000 (00:47 +0100)]
more bash->sh changes
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
Augustin Degomme [Thu, 7 Nov 2013 23:02:22 +0000 (00:02 +0100)]
flto has not the right effect with clang
Augustin Degomme [Thu, 7 Nov 2013 22:28:18 +0000 (23:28 +0100)]
I blame someone else for this
Arnaud Giersch [Thu, 7 Nov 2013 21:15:10 +0000 (22:15 +0100)]
Support for F90 also needs f2c.
(cherry picked from commit
433246799eb9913ddb7d902cc1147a39215ee60a)
Arnaud Giersch [Thu, 7 Nov 2013 21:15:10 +0000 (22:15 +0100)]
Support for F90 also needs f2c.
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)
Arnaud Giersch [Thu, 7 Nov 2013 20:45:53 +0000 (21:45 +0100)]
Look for gfortran before enabling support for smpif90.
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)
Arnaud Giersch [Thu, 7 Nov 2013 16:48:07 +0000 (17:48 +0100)]
Name the release (following frs69wq's advice).
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)
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.
Takahiro Hirofuchi [Thu, 7 Nov 2013 15:08:08 +0000 (16:08 +0100)]
Fix a segmentation fault at set_affinity