Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
5 years agoFix release date for version 3.10. v3_10
Arnaud Giersch [Sat, 16 Nov 2013 23:27:44 +0000 (00:27 +0100)]
Fix release date for version 3.10.

5 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.
(cherry picked from commit edd6d5b3fa9584a866953aecfe38faf90f27612e)

5 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.
(cherry picked from commit 69018fc50f3c15c11e86618a06e3a2f9fc6aeeb3)

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

5 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
(cherry picked from commit 07bacc793410c12a213226b8be422a67157dd9de)

5 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++.
(cherry picked from commit c515c12fa7a1d813b50596a5284a7d68457a2b7f)

5 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.

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

5 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.
(cherry picked from commit 048b8c7e8cec5ab24e17e087b5cf2a7571b97a1e)

5 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.
(cherry picked from commit 8b9696f20b03e9968251c7d4eb34061ef0ede759)

5 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
(cherry picked from commit 92035670d5948e603654fcd323cefbf5862e97d9)

5 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
(cherry picked from commit b5236e7e3b501a1d733be754804c5a6d9b7e3f65)

5 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
(cherry picked from commit 3ab8cc2efe1a4181e94fa1e833d9afc82c378dd5)

5 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
(cherry picked from commit d5c11dbc7ac52c97c04aee539dbf9e69a2a68f68)

5 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.
(cherry picked from commit 58edfe47ba68e2729d8a098423fd9237435108eb)

5 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
(cherry picked from commit 669819cc2941fc50b392676c61c4d54864502e45)

5 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
(cherry picked from commit a711dd87b26c358fe320b945ecb26c66d48f54f4)

5 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.
(cherry picked from commit c148bb1a988abab01dcf52b90bfe1df90517bf0f)

5 years agomissing declaration(cherry picked from commit 09ab388452ecf91fc0141f58eef3a51bbb00687f)
suter [Wed, 13 Nov 2013 14:46:05 +0000 (15:46 +0100)]
missing declaration(cherry picked from commit 09ab388452ecf91fc0141f58eef3a51bbb00687f)

5 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(cherry picked from commit 9552f59d760dcf5c6098798cf1110b97867dfcdb)

5 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(cherry picked from commit ccfa6d0d3efba3154c3e1e27f36ff0201de17b0b)

5 years agolabel doesn't match information(cherry picked from commit c61725a86f5c4b0aa90aa0e903d...
suter [Wed, 13 Nov 2013 13:12:55 +0000 (14:12 +0100)]
label doesn't match information(cherry picked from commit c61725a86f5c4b0aa90aa0e903d3ba60ecf44d21)

