Download the disk image from the link above (it is named Gridlink.dmg). Attach the disk image. Drag the figure 8 icon into your Applications folder (or wherever else you might want it to go). Double click the figure 8 icon to run the program. To uninstall, drag the application to the trash.
Download the Gridlink.exe file from the link above and save to disk on your desktop or in the folder of your choice. Double click the figure 8 icon to run the program. To uninstall, delete the file.
These instructions are for installing Gridlink and py_hfk as python extension modules. The py_hfk module must be installed to enable Gridlink to compute Heegaard Floer Knot homology, but Gridlink will run happily without py_hfk.
NOTE: In order to work with a Windows python distribution, the py_hfk module must be compiled with the proprietary Microsoft C++ compiler. The build directory in the zip archive contains a pre-compiled library, built with the Python 2.4 distribution for Windows and the Microsoft compiler.
The description below is written for the gridlink package; follow the same procedure to install py_hfk. On some linux systems, e.g. debian, it may be necessary to install the python-dev package in order to do the installation.
cd /tmp
or cd Desktop
)tar xfvz gridlink.tgz
in UNIX or Mac OSX) cd Gridlink_pkg)
sudo python setup.py install
python setup.py install
python setup.py install --home ~
export PATH=~/bin:$PATH
export PYTHONPATH=~/lib/python:$PYTHONPATH
For the csh or tcsh shells:
setenv PATH "~/bin:$PATH"
setenv PYTHONPATH "~/lib/python:$PYTHONPATH"