Mentions légales du service

Skip to content
Snippets Groups Projects
Commit f7edf11a authored by PRUVOST Florent's avatar PRUVOST Florent
Browse files

doc: update some urls and method to generate traces with fxt

parent 45a2535c
No related branches found
No related tags found
No related merge requests found
...@@ -111,7 +111,7 @@ ...@@ -111,7 +111,7 @@
**** Execution trace using EZTrace **** Execution trace using EZTrace
<<sec:trace_ezt>> <<sec:trace_ezt>>
[[http://eztrace.gforge.inria.fr/support.html][EZTrace]] can be used by chameleon to generate traces. Two modules [[https://eztrace.gitlab.io/eztrace/][EZTrace]] can be used by chameleon to generate traces. Two modules
are automatically generated as soon as EZTrace is detected on the are automatically generated as soon as EZTrace is detected on the
system. The first one (which is recommended) is the system. The first one (which is recommended) is the
~chameleon_tcore~ module. It traces all the ~TCORE_...()~ functions ~chameleon_tcore~ module. It traces all the ~TCORE_...()~ functions
...@@ -170,7 +170,7 @@ ...@@ -170,7 +170,7 @@
vite eztrace_output.trace vite eztrace_output.trace
#+end_src #+end_src
For more information on EZTrace, you can follow the [[http://eztrace.gforge.inria.fr/support.html][support page]]. For more information on EZTrace, you can follow the [[https://eztrace.gitlab.io/eztrace/][support page]].
**** Execution trace using StarPU/FxT **** Execution trace using StarPU/FxT
<<sec:trace_fxt>> <<sec:trace_fxt>>
...@@ -178,10 +178,15 @@ ...@@ -178,10 +178,15 @@
StarPU can generate its own trace log files by compiling it with StarPU can generate its own trace log files by compiling it with
the ~--with-fxt~ option at the configure step (you can have to the ~--with-fxt~ option at the configure step (you can have to
specify the directory where you installed FxT by giving specify the directory where you installed FxT by giving
~--with-fxt=...~ instead of ~--with-fxt~ alone). By doing so, traces ~--with-fxt=...~ instead of ~--with-fxt~ alone). In addition, the
are generated after each execution of a program which uses StarPU environment variable STARPU_FXT_TRACE must be set to 1.
in the directory pointed by the [[http://starpu.gforge.inria.fr/doc/html/ExecutionConfigurationThroughEnvironmentVariables.html][STARPU_FXT_PREFIX]] environment #+begin_example
variable. export STARPU_FXT_TRACE=1
#+end_example
By doing so, traces are generated after each execution of a program which
uses StarPU in the directory pointed by the
[[https://files.inria.fr/starpu/doc/html/ExecutionConfigurationThroughEnvironmentVariables.html][STARPU_FXT_PREFIX]]
environment variable (if not set the default path is /tmp/).
#+begin_example #+begin_example
export STARPU_FXT_PREFIX=/home/jdoe/fxt_files/ export STARPU_FXT_PREFIX=/home/jdoe/fxt_files/
#+end_example #+end_example
...@@ -189,7 +194,9 @@ ...@@ -189,7 +194,9 @@
enabled (StarPU compiled with FxT), the program will generate enabled (StarPU compiled with FxT), the program will generate
trace files in the directory $STARPU_FXT_PREFIX. trace files in the directory $STARPU_FXT_PREFIX.
Finally, to generate the trace file which can be opened with [[http://vite.gforge.inria.fr/][Vite]] To save only some specific types of events the variable [[https://files.inria.fr/starpu/doc/html/ExecutionConfigurationThroughEnvironmentVariables.html][STARPU_FXT_EVENTS]].
Finally, to generate the trace file which can be opened with [[https://gitlab.inria.fr/solverstack/vite][Vite]]
program, you can use the *starpu_fxt_tool* executable of StarPU. program, you can use the *starpu_fxt_tool* executable of StarPU.
This tool should be in the bin directory of StarPU's installation. This tool should be in the bin directory of StarPU's installation.
You can use it to generate the trace file like this: You can use it to generate the trace file like this:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment