Stéphane Castelli [Fri, 18 Apr 2014 11:53:03 +0000 (13:53 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Stéphane Castelli [Fri, 18 Apr 2014 11:51:27 +0000 (13:51 +0200)]
Merge with master
Fat Tree routing is almost complete, except there is no routing yet
Paul Bédaride [Thu, 17 Apr 2014 15:40:31 +0000 (17:40 +0200)]
Add option to msg to debug multiple use of task
Paul Bédaride [Wed, 16 Apr 2014 14:22:12 +0000 (16:22 +0200)]
Doc shareResources,updateActionsState
Stéphane Castelli [Thu, 17 Apr 2014 11:39:36 +0000 (13:39 +0200)]
Fat trees progress
Stéphane Castelli [Thu, 17 Apr 2014 09:14:44 +0000 (11:14 +0200)]
generateDotFile, to generate dot files for fat trees
Stéphane Castelli [Thu, 17 Apr 2014 08:36:37 +0000 (10:36 +0200)]
Proper fix for compilation warning
Stéphane Castelli [Thu, 17 Apr 2014 07:59:00 +0000 (09:59 +0200)]
Revert "Quick fix for warnings in compilation induced by fat trees."
This reverts commit
c8bcfe7ac56e69ba55d4797455a6b637baeec83e.
Augustin Degomme [Wed, 16 Apr 2014 16:16:24 +0000 (18:16 +0200)]
Quick fix for warnings in compilation induced by fat trees.
This should be properly fixed quickly.
Stéphane Castelli [Wed, 16 Apr 2014 15:47:12 +0000 (17:47 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Stéphane Castelli [Wed, 16 Apr 2014 15:44:39 +0000 (17:44 +0200)]
[Bug Fix] Resolve compilation error introduced in
20984b0bb3a1e3e5e213963d9182b1c15baba23c
Some minor progresses have been made in the implementation of fat trees
Paul Bédaride [Wed, 16 Apr 2014 14:04:02 +0000 (16:04 +0200)]
Fix inversion bug in CpuL07 constructor
Stéphane Castelli [Wed, 16 Apr 2014 07:47:06 +0000 (09:47 +0200)]
[Fat Trees] Function generating dot files should be working,
yet to be tested
FatTreeLink got its members public
Stéphane Castelli [Tue, 15 Apr 2014 15:53:59 +0000 (17:53 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Paul Bédaride [Tue, 15 Apr 2014 15:59:42 +0000 (17:59 +0200)]
Add doc to surf java
Stéphane Castelli [Tue, 15 Apr 2014 15:51:18 +0000 (17:51 +0200)]
Added some work in the creation of links in the fat trees, basically the repartion of nodes through the levels.
Method to generate a .dot file, almost done
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Paul Bédaride [Mon, 14 Apr 2014 16:01:13 +0000 (18:01 +0200)]
Fix missing java include
Paul Bédaride [Mon, 14 Apr 2014 15:27:08 +0000 (17:27 +0200)]
Swig only in maintainer mode
Gabriel Corona [Mon, 14 Apr 2014 13:06:55 +0000 (15:06 +0200)]
[mc] Protect snapshots against write
Gabriel Corona [Mon, 14 Apr 2014 11:00:27 +0000 (13:00 +0200)]
[mc] Only enable KSM on snapshots and not on main memory
Merging pages on the main memory will generate page faults on write
and we won't gain much memory.
Arnaud Giersch [Mon, 14 Apr 2014 12:33:02 +0000 (14:33 +0200)]
Talk about CFLAGS and CXXFLAGS in doc.
Augustin Degomme [Mon, 14 Apr 2014 10:39:05 +0000 (12:39 +0200)]
add some MPI types definitions
Augustin Degomme [Mon, 14 Apr 2014 10:38:52 +0000 (12:38 +0200)]
don't enable flto if ld version <= 2.22, as there are bugs with some version of GCC
Its not clear whether bugs were actually in gcc < 4.7.2 or in the bfl ld version ...
example of related bugs : http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53780 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52900
Disabling flto when ld is too old is one of the possible fixes, as ld 2.24 doesn't triggers these bugs.
Augustin Degomme [Fri, 11 Apr 2014 09:05:10 +0000 (11:05 +0200)]
typo --
Stéphane Castelli [Mon, 14 Apr 2014 08:40:13 +0000 (10:40 +0200)]
minor typo
Stéphane Castelli [Mon, 14 Apr 2014 08:14:27 +0000 (10:14 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Stéphane Castelli [Mon, 14 Apr 2014 08:12:32 +0000 (10:12 +0200)]
Ignore files generated by some editors (files starting with '#')
Stéphane Castelli [Mon, 14 Apr 2014 08:09:06 +0000 (10:09 +0200)]
Beginning of the implemenation of fat tree. Parsing methods for special arguments related to this kind of clusters.
Stéphane Castelli [Mon, 14 Apr 2014 07:50:13 +0000 (09:50 +0200)]
Definition of a new class to represent the routing in fat trees
Gabriel Corona [Mon, 14 Apr 2014 07:10:32 +0000 (09:10 +0200)]
Merge branch 'mc-perf'
Gabriel Corona [Thu, 10 Apr 2014 14:05:36 +0000 (16:05 +0200)]
[mc] Avoid allocation/deallocation in init_heap_information
suter [Fri, 11 Apr 2014 18:46:02 +0000 (20:46 +0200)]
remove all references to the dead file_ls function
suter [Fri, 11 Apr 2014 17:04:45 +0000 (19:04 +0200)]
initialize this storage with NULL
suter [Fri, 11 Apr 2014 15:01:24 +0000 (17:01 +0200)]
update example according to recent modifications
suter [Fri, 11 Apr 2014 14:57:32 +0000 (16:57 +0200)]
augment example to test the semantic of the write
suter [Fri, 11 Apr 2014 14:51:31 +0000 (16:51 +0200)]
simplify the way free and used space are accessed
suter [Fri, 11 Apr 2014 13:24:15 +0000 (15:24 +0200)]
correct the semantic of the write
suter [Fri, 11 Apr 2014 08:28:00 +0000 (10:28 +0200)]
do not use MSG stuff at SURF level
suter [Fri, 11 Apr 2014 08:10:45 +0000 (10:10 +0200)]
correct seek's semantic
suter [Fri, 11 Apr 2014 08:10:08 +0000 (10:10 +0200)]
make read really depend on current position in the file
Paul Bédaride [Fri, 11 Apr 2014 14:45:25 +0000 (16:45 +0200)]
surfCpuModel add execute on host
Arnaud Giersch [Fri, 11 Apr 2014 13:30:12 +0000 (15:30 +0200)]
Print SWIG version.
Arnaud Giersch [Fri, 11 Apr 2014 11:37:11 +0000 (13:37 +0200)]
Fix comment, and add a runtime warning when stack overflow protection is known to be broken.
Also set default value to 0 for contexts/guard_size in this case.
Arnaud Giersch [Fri, 11 Apr 2014 09:32:10 +0000 (11:32 +0200)]
Add comment to inform that stack protection is broken when PTH_STACKGROWTH == 1.
Arnaud Giersch [Fri, 11 Apr 2014 09:11:48 +0000 (11:11 +0200)]
Cosmetics: XBT_PUBLIC is not needed here.
Arnaud Giersch [Fri, 11 Apr 2014 08:57:45 +0000 (10:57 +0200)]
Make xbt_abort really silent on Windows.
Another option was to make a call to
_set_abort_behavior(0, _WRITE_ABORT_MSG | _CALL_REPORTFAULT)
but it seems that it's currently not supported by mingw.
Moreover, make xbt_abort a real function.
Gabriel Corona [Thu, 10 Apr 2014 07:18:54 +0000 (09:18 +0200)]
[mc] Avoid allocations in state->equals_to{1,2}
Gabriel Corona [Tue, 8 Apr 2014 13:20:57 +0000 (15:20 +0200)]
[mc] Optimise memory allocation in mm_diff
Avoid a lot of allocations/deallocations by using a contiguous array
instead of array of arrays.
Gabriel Corona [Fri, 11 Apr 2014 08:24:53 +0000 (10:24 +0200)]
[mc] Remove buggy xbt_free
Marion Guthmuller [Thu, 10 Apr 2014 07:27:22 +0000 (09:27 +0200)]
model-checker : add commande line in comment to run the example
Marion Guthmuller [Thu, 10 Apr 2014 07:14:41 +0000 (09:14 +0200)]
model-checker : worst case considered for bugged1_liveness example (bug on the last process)
Arnaud Giersch [Tue, 8 Apr 2014 14:59:11 +0000 (16:59 +0200)]
Remove useless declaration.
Arnaud Giersch [Tue, 8 Apr 2014 12:57:38 +0000 (14:57 +0200)]
Add missing XBT_PUBLIC*.
Arnaud Giersch [Tue, 8 Apr 2014 12:31:47 +0000 (14:31 +0200)]
Fix doc.
Arnaud Giersch [Tue, 8 Apr 2014 12:31:10 +0000 (14:31 +0200)]
No need to have this variable global.
Arnaud Giersch [Tue, 8 Apr 2014 11:43:26 +0000 (13:43 +0200)]
Update tesh.pl.
* avoid to launch a shell for subcommands
* improve substitutions for variables
All tests pass on Linux, let's see what's happening on windows.
Arnaud Giersch [Tue, 8 Apr 2014 09:23:28 +0000 (11:23 +0200)]
Rewrite command line without using find, which is not the same on windows.
Arnaud Giersch [Tue, 8 Apr 2014 08:27:10 +0000 (10:27 +0200)]
Remove warnings about unused parameters.
Paul Bédaride [Fri, 4 Apr 2014 08:46:08 +0000 (10:46 +0200)]
Add example of java cpu model
Gabriel Corona [Tue, 8 Apr 2014 08:08:39 +0000 (10:08 +0200)]
Merge remote-tracking branch 'origin/mc'
Conflicts:
src/mc/mc_checkpoint.c
Augustin Degomme [Mon, 7 Apr 2014 15:33:58 +0000 (17:33 +0200)]
add defines to windows build, to avoid breaking ucontexts examples
Augustin Degomme [Mon, 7 Apr 2014 14:14:51 +0000 (16:14 +0200)]
oops
Augustin Degomme [Mon, 7 Apr 2014 14:05:04 +0000 (16:05 +0200)]
also document torus networks
Augustin Degomme [Mon, 7 Apr 2014 13:41:41 +0000 (15:41 +0200)]
document loopback tags for clusters
Arnaud Giersch [Mon, 7 Apr 2014 12:02:21 +0000 (14:02 +0200)]
Missed by previous commit.
Arnaud Giersch [Mon, 7 Apr 2014 11:51:01 +0000 (13:51 +0200)]
Hope that this time win32_ucontext.h will be found.
Arnaud Giersch [Mon, 7 Apr 2014 11:14:15 +0000 (13:14 +0200)]
Print output when prog_AC_CHECK_MCSC.c fails to compile.
Arnaud Giersch [Mon, 7 Apr 2014 09:34:53 +0000 (11:34 +0200)]
stack-overflow tests are expected to fail on win32 too.
Arnaud Giersch [Mon, 7 Apr 2014 09:28:27 +0000 (11:28 +0200)]
Try to fix MCSC check.
Arnaud Giersch [Mon, 7 Apr 2014 08:33:16 +0000 (10:33 +0200)]
startsWith doesn't expect a regexp.
Arnaud Giersch [Mon, 7 Apr 2014 08:00:19 +0000 (10:00 +0200)]
Since SG-java is now reintegrated into the main tree, this kind of test is not needed anymore.
Arnaud Giersch [Mon, 7 Apr 2014 07:57:17 +0000 (09:57 +0200)]
Update version strings.
Augustin Degomme [Mon, 7 Apr 2014 08:52:32 +0000 (10:52 +0200)]
Force windows jar to bundle into x86, as we only build/support 32 bits version
Augustin Degomme [Mon, 7 Apr 2014 07:54:57 +0000 (09:54 +0200)]
fix surf-java library win compilation
Arnaud Giersch [Sat, 5 Apr 2014 20:30:42 +0000 (22:30 +0200)]
Add one more failing test.
An assertion is failing in lmm_print when running with --log=surf.thres:debug:
** SimGrid: UNCAUGHT EXCEPTION received on ./bug-17132(0): category: unknown error; value: 0
** Incorrect value (
10000000000.000002 is not smaller than
10000000000.000000): 1.90735e-06
** Thrown by () in this process
[0.000013] [...]/src/xbt/ex.c:144: [xbt_ex/CRITICAL] Incorrect value (
10000000000.000002 is not smaller than
10000000000.000000): 1.90735e-06
** In _Z9lmm_printP10lmm_system() at [...]/src/surf/maxmin.cpp:568
** In lmm_solve() at [...]/src/surf/maxmin.cpp:799
** In _ZN5Model18shareResourcesLazyEd() at [...]/src/surf/surf_interface.cpp:531
** In _ZN5Model14shareResourcesEd() at [...]/src/surf/surf_interface.cpp:512
** In _ZN21WorkstationCLM03Model14shareResourcesEd() at [...]/src/surf/workstation_clm03.cpp:82
** In surf_solve() at [...]/src/surf/surf_c_bindings.cpp:80
** In SIMIX_run() at [...]/src/simix/smx_global.c:377
** In smpi_main() at [...]/src/simgrid/sg_config.c:1001
** In main() at [...]/src/smpi/smpi_global.c:472
Aborted
It looks like a rounding error, but I'm not sure if the problem in lmm_print
itself, or before.
Arnaud Giersch [Sat, 5 Apr 2014 20:23:24 +0000 (22:23 +0200)]
Complete tesh documentation.
Martin Quinson [Sat, 5 Apr 2014 20:44:13 +0000 (22:44 +0200)]
add a flatifying test with a multicore cluster -- it's broken for now
Martin Quinson [Sat, 5 Apr 2014 20:28:03 +0000 (22:28 +0200)]
requests the flatifier to display the amount of core if not equal to 1
Bad news: this commit does not break the tests, meaning that we have
no flatifying test that involves multi-cores...
Martin Quinson [Sat, 5 Apr 2014 20:27:23 +0000 (22:27 +0200)]
ignore more generated files
Martin Quinson [Sat, 5 Apr 2014 20:17:45 +0000 (22:17 +0200)]
give SimDag the ability to retrieve the amount of cores per host
Marion Guthmuller [Sat, 5 Apr 2014 17:22:13 +0000 (19:22 +0200)]
model-checker : privatization_regions in snapshot may be NULL
Augustin Degomme [Fri, 4 Apr 2014 14:53:21 +0000 (16:53 +0200)]
add missing include dir
Augustin Degomme [Fri, 4 Apr 2014 14:38:22 +0000 (16:38 +0200)]
add XBT_PUBLIC_CLASS macro, and a bunch of XBT_PUBLIC declarations
This should make surf-java swig bindings compile on Win32
Gabriel Corona [Fri, 4 Apr 2014 13:36:01 +0000 (15:36 +0200)]
[mc] Fix issues with register translation code
Gabriel Corona [Fri, 4 Apr 2014 13:27:27 +0000 (15:27 +0200)]
[mc] Fix bAd text
Gabriel Corona [Fri, 4 Apr 2014 13:19:43 +0000 (15:19 +0200)]
Merge branch 'mc'
Gabriel Corona [Fri, 4 Apr 2014 13:14:08 +0000 (15:14 +0200)]
[mc] Implement translation of register number
Libunwind and DWARF do not associated the same regsiter number (at
least in i386) so me need to translate from DWARf register numbers
into libunwind register numbers.
Fix broken expression evaluation on i386.
Augustin Degomme [Fri, 4 Apr 2014 12:37:58 +0000 (14:37 +0200)]
oops, forgot to perform the actual change of path in
3854ce9a5 .
Augustin Degomme [Fri, 4 Apr 2014 12:21:58 +0000 (14:21 +0200)]
line not needed without the handler, and SIGSTKSZ is not defined on win32
Augustin Degomme [Fri, 4 Apr 2014 12:19:46 +0000 (14:19 +0200)]
file win32_ucontext.h was moved by
6e893f95c
oops, this changes the endlines ... let's say it's wanted.
Augustin Degomme [Fri, 4 Apr 2014 12:18:04 +0000 (14:18 +0200)]
fix compil of smpi_bench.c on win32
Augustin Degomme [Fri, 4 Apr 2014 12:17:46 +0000 (14:17 +0200)]
get page size info on win32
Augustin Degomme [Fri, 4 Apr 2014 12:17:36 +0000 (14:17 +0200)]
disable segv handler and guards on windows platforms
Arnaud Giersch [Fri, 4 Apr 2014 11:03:29 +0000 (13:03 +0200)]
Remove unused default constructors.
Arnaud Giersch [Fri, 4 Apr 2014 09:27:38 +0000 (11:27 +0200)]
Factorize initializations for Action constructors.
Also initialize m_hat to NOTSET.
Gabriel Corona [Fri, 4 Apr 2014 10:19:36 +0000 (12:19 +0200)]
[mc] Fix MC_free_snapshot (NP reading NULL snapshot->privatization_regions)
Arnaud Giersch [Thu, 3 Apr 2014 09:46:56 +0000 (11:46 +0200)]
Fix memory leak on file_unlink.
Arnaud Giersch [Thu, 3 Apr 2014 08:18:22 +0000 (10:18 +0200)]
Older gcc warns that variable may be uninitialized. Initialize it.
Gabriel Corona [Thu, 3 Apr 2014 16:18:46 +0000 (18:18 +0200)]
[mc] Make snapshots compatible with SMPI privatization of global variables
Not handled yet:
* State comparaison is not handled in this commit;
* Address process/snapshot translation support.
Still to do: make a clean API for the privatization.
Arnaud Legrand [Thu, 3 Apr 2014 23:48:41 +0000 (01:48 +0200)]
Have an informative final message.