Install GAMIT10.5 in CentOS

Source: Internet
Author: User

Install GAMIT10.5 in CentOS

There have been many blog posts on installing GAMIT/GLOBK software in Ubuntu, but there are not many installation procedures in CentOS. Here we will introduce the installation process. The environment is CentOS6.5 and GAMIT version is 10.5.

Step 1

Switch SHELL and enter the following command on the terminal:

Chsh

Input:

/Bin/tcsh

Change the default SHELL to TC Shell.

After the change, log out and log on to the system again.

Step 2

1. Install libX11-devel (GAMIT installation essential Library)

Terminal: (if you are prompted that you do not have the permission, add sudo to the command)

Yum install libX11-devel

2. Install the FTP tool (used to automatically download data)

Run

Yum install ftp

Step 3

1. Copy The GAMIT installation package to/opt (of course, it can be any path you want to install gamit to. Here, use/opt as an example)

Then execute:

Sudo chmod 755-R gamit10.5

2. Go to the gamit10.5 Folder:

Cd./gamit10.5

Run:

./Install_software

Install the parameters as prompted:

MAXSIT 60

MAXSAT 32

MAXATM 13

MAXEPC 2880

Enter n.

Open the Makefile. config file in the libraties folder,

Modify

MAXSIT 60

MAXSAT 32

MAXATM 13

MAXEPC 2880

Parameters required for your task

Meaning: MAXSIT (maximum number of stations, depending on your computing task); MAXSAT (maximum number of satellites, which generally do not need to be modified); MAXATM) MAXEPC (the maximum number of computing records, which do not need to be modified)

# ----- For Linuxfrom 0.0.1 to 3.0.0 --#

OS _IDLinux 0001 3000

Is

# ----- For Linuxfrom 0.0.1 to 3.0.0 --#

OS _ID Linux 0001 2632

The modified value here is your linux kernel version number. The modified value depends on the situation, and my system is centos6.5. You can open a new terminal and run the uname-a command to view your system version.

Save the changes. Re-Execute:

./Install_software

Select y for all inquiries. After the installation is successful, the system will prompt:

++

GLOBK installed

++

Last

Configuration path

Go to the/etc folder, edit the csh. cshrc file, and add the following code at the bottom:

Set gamitpath =/opt/gamit10.5

Setenv PATH "$ gamitpath/gamit/bin: $ gamitpath/kf/bin: $ gamitpath/com: $ PATH"

Setenv HELP_DIR $ gamitpath/help/

Save and exit.

So far, the installation of Gamit/globk software is complete. You can run the doy command in the terminal.

In addition, to fully use various functions of gamit, such as plotting, you also need to install software such as Ghostscript, imagemagic, and gmt.

GAMIT reading: l

This article permanently updates the link address:

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.