This information is compiled through experience with first-time users ofGAMIT/GLOBK from workshops and elsewhere. Details are provided for installingGAMIT/GLOBK on Linux, Mac and Windows. Additional information is provided on optional programssuch as GMT (required forany GAMIT/GLOBK scripts that produce plots), Tom Herring's tsview and velview tools andCATS (see here also).
We provide a Quick Start Guide and anIntroduction to GAMIT/GLOBK as well as more detailedreference manuals for GAMIT and GLOBK. We recommend that all users using the softwareat least read the first two documents before starting with the software andrefer to the latter documents for more advanced information as you gainexperience.
Once you have completed the steps described for your system, below, you maydownload and install GAMIT/GLOBK from the source code provided on the FTPserver. Further information is available on the main GAMIT/GLOBK web page.
There are many different types of Linux system and each is slightlydifferent. However, if you are a Linux user, it is likely that you are familiarwith the command line interface, the requirements described above and installingpackages as necessary. So I will restrict myself here simply to note a couple ofspecific points that I am aware of.
It is likely that most Linux systems will have a Fortran and C complilerinstalled by default. However, be sure to check with your system administratoror review instructions from your OS distributor (e.g. compilers on Ubuntu) to ensure that this is the case. You may also need toinstall the "gcc-multilib" and/or "gfortran-multilib" packages to ensurecompatibility.
Beware that some systems (e.g. Ubuntu) may also require installation of cshand tcsh for GAMIT/GLOBK scripts to run. These may be installed quickly andeasily through, e.g., the Ubuntu Software Center or
sudo apt install makelibx11-dev csh tcsh
Apple provides many advanced command line tools with Xcode, a package mostlydesigned for developers of software but which also contains a C compiler and theX11 libraries and headers required for GAMIT/GLOBK. One must be registered as an AppleDeveloper in order to log in and download Xcode or the Command Line Toolsonly but the program is free to join and there are no obligations. Note thatthis is different from the regular Apple ID.
From February 2012 and Xcode 4.3, Command Line Tools areavailable as a separate, smaller download also, which significantly reduces thesize of the installation. Note that Xcode, but not the separate Command LineTools sub-package, is available through the App Store for Mac OS X 10.7.3(update of Lion) and later, or macOS.
If using Xcode 4.3.1 or later for Mac OS X 10.7, 10.8, 10.9, 10.10 or 10.11,or macOS 10.12 or 10.13, you must open Xcode (under "Applications") andadditionally select to install "Command Line Tools" in "Preferences".Alternatively, run xcode-select --installfrom the command line. If you are using another version of Xcode, I recommendselecting not to install anything except these command line tools in theinstallation wizard because Xcode is a very large package from which we onlyrequire a small number of programs.
Recent releases of Windows 10 have the ability to install and run a more"native" command line. Follow the Microsoft Docsinstallation guide to install the "Windows Subsystem forLinux". Once complete, ensure installation of required packages, e.g. forDebian-based distributions such as Ubuntu:
sudo apt installgfortran make libx11-dev csh tcsh bc
or for RPM-based distributions such as openSUSE:
sudo zypper installgcc-fortran libX11-devel tcsh ftp hostname
Otherwise I recommend installing a virtual machine (e.g. VirtualBox or VMWare Workstation Player),which then requires the installation of a regular Linux distribution (e.g. Ubuntu) to run via the virtualmachine. One may then install and run GAMIT/GLOBK on this virtual machineoperating system.
Previously I had preferred to use Cygwin,which is a common Linux "emulator" for Windows, for installing and runningGAMIT/GLOBK. To install Cygwin, download and run setup-x86.exe (32-bit) or setup-x86_64.exe (64-bit) to begininstallation. Generally the defaults shown throughout the installation processare adequate and need not be changed. There are, however, specific packageswhich are required in addition to the default Cygwin packages that areinstalled. These are at least:
I also highly recommend installing the X11/xinit package and itsdependencies. This will provide an X Windows environment from which one can openand use, for example, Emacs for creating or editing text files. This isimportant given then different end-of-line characters between Windows and othersystems (Unix, Linux and Mac OS X or macOS).
There are several additional programs that users may find useful, if notnecessary, to install. The major addition is GMT, which is required for anyGAMIT/GLOBK scripts that produce plots, e.g. sh_plot_pos, sh_plotvel, etc. GMTproduces Postscript graphics which are most readily viewed using, for example,"gs" or "gv".
d3342ee215