5 years agocleaning up my mess about changing teshsuite test name(cherry picked from commit...
suter [Wed, 13 Nov 2013 12:04:00 +0000 (13:04 +0100)]
cleaning up my mess about changing teshsuite test name(cherry picked from commit 8192ca5a44e0c066d76f7b0a1c006ade22ba0b32)

5 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
(cherry picked from commit 1dd092898af228adaf183f20e766fd48196bcda2)

5 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
(cherry picked from commit 8a5097daa6d84233438a73f34f02c8b086a8ff21)

5 years agocosmetic(cherry picked from commit a246b2d82b1adcd5f8fbaa5791b660d331d7209a)
suter [Wed, 13 Nov 2013 11:31:35 +0000 (12:31 +0100)]
cosmetic(cherry picked from commit a246b2d82b1adcd5f8fbaa5791b660d331d7209a)

5 years agohere was the leak!(cherry picked from commit 44db6a66549d1fc9831820cab2567e38716234f8)
suter [Wed, 13 Nov 2013 11:29:57 +0000 (12:29 +0100)]
here was the leak!(cherry picked from commit 44db6a66549d1fc9831820cab2567e38716234f8)

5 years agoyet another update(cherry picked from commit cf6a47ee6e6c3b4b884c577ba9d7324ae4f32783)
suter [Wed, 13 Nov 2013 09:52:24 +0000 (10:52 +0100)]
yet another update(cherry picked from commit cf6a47ee6e6c3b4b884c577ba9d7324ae4f32783)

5 years agorevalidation(cherry picked from commit b419217e489d4ae454acaa5874cc7f42414c83b9)
suter [Wed, 13 Nov 2013 09:15:35 +0000 (10:15 +0100)]
revalidation(cherry picked from commit b419217e489d4ae454acaa5874cc7f42414c83b9)

5 years agoadd new test on storage(cherry picked from commit 66e94d53b412baacfba90d45a99474644a3...
suter [Wed, 13 Nov 2013 09:15:03 +0000 (10:15 +0100)]
add new test on storage(cherry picked from commit 66e94d53b412baacfba90d45a99474644a3be775)

5 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(cherry picked from commit 6c05fba8daf5e02dbdfe10d7431f1ca3181823a6)

5 years agovarious modifications
suter [Fri, 8 Nov 2013 22:38:13 +0000 (23:38 +0100)]
various modifications
(cherry picked from commit eda6535d48453a3724a45e81eb6b4e473f6d5b22)

5 years agono need for const here
suter [Fri, 8 Nov 2013 20:53:29 +0000 (21:53 +0100)]
no need for const here
(cherry picked from commit 49288d92b2e6ae5e8df783feb397475dae25d753)

5 years agoerror during modification(cherry picked from commit ac3a4c06f30f861cef2a98f12f5a5d195...
suter [Fri, 8 Nov 2013 20:43:09 +0000 (21:43 +0100)]
error during modification(cherry picked from commit ac3a4c06f30f861cef2a98f12f5a5d195f922aeb)

5 years agoupdate storage.xml to have two disks on denise(cherry picked from commit c6a09c2eef19...
suter [Fri, 8 Nov 2013 20:33:41 +0000 (21:33 +0100)]
update storage.xml to have two disks on denise(cherry picked from commit c6a09c2eef1932b44c4c85564ce2c8327814102b)

5 years agocompile new example(cherry picked from commit 9a6d1a5f9568d67edc3871161782c2cc39586637)
suter [Fri, 8 Nov 2013 20:33:09 +0000 (21:33 +0100)]
compile new example(cherry picked from commit 9a6d1a5f9568d67edc3871161782c2cc39586637)

5 years agorename files in teshsuite to prevent conflicts with example(cherry picked from commit...
suter [Fri, 8 Nov 2013 20:11:23 +0000 (21:11 +0100)]
rename files in teshsuite to prevent conflicts with example(cherry picked from commit 6300ae8d420d347fc963eac60a4a793481ce996c)

5 years agoInitialize variables.
Arnaud Giersch [Tue, 12 Nov 2013 21:15:05 +0000 (22:15 +0100)]
Initialize variables.
(cherry picked from commit 7655578ae329f484a219af5eef138eb7ad10b997)

5 years agoUse more conventional loop constructs.
Arnaud Giersch [Tue, 12 Nov 2013 21:10:40 +0000 (22:10 +0100)]
Use more conventional loop constructs.
(cherry picked from commit 281c82411d0384fef85a37c39dc940ec2255f271)

5 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.
(cherry picked from commit 546aeb463c884feaec5e59ae877087aebcfbb98a)

5 years agoInitialize variable.
Arnaud Giersch [Tue, 12 Nov 2013 15:23:28 +0000 (16:23 +0100)]
Initialize variable.
(cherry picked from commit 619dffa6d826202aec668a86bf4bdd263d86546d)

5 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
(cherry picked from commit 4993d93770f5df22fb0bffa195af57514baddf21)

5 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
(cherry picked from commit da49da2325d96f6d1890497650f47d2e43ea8eb0)

5 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
(cherry picked from commit d2f4a210180dfc8473d3a6285b70af249a309fc5)

5 years agofix win build
Augustin Degomme [Tue, 12 Nov 2013 14:15:55 +0000 (15:15 +0100)]
fix win build
(cherry picked from commit d5af34153fc4580feebbec8ad603a705a0173fa7)

5 years agoCosmetics: add space before words.
Arnaud Giersch [Sat, 9 Nov 2013 22:02:56 +0000 (23:02 +0100)]
Cosmetics: add space before words.
(cherry picked from commit af7dada59a9795dc0e28564464aac8f910d87d1b)

5 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
(cherry picked from commit c9e8dd1a590fecb704c4114633b881848c1ef7e9)

5 years agoAdd MSG_file_rename function
Pierre Veyre [Fri, 8 Nov 2013 08:56:05 +0000 (09:56 +0100)]
Add MSG_file_rename function
(cherry picked from commit 985adefb9840db3a67c9d92856e861baa8a7b032)

5 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.

5 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.

5 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)

5 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)

5 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)

5 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)

5 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)

