Ubuntu12.04 GAMIT10.40 installation instructions

Source: Internet
Author: User
Tags gz file gfortran
Install GAMIT10.40 in Ubuntu12.04: copy the secret to the opt/gamit10.40/directory. Create a folder named 10.40, sudomkdirgamit10.40, and 3. Install Cshell. Sudoapt-getinstallcsh; 4 install gfo

Install GAMIT10.40 in Ubuntu 12.04:

1. Prepare gamitsoftware --gamit.tar.gz at the beginning, which is about 64 M;
2. Copy the downloaded gamit.tar.gz file to the opt/gamit10.40/directory. Create a folder named 10.40 and sudo mkdir gamit10.40;
3. Install Cshell. Sudo apt-get install csh;
4. Install gfortran. Sudo apt-get install gfortran;
5 install libx11-dev library support. Sudo apt-get install libx11-dev;
6. Install the Gamit software and go to The gamit directory. First, decompress sudo tar-xvf gamit.tar.gz. Then run the command chmod + x install_software on the install_software file, then enter. /install_software.
8. system prompts: (with root permission)

GAMIT and GLOBK to be installed into/opt/gamit10.40

If you need help with command line options type CTL_C now and type
Install_software-help on the command line

The compressed tarfiles will be removed after extraction of
Directories, but should t for that, the script may be stopped and
Rerun safely from any point. Tarfiles to be uncompressed:

Com.10.40.tar.gz examples example.10.40.tar.gz gamit.10.40.tar.gz help.10.40.tar.gz kf.10.40.tar.gz libraries.10.40.tar.gz maps.10.1.tar.gz tables.10.40.tar.gz

Continue? (Y/n)
Enter y to decompress the installation file.

...

Tables/nutabl.2009

Tables/nutabl.2008


Do you want to apply incremental updates: incremental_updates.090928.tar.gz

Continue? (Y/n)

Enter y to decompress the installation file,

.. Applying incremental updates:

.. Adding/opt/gamit10.40/com to your search path to continue installation To execute GAMIT and GLOBK you will need to set your login path to include/opt/gamit10.40/com/opt/gamit10.40/ gamit/bin/opt/gamit10.40/kf/bin You will also need the alias or link gg ???> /Opt/gamit10.40

Your Operating System type is: Linux

Your default awk version is:/usr/bin/awk

These are the default paths to X11 found in Makefile. config

X11LIBPATH:/usr/lib/X11

X11INCPATH:/usr/include/X11

Searching your system for X11 installation

Found these paths to X11 libs and between des on your system

X11LIBPATH:/usr/lib

X11INCPATH:/usr/include/X11

Are these correct for your system?

Continue? (Y/n)

In this case, do not continue the installation. Go to the/opt/gamit10.40/libraries/directory and modify a set of parameters in Makefile. config.

MAXSIT 60

MAXSAT 32

MAXATM 13

MAXEPC 2880

Change MAXATM to 25. Return to the terminal,

"Enter letter y", prompt

GAMIT dimensions in/libraries/Makefile. config are set

Maxsit = 60

Maxepc = 2880

Maxatm = 25

Maxsat = 32

Are these defaults found in Makefile. config correct?

If NOT edit the Makefile. config now before choosing to contine

Continue? (Y/n)

Enter y to start installation. During this period, the following problems will occur:
Running unimake to create Makefile for comlib

System name: Linux jeydragon-VirtualBox 3.0.0-13-generic # 22-Ubuntu SMP Wed Nov 2 13:25:36 UTC 2011 i686 i686 i386 GNU/Linux

System release number translated to 3203

OSID Linux 3203 not found in Makefile. config-remove Makefile and STOP

Failure in make_gamit -- install_software terminated

Solution: Modify the Makefile. config folder in opt/gamit10.40/libraries and find

# ----- For Linux from 0.0.1 to 3.0.0 --#

OS _ID Linux 0001 3000

Modify it:

# ----- For Linux from 0.0.1 to 3.0.0 --#

OS _ID Linux 0001 3203

The problem is solved.

9. A prompt will be displayed at the end of the installation.
++

GLOBK installed

++

Create the gg link in your home directory to the version

Gamit/globk you just installed? (Y/n)

"Enter letter y", Press enter, display

Making required ~ /Gg link to newly installed software

Ln? S? F/opt/gamit10.40 ~ /Gg

Don't forget to set your: path to include/opt/gamit10.40/gamit/bin and/opt/gamit10.40/kf/bin

: HELP_DIR environment variable in you shell profile

(In. cshrc/. tcshrc add: setenv HELP_DIR/opt/gamit10.40/help /)

: INSTITUTE evnironment variable in your shell profile

(In your. cshrc/. tcshrc add: setenv INSTITUTE where_ I _work)

Where_ I _work is a 3 character identifier for your solutions

10 so far, the software has been installed successfully. But before the software can be used normally, you must modify. bshrc file. open the terminal, enter the main folder (home), and enter gedit. bshrc. copy the following content to the bshrc document:
Export PATH = $ PATH:/home/xinsui/GNSS_SOFT/gamit10.40/gamit/bin:/home/xinsui/GNSS_SOFT/gamit10.40/kf/bin: /home/xinsui/GNSS_SOFT/gamit10.40/com:/home/xinsui/GNSS_SOFT/gamit10.40/gamit/com
Export HELP_DIR =/home/xinsui/GNSS_SOFT/gamit10.40/help/
Export INSTITUTE = 'sog'

11. Check whether the verification is successful. Run the doy Command, as prompted:
 
DOY: Converts various date formats
 
DOY: Converts various date formats.

......

Indicates that the installation and configuration are successful.

GAMIT reading: Http://www.linuxidc.com/GAMIT/

GAMIT10.4 and GAMIT of the latest versionDownload in Linux community FTP server No. 5, specific download see http://www.linuxidc.net/thread-1186-1-1.html

This article permanently updates the link address: Http://www.linuxidc.com/Linux/2016-02/128251.htm

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.