1. The GAMIT editor for bashrc runs in the csh or tcsh environment. After installation, you must set the environment variables in. cshrc. However, most Linux instances run in the bash environment. In fact, the difference between B-shell and c-shell is very small, but some set statements are slightly different. Every time you reinstall GAMIT, You need to review the previous. bashrc file. After careful research, it is easy to make mistakes. Once and for all, paste the following record: (copy it directly and put it in the main folder.
1. Edit bashrc
GAMIT runs in the csh or tcsh environment. After installation, you must set the environment variables in. cshrc. However, most Linux instances run in the bash environment. In fact, the difference between B-shell and c-shell is very small, but some set statements are slightly different. Every time you reinstall GAMIT, You need to review the previous. bashrc file. After careful research, it is easy to make mistakes. Once and for all, the post records are as follows:
(Copy the file directly and put it in the main folder. The path for storing my GAMIT software is ~ /Gamit10.4. For your reference, you only need to change the first line below to your own)
#========================== Below is edited for GAMIT, by whh on 20120623
Gamitpath = ~ /Gamit10.4
Export PATH = $ PATH: $ gamitpath/gamit/bin
Export PATH = $ PATH: $ gamitpath/kf/bin
Export PATH = $ PATH: $ gamitpath/com
Export PATH = $ PATH: $ gamitpath/gamit/com
Export HELP_DIR = $ gamitpath/gamit // help/
# Export PATH = $ PATH:/data/geodesy/gamit/com
# Export PATH = $ PATH:/data/geodesy/kf/bin
# Export PATH = $ PATH:/data/geodesy/gamit/bin
#--------------------------------------#
2. partitions of Ubuntu10.04
My Ubuntu10.04 manual partitions are as follows (GB free space, 2 GB memory ):
Size of the mount point (mb)
/Swap 4096 (4G)
/10240 (10G)
/Boot 10240 (10G)
/Home 85625 (83 GB) # allocate the remaining space to the main directory. It is used to store and process large data volumes.
3. Preparations before installing GAMIT in Ubuntu
Sudo apt-get install tcsh
Sudo apt-get install gfortran
Sudo apt-get install libx11-dev
Sudo apt-get install gmt
4. Personal Data (several personal preparations for the gamit solution)
Sittbl. (set constraints)
Sestbl. (different model settings)
Lfile. itrf05.apr (including the pre-coordinates of the test station set by yourself)
Atml (corresponding to the ATM disp_cm.yyyy in different years)
Map. grid (applicable to vmf1grd. yyyy and VMF1 of different years)
Otl. grid (FES, GOT, etc)
Hfiles and soln folders (for globk)
You can also use your own data backup directory ~ /Haohan/globkbackup
GAMIT read: http://www.linuxidc.com/GAMIT/
GAMIT10.4 download in Linux community 5 FTP server, specific download see http://www.linuxidc.net/thread-1186-1-1.html