5 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)

5 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)

5 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)

5 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)

5 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)

5 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)

5 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)

5 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)

5 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)

5 years agoThis test does not work with MC.
Arnaud Giersch [Thu, 7 Nov 2013 12:27:58 +0000 (13:27 +0100)]
This test does not work with MC.
(cherry picked from commit ddb79fc2ffed5e509b0898e0adae70cc24622fb8)

5 years agoIncrease junkarea to 4kiB.
Arnaud Giersch [Thu, 7 Nov 2013 10:19:35 +0000 (11:19 +0100)]
Increase junkarea to 4kiB.
(cherry picked from commit 49b058066db4e2b4e78b9f7924dd3795a024d94a)

5 years agoFix 32 bits builds.
Arnaud Giersch [Thu, 7 Nov 2013 09:54:16 +0000 (10:54 +0100)]
Fix 32 bits builds.

f2c defines integer as long int on 32 bits systems.
(cherry picked from commit 612d201268a4154815e62436f30da3e6323486ee)

5 years agoAdd Fortran examples for smpi+dvfs.
Arnaud Giersch [Wed, 6 Nov 2013 23:12:25 +0000 (00:12 +0100)]
Add Fortran examples for smpi+dvfs.
(cherry picked from commit 28ec59bf4a9e4b04c1af121616b72bd846772fa5)

5 years agoAdd Fortran bindigns for smpi+dvfs.
Arnaud Giersch [Wed, 6 Nov 2013 23:12:02 +0000 (00:12 +0100)]
Add Fortran bindigns for smpi+dvfs.
(cherry picked from commit 12a61a8ab437baed346e356f63e02cdaeabeb6f4)

5 years agoAdd example for smpi+dvfs.
Arnaud Giersch [Wed, 6 Nov 2013 17:37:25 +0000 (18:37 +0100)]
Add example for smpi+dvfs.
(cherry picked from commit 40f9c3e861f4b651dc2dd63b79271e735931a1a7)

5 years agoExport DVFS functionality for smpi (experimental).
Arnaud Giersch [Wed, 6 Nov 2013 16:01:43 +0000 (17:01 +0100)]
Export DVFS functionality for smpi (experimental).
(cherry picked from commit 444b3487fdce26571d25a82b1fb835c8c15e550f)

5 years agosmpi build without F2C was broken since 58ea5966
Augustin Degomme [Wed, 6 Nov 2013 23:49:39 +0000 (00:49 +0100)]
smpi build without F2C was broken since 58ea5966
(cherry picked from commit 18bbe5b38ef4565c39f452b42a5b5417c5ad61ed)

5 years agochangelog
Augustin Degomme [Wed, 6 Nov 2013 20:15:56 +0000 (21:15 +0100)]
changelog
(cherry picked from commit c06cc40fb52a8e289add52024b916b728f1a24fa)

5 years agopotential fixes
Augustin Degomme [Wed, 6 Nov 2013 14:42:17 +0000 (15:42 +0100)]
potential fixes
(cherry picked from commit 7e5c2f3a409fb782e912f80867b8573a54e0dc09)

