Setting your “Path” Variable

When you use HeapCL or TorchCL, you have to specify the applications entire path anytime you use it. This could be annoying if you commonly use the application. If you specify the “Path” variable to include CL’s path then you can use it anywhere.

Mac OS X and Linux:

  1. Open Terminal

  2. Type (replacing “/Applications/HeapCL/” with the path of your installation):

    echo 'export PATH=/Applications/HeapCL/:$PATH' >> ~/.bash_profile

  3. Restart Terminal

Windows:

  1. From the desktop, right-click My Computer and click Properties
  2. In the System Properties window, click on the Advanced tab
  3. In the Advanced section, click the Environment Variables button
  4. Under User variables, click New
  5. Name the variable “Path” and enter “C:\HeapCL” (where “C:\HeapCL” is the path to HeapCL)