Backup: The. bashrc file installed by GAMIT and the Ubuntu Partition

Source: Internet
Author: User
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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.