5 years agoleak --(cherry picked from commit dd1330c53beec9c5abb8b23375062e6acf214632)
suter [Wed, 6 Nov 2013 18:59:16 +0000 (19:59 +0100)]
leak --(cherry picked from commit dd1330c53beec9c5abb8b23375062e6acf214632)

5 years agoCosmetics: adjust spaces.
Arnaud Giersch [Wed, 6 Nov 2013 17:35:29 +0000 (18:35 +0100)]
Cosmetics: adjust spaces.
(cherry picked from commit 518ff51fd36819ad91b647e5918f0e6e0440f4c8)

5 years agoMake functions public, they are need by macros SMPI_SAMPLE_{DELAY,FLOPS}.
Arnaud Giersch [Wed, 6 Nov 2013 17:17:33 +0000 (18:17 +0100)]
Make functions public, they are need by macros SMPI_SAMPLE_{DELAY,FLOPS}.
(cherry picked from commit afcb6663eebe4a13bf9ffed05192253f1b6e5297)

5 years agoCosmetics: uncapitalize.
Arnaud Giersch [Wed, 6 Nov 2013 15:49:14 +0000 (16:49 +0100)]
Cosmetics: uncapitalize.
(cherry picked from commit d88fcc7f21b9444f107576afeaed127dfd4de049)

5 years agorevalidate tesh, no impact on time, but cleaning makes jupiter be the
suter [Wed, 6 Nov 2013 17:40:50 +0000 (18:40 +0100)]
revalidate tesh, no impact on time, but cleaning makes jupiter be the
last to finalize(cherry picked from commit 5a3326284f6d3377fd38786633ae8347178d4ded)

5 years agohandle pending asynchronous requests on finalize (should be harmless in
suter [Wed, 6 Nov 2013 17:39:48 +0000 (18:39 +0100)]
handle pending asynchronous requests on finalize (should be harmless in
most cases, everybody should has completed)(cherry picked from commit a09da6c17ad98c22da2c043958f60e0336e9942b)

5 years agosimplify and improve the way asynchronous send and receive are handled(cherry picked...
suter [Wed, 6 Nov 2013 16:18:04 +0000 (17:18 +0100)]
simplify and improve the way asynchronous send and receive are handled(cherry picked from commit 3b0cc88be96b2f07a2a4829a659a4f02f9bbf594)

5 years agoMisc cleanups.
Arnaud Giersch [Wed, 6 Nov 2013 06:47:24 +0000 (07:47 +0100)]
Misc cleanups.

* stat'ing the directory before mkdir is just wrong (race condition),
  remove this test and let fopen report any error;
* use mode 0777 for mkdir, and let the user adjust his umask;
* use xbt_free() instead of free();
* remove useless tests before xbt_{dict,dynar}_free();
* and the usual reindent.
(cherry picked from commit 332285d51119f8f98270655bf88f485a9f914df1)

5 years agoSimplify logic, and free loc in all cases.
Arnaud Giersch [Tue, 5 Nov 2013 21:16:40 +0000 (22:16 +0100)]
Simplify logic, and free loc in all cases.
(cherry picked from commit 903f71895fc1cfd7bbc7609c57b9d09153b7011e)

5 years agoAvoid to dereference a null index when HAVE_TRACING.
Arnaud Giersch [Tue, 5 Nov 2013 21:02:17 +0000 (22:02 +0100)]
Avoid to dereference a null index when HAVE_TRACING.
(cherry picked from commit df9b8b6931c264f2e2877e201e31019e6e7dcad3)

5 years agoRequest should not be null here.
Arnaud Giersch [Tue, 5 Nov 2013 20:52:55 +0000 (21:52 +0100)]
Request should not be null here.
(cherry picked from commit b8fc5d84a6fcf56a745815d784bc10ebbeb6e68a)

5 years agochange tesh test to account for new structure in time independent traces
Augustin Degomme [Tue, 5 Nov 2013 18:06:10 +0000 (19:06 +0100)]
change tesh test to account for new structure in time independent traces
Not ideal, as tesh is a bit too strict to allow us to really compare the files
(cherry picked from commit bf31c01ca3d4167bd748658b02b5938231f23fc5)

5 years agoTrace buffer is not to be handled by the format-dependent init functions
Augustin Degomme [Tue, 5 Nov 2013 18:05:11 +0000 (19:05 +0100)]
Trace buffer is not to be handled by the format-dependent init functions
(cherry picked from commit 8ec4cdb61b9430ccbbb5f07e48d46039aa72609f)

5 years agoMake time independent tracing output by default in one file per process
Augustin Degomme [Tue, 5 Nov 2013 18:04:19 +0000 (19:04 +0100)]
Make time independent tracing output by default in one file per process
Structure is filename.txt : list of all the files to open
folder filename.txt_files : all files, with unique names (so that they won't be erased by a new run, only the main one will)

Adds an option tracing/smpi/format/ti_one_file to only use one subfile and put every event in it
For larger runs this will avoid opening too many handles.
(cherry picked from commit dc0e44715d73224df3cff50a9a0f42e73b1afc8c)

5 years agoSupernovae builds are deprecated.
Arnaud Giersch [Tue, 5 Nov 2013 16:55:19 +0000 (17:55 +0100)]
Supernovae builds are deprecated.

5 years agoUse DBL_MAX for values of type double.
Arnaud Giersch [Tue, 5 Nov 2013 12:02:00 +0000 (13:02 +0100)]
Use DBL_MAX for values of type double.

5 years agoBe consistent: change buf to an array of int.
Arnaud Giersch [Tue, 5 Nov 2013 12:04:43 +0000 (13:04 +0100)]
Be consistent: change buf to an array of int.

5 years agoCheck that table[0].name is defined.
Arnaud Giersch [Tue, 5 Nov 2013 12:16:41 +0000 (13:16 +0100)]
Check that table[0].name is defined.

Also change "model" for "collective" in find_coll_description().

5 years agoUse xbt_die() for DIE_IMPOSSIBLE.
Arnaud Giersch [Tue, 5 Nov 2013 12:23:42 +0000 (13:23 +0100)]
Use xbt_die() for DIE_IMPOSSIBLE.

5 years agoMPI_Abort can theorically fail. Add a call to exit() to ensure that the program...
Arnaud Giersch [Tue, 5 Nov 2013 15:54:24 +0000 (16:54 +0100)]
MPI_Abort can theorically fail.  Add a call to exit() to ensure that the program really stops.

5 years agoDefine buffer on the stack here.
Arnaud Giersch [Tue, 5 Nov 2013 12:00:02 +0000 (13:00 +0100)]
Define buffer on the stack here.

5 years agoWhitespace cleanup. v3_10_rc1
Arnaud Giersch [Mon, 4 Nov 2013 20:59:32 +0000 (21:59 +0100)]
Whitespace cleanup.

5 years agoExclude these tests from memcheck.
Arnaud Giersch [Mon, 4 Nov 2013 20:31:13 +0000 (21:31 +0100)]
Exclude these tests from memcheck.

5 years agoNext release will be (at least) 3.10-rc1.
Arnaud Giersch [Mon, 4 Nov 2013 20:30:58 +0000 (21:30 +0100)]
Next release will be (at least) 3.10-rc1.

5 years agoDefine SIMGRID_VERSION_STRING, and add option --version to get version information...
Arnaud Giersch [Mon, 4 Nov 2013 17:26:50 +0000 (18:26 +0100)]
Define SIMGRID_VERSION_STRING, and add option --version to get version information at run time.

5 years agoMerge commit '78f0dd861a9bb479f33b9494a2b4ed7b977288a4' into v3_10_x
Arnaud Giersch [Mon, 4 Nov 2013 16:41:59 +0000 (17:41 +0100)]
Merge commit '78f0dd861a9bb479f33b9494a2b4ed7b977288a4' into v3_10_x