-# NS3 is disabled because the version in ubuntu precise does not lead
+# NS3 is disabled because the version in ubuntu precise does not lead
# to the same timings (precision error?)
# Reenable with
# cmake -Denable_ns3
#
# Copyright (c) 2017-2019 The SimGrid Team. Licence: LGPL of WDFPL, as you want.
-if [ ! -e Makefile ] ; then
+if [ ! -e Makefile ] ; then
if [ -e build/default/Makefile ] ; then
cd build/default
else
- #230: segfaults when exit() without run()
- #225: s4u::Actor::kill() doesn not really kill victims in a join()
- #223: MSG_task_get_flops_amount() not working with parallel tasks
- - #222: Actor::kill() doesn't really kill and segfaults
+ - #222: Actor::kill() doesn't really kill and segfaults
- #221: odd LMM warning when killing an actor
- #120: Memory leak when the processes are forcefully killed
[local copy](docs/source/Installing_SimGrid.rst). TL;DR:
```
cmake -DCMAKE_INSTALL_PREFIX=/opt/simgrid .
-# Check the full list of options with `cmake -LH`
+# Check the full list of options with `cmake -LH`
make
make install
```
# Simplistic script to rebuild our documentation with sphinx-build
# Python needs to find simgrid on my machine, but not ctest -- sorry for the hack
-if [ -e /opt/simgrid ] ; then chmod +x /opt/simgrid; fi
+if [ -e /opt/simgrid ] ; then chmod +x /opt/simgrid; fi
set -e
-if [ "x$1" != 'xdoxy' -a -e build/xml ] ; then
+if [ "x$1" != 'xdoxy' -a -e build/xml ] ; then
echo "Doxygen not rerun: 'doxy' was not provided as an argument"
else
rm -rf build/xml source/api/
cd source; doxygen; cd ..
fi
-if [ "x$1" != 'xjava' -a -e source/java ] ; then
+if [ "x$1" != 'xjava' -a -e source/java ] ; then
echo "javasphinx not rerun: 'java' was not provided as an argument"
else
rm -rf source/java
done
set +e # Don't fail
-if [ -e /usr/bin/linkchecker ] ; then
+if [ -e /usr/bin/linkchecker ] ; then
linkchecker --no-status -o csv --ignore-url='.*\.css$' --ignore-url=build/html/_modules --ignore-url=public/java/org build/html \
| grep -v '^#' \
| grep -v 'urlname;parentname;baseref;result;warningstring'
import os
import subprocess
-# Search for our extensions too
+# Search for our extensions too
import sys
sys.path.append(os.path.abspath('_ext'))
:caption: User Manual:
Introduction <Introduction.rst>
- Installing SimGrid <Installing_SimGrid.rst>
- Start your Own Project <Start_Your_Own_Project.rst>
+ Installing SimGrid <Installing_SimGrid.rst>
+ Start your Own Project <Start_Your_Own_Project.rst>
Describing your Application <application.rst>
- The S4U Interface <app_s4u.rst>
- The SMPI Interface <app_smpi.rst>
- The MSG Interface <app_msg.rst>
+ The S4U Interface <app_s4u.rst>
+ The SMPI Interface <app_smpi.rst>
+ The MSG Interface <app_msg.rst>
Describing the Simulated Platform <platform.rst>
- Examples <Platform_Examples.rst>
- Modeling Hints <platform_howtos.rst>
- XML Reference <XML_Reference.rst>
+ Examples <Platform_Examples.rst>
+ Modeling Hints <platform_howtos.rst>
+ XML Reference <XML_Reference.rst>
Describing the Experimental Setup <Experimental_Setup.rst>
- Configuring SimGrid <Configuring_SimGrid.rst>
- Deploying your Application <Deploying_your_Application.rst>
+ Configuring SimGrid <Configuring_SimGrid.rst>
+ Deploying your Application <Deploying_your_Application.rst>
The SimGrid Models <models.rst>
- ns-3 as a SimGrid model <ns3.rst>
+ ns-3 as a SimGrid model <ns3.rst>
SimGrid Plugins <Plugins.rst>
Simulation Outcomes <outcomes.rst>
The SimGrid Community <community.rst>
-# Regular examples: with only one source and tested with all factories
+# Regular examples: with only one source and tested with all factories
######################################################################
foreach (example actor-create actor-daemon actor-exiting actor-join actor-kill
endforeach()
-# Model-checking examples: with only one source and tested with all factories but thread
+# Model-checking examples: with only one source and tested with all factories but thread
######################################################################
foreach (example mc-failing-assert)
sonar.issue.ignore.multicriteria.j1.resourceKey=**/*.java
# Throwable.printStackTrace(...) should not be called
-# But we don't have no better mechanism, and our Java apps are not rocket science
+# But we don't have no better mechanism, and our Java apps are not rocket science
sonar.issue.ignore.multicriteria.j2.ruleKey=squid:S1148
sonar.issue.ignore.multicriteria.j2.resourceKey=**/*.java
# Using command line arguments is security-sensitive
-# But the authors of the applications using our library will be their only users, so there is no security concern
+# But the authors of the applications using our library will be their only users, so there is no security concern
sonar.issue.ignore.multicriteria.j3.ruleKey=squid:S4823
sonar.issue.ignore.multicriteria.j3.resourceKey=**/*.java
# Standard outputs should not be used directly to log anything
-# But this file is used before SimGrid is initialized
+# But this file is used before SimGrid is initialized
sonar.issue.ignore.multicriteria.j4.ruleKey=squid:S106
sonar.issue.ignore.multicriteria.j4.resourceKey=src/bindings/java/org/simgrid/NativeLib.java
def accessors(self):
res = []
res.append('')
- regex = re.compile(r"^boost::intrusive_ptr<(.*?)>(.*)$") # to compute the raw type
+ regex = re.compile(r"^boost::intrusive_ptr<(.*?)>(.*)$") # to compute the raw type
# Arguments getter/setters
for i in range(len(self.args)):
arg = self.args[i]
list_add_not_empty CMDLINE "${LINKARGS}"
eval $(list_get CMDLINE)
-if [ "x$VERBOSE" = x1 -o "x$show" = x1 ] ; then
+if [ "x$VERBOSE" = x1 -o "x$show" = x1 ] ; then
echo "$@"
[ "x$show" = x1 ] && exit 0
fi
# - Calls include_directories() on where libunwind.h lives
# - Calls link_directories() on where the libs live
-# Of course also need the core lib
+# Of course also need the core lib
set(LIBUNWIND_COMPONENTS ${LIBUNWIND_COMPONENTS} "unwind")
message(STATUS "Looking for libunwind:")
-# Let's assume we have it, and invalidate if parts are missing
+# Let's assume we have it, and invalidate if parts are missing
SET(HAVE_LIBUNWIND 1)
#
LIST(REMOVE_AT ARGR 0)
ENDFOREACH()
FOREACH(FACTORY ${FACTORIES})
- if ((${FACTORY} STREQUAL "thread" ) OR # Always available, thanks to C++11 threads
+ if ((${FACTORY} STREQUAL "thread" ) OR # Always available, thanks to C++11 threads
(${FACTORY} STREQUAL "boost" AND HAVE_BOOST_CONTEXTS) OR
(${FACTORY} STREQUAL "raw" AND HAVE_RAW_CONTEXTS) OR
(${FACTORY} STREQUAL "ucontext" AND HAVE_UCONTEXT_CONTEXTS))
LIST(REMOVE_AT ARGR 0)
ENDFOREACH()
FOREACH(FACTORY ${FACTORIES})
- if ((${FACTORY} STREQUAL "thread" ) OR # Always available, thanks to C++11 threads
+ if ((${FACTORY} STREQUAL "thread" ) OR # Always available, thanks to C++11 threads
(${FACTORY} STREQUAL "boost" AND HAVE_BOOST_CONTEXTS) OR
(${FACTORY} STREQUAL "raw" AND HAVE_RAW_CONTEXTS) OR
(${FACTORY} STREQUAL "ucontext" AND HAVE_UCONTEXT_CONTEXTS))