Using Eclipse / Mojave

From Einstein Toolkit Documentation
Revision as of 15:54, 22 February 2011 by Sbrandt (talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

Installing Eclipse

  • Go to http://downloads.eclipse.org, select the Eclipse for C/C++ developers. Select the relevant operating system and download, then untar / unzip. That is all there is the installation.
  • To run eclipse, simply start the binary. Eclipse typically requires a "workspace" to manage its projects. It will prompt you for the creation of this directory when you first start the program.

Installing Mojave

  • Click on Help > Install New Software ...
  • Click on the Add tab, a dialogue will appear
  • In the dialogue, put "Mojave" for the site name, and "http://stevenrbrandt.com/Mojave-Update/" for the location.
  • The dialogue below will create a checkbox next to Mojave. Click next to continue the install.
  • Please make sure that your system also has perl, python, git, and subversion installed as well.
  • If you wish to build locally, you will also need gcc, g++, gfortran (or equivalent compilers), and make.

Installing Photran

  • Click on Help > Install New Software ...
  • Click on the Add tab, a dialogue will appear
  • In the dialogue, put "PTP" for the site name, and "http://download.eclipse.org/tools/ptp/updates/helios" for the location.
  • Type the word "Photran" in the filter text box.
  • Select all checkboxes, and click next to continue the install.

Using Mojave

To use Mojave you first need to create a Cactus project. These projects can either come from the web, or you can use an existing installation on disk.

To install from the web

  • Click File > Project > New Mojave Project
  • Select the radio button for installing from the web
  • On the next page of the wizard, fill in your email address (for configuration of SimFactory), a project name, and the location of a thornlist. By default, einsteintoolkit.th will be loaded. This is a big project and will take time to download.

To use an existing install

  • Click File > Project > New Mojave Project
  • Select the radio button for using an existing install
  • On the wizard, select an Eclipse project name and browse to the existing install.