497_eclipse_plugin.doxy 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. /* StarPU --- Runtime system for heterogeneous multicore architectures.
  2. *
  3. * Copyright (C) 2021 Université de Bordeaux, CNRS (LaBRI UMR 5800), Inria
  4. *
  5. * StarPU is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU Lesser General Public License as published by
  7. * the Free Software Foundation; either version 2.1 of the License, or (at
  8. * your option) any later version.
  9. *
  10. * StarPU is distributed in the hope that it will be useful, but
  11. * WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  13. *
  14. * See the GNU Lesser General Public License in COPYING.LGPL for more details.
  15. */
  16. /*! \page EclipsePlugin Eclipse Plugin
  17. The StarPU Eclipse Plugin provides the ability to visualise traces directly from the Eclipse IDE.
  18. \section EclipseInstallation Eclipse Installation
  19. Download the Eclipse installer from
  20. https://www.eclipse.org/downloads/packages/installer. When you run the
  21. installer, click on <em>Eclipse IDE for Java Developers</em> to start
  22. the installation process.
  23. \image html eclipse_installer.png
  24. \image latex eclipse_installer.png "" width=10cm
  25. To be able to develop C/C++ applications, you need to install the CDT
  26. plugin. To do so, go to the <em>Help</em> dropdown menu at the top of the
  27. Eclipse window, choose <em>Install New Software ...</em>. In the new
  28. window, enter the URL
  29. http://download.eclipse.org/tools/cdt/releases/9.10
  30. into the box <em>Work with</em> and press the return key.
  31. \image html eclipse_install_cdt.png
  32. \image latex eclipse_install_cdt.png "" width=10cm
  33. You need then to select <em>CDT Main Features</em>, then click the
  34. button <em>Next</em> twice, accept the terms of the license, and click
  35. the button <em>Finish</em>. Eclipse will ask you to restart.
  36. To be able to compile the plugin, you need to install the plugin
  37. development environnement (PDE). To do so, go to the menu
  38. <em>Help</em>, choose <em>Eclipse Marketplace...</em>. In the new
  39. window, enter <em>PDE</em> into the box <em>Find</em> and press the
  40. return key.
  41. \image html eclipse_install_pde.png
  42. \image latex eclipse_install_pde.png "" width=10cm
  43. You can then click on the button <em>Install</em> of the <em>Eclipse
  44. PDE latest</em>. You may need to confirm the installation, then accept
  45. the terms of the license, and finally restart the Eclipse IDE.
  46. The installation is now done.
  47. \section PluginInstallation StarPU Eclipse Plugin Compilation and Installation
  48. StarPU can now be compiled and installed with its Eclipse plugin. To
  49. do so, you first need to configure StarPU with the option \ref
  50. enable-eclipse-plugin "--enable-eclipse-plugin". The Eclipse IDE
  51. executable \c eclipse must be in your \c PATH.
  52. \verbatim
  53. export PATH=$HOME/usr/local/eclipse/java-2021-03/eclipse:$PATH
  54. mkdir build
  55. cd build
  56. ../configure --prefix=$HOME/usr/local/starpu --enable-eclipse-plugin
  57. make
  58. make install
  59. \endverbatim
  60. The StarPU Eclipse plugin is installed in the directory \c dropins.
  61. \verbatim
  62. $ ls $HOME/usr/local/eclipse/java-2021-03/eclipse/dropins
  63. StarPU_1.0.0.202105272056.jar
  64. \endverbatim
  65. You can now go to Section \ref EclipsePluginUsage to see how to use
  66. the plugin.
  67. */