mic-scc-support.texi 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. @c -*-texinfo-*-
  2. @c This file is part of the StarPU Handbook.
  3. @c Copyright (C) 2013 Universit@'e de Bordeaux 1
  4. @c See the file starpu.texi for copying conditions.
  5. @section Compilation
  6. SCC support just needs the presence of the RCCE library.
  7. MIC support actually needs two compilations of StarPU, one for the host and one for
  8. the device. The @code{super-configure} script can be used to achieve this: it basically
  9. calls @code{configure} from @code{build_mic} and @code{build_host}, then @code{make} and
  10. @code{make install}.
  11. @c TODO: move to configuration section ?
  12. It can be parameterized with the following environment variables:
  13. @table @asis
  14. @item @code{MIC_HOST}
  15. Defines the value of the @code{--host} parameter passed to @code{configure} for the
  16. cross-compilation. The current default is @code{x86_64-k1om-linux}.
  17. @item @code{MIC_CC_PATH}
  18. Defines the path to the MIC cross-compiler. The current default is @code{/usr/linux-k1om-4.7/bin/}.
  19. @item @code{COI_DIR}
  20. Defines the path to the COI library. The current default is @code{/opt/intel/mic/coi}
  21. @end table
  22. @section Launching programs
  23. SCC programs are started through RCCE
  24. MIC programs are started from the host. The @code{STARPU_MIC_SINK_PROGRAM_NAME}
  25. environment variable has to be set to the path to the MIC-built program, or
  26. @code{STARPU_MIC_SINK_PROGRAM_PATH} can be set to a directory that contains the
  27. program.