Browse Source

mention that rdynamic must be used for mic

Samuel Thibault 10 years ago
parent
commit
f75c132c78
1 changed files with 2 additions and 1 deletions
  1. 2 1
      doc/doxygen/chapters/18mic_scc_support.doxy

+ 2 - 1
doc/doxygen/chapters/18mic_scc_support.doxy

@@ -27,7 +27,8 @@ starpu_codelet::cpu_funcs_name, to provide StarPU with the function
 name of the CPU implementation. StarPU will thus simply use the
 name of the CPU implementation. StarPU will thus simply use the
 existing CPU implementation (cross-rebuilt in the MIC Xeon Phi case). The
 existing CPU implementation (cross-rebuilt in the MIC Xeon Phi case). The
 functions have to be globally-visible (i.e. not <c>static</c>) for
 functions have to be globally-visible (i.e. not <c>static</c>) for
-StarPU to be able to look them up.
+StarPU to be able to look them up, and -rdynamic must be passed to gcc (or
+-export-dynamic to ld) so that symbols of the main program are visible.
 
 
 For SCC execution, the function starpu_initialize() also has to be
 For SCC execution, the function starpu_initialize() also has to be
 used instead of starpu_init(), so as to pass <c>argc</c> and
 used instead of starpu_init(), so as to pass <c>argc</c> and