Tuesday, September 28, 2010

Running CLEA applications on a Mac

The CLEA suite of astronomy software is written for Windows. Despite that, it is possible to run them on a Mac if you don't mind jumping through some hoops. To get started you will need:
  • The CLEA software you want to install (the .EXE file(s)).
  • WineBottler, which lets you run Windows programs on your Mac (it is based on Wine, which provides Windows emulation for Linux). Download and install both WIne and Winebottler (both are included in the download).
Now the work begins you will be using WineBottler to create a Mac "application" version of the CLEA program.
  1. Open WineBottler; click on "Create Custom Prefixes" (screenshot)
  2. Select the CLEA file you downloaded. (screenshot)
  3. Click Install; choose a name for the Mac version of the CLEA program and click Save. (screenshot)
  4. Wait patiently while WineBottler sets things up (screenshot), then follow the instructions in the CLEA installer (screenshot).
  5. Shortly after the CLEA installer finishes you will be prompted to "Select Startfile". You want JupMoons.EXE (substitute the appropriate file for the CLEA software you chose) (screenshot)
  6. Double-click the Mac version you just created. Before you run it you won't see the usual CLEA icon, but it will be generated the first time you launch it.
You are done!

Notes on the Moons of Jupiter software:
  • When you launch it an annoying little window pops up; click cancel on it and the program opens up like it should. (screenshot)
  • Fitting a sine curve to the data behaves oddly when you adjust the period; it seems to be resetting the offset every time youa djust the period. Don't know if this is a problem only on Mac or also on the PC version.

No comments: