跳到主要內容

GAMIT/GLOBK 10.31 Installation on Opensuse 10.2

GAMIT/GLOBK 10.31 Installation on Opensuse 10.2
by. K. Cheng 5/25/2007
GAMIT/GLOBK is a GPS processing software developed by MIT.

1. Fix gfortran 4.2 problem: gfortran 4.1 is installed with Opensuse 10.3 but GAMIT/GLOBK requires gfortran 4.2.
  • install svn with yast (see documentation here).
  • download gcc (gfortran) 4.2 with subversion (took long time to download it).
  • see documentation, namely, gfortran on MIT's ftp site for the command of svn.
2. Configure/install/build gcc (gfortran) 4.2.
  • see the document installing_g77 from MIT's ftp site.
  • one typo found in the document: configure --prefix=/usr/local
  • at configuration, the screen will show
***....The following languages will be installed: ..... C++,java,....
Fortran is not included!

3. Check prerequisite for gcc: http://gcc.gnu.org:
  • under installation/prerequsite, it says MPRF should be v 2.1.1 or later.
  • MPRF is 2.1.0 on opensuse 10.2
4. Download MPRF source codes (http://www.mprf.org)
  • configure and installation (see Documentation/installing MPRF from mprf web)
  • configure/make/make check/make install
5. Redo step 2. The screen now says:
***....The following languages will be installed: ..... C++,java,....
Fortran is now included!

6. Following installing_g77 to complete the installation of gcc
  • configure --prefix=/usr/local
  • make bootstrap
  • make install
7. Add environmental variable: LD_LIBRARY_PATH to ensure running
  • export LD_LIBRARY_PATH=/usr/local/lib64
8. complier installed:
  • cc 4.1.2
  • gcc 4.2.1
  • c++ 4.2.1
  • cpp does not work.
  • g77 (f77) 3.3.5
  • gfortran 4.2.1
9. Now we start installing GAMIT/GLOBK
I simply followed the instruction from the downloaded package. Some note though:
  • unalias 'ls'
  • make sure the path of old com does not get in the way
  • GMT should be in US units (not in SI)

留言

DragonHead寫道…
I have issue to install this software after I type . ./install_software which gives line 18: syntax error near unexpected token `('. What's that mean? Can you show steps how to install?
Kevin寫道…
Hi, this procedure is probably not required since gfortran 4.2 has been released in the latest version of Opensuse.

這個網誌中的熱門文章

安裝 Linux mint 17 的efi分割區

2016 / 7 / 17 更新: 測試了Linux Mint 17.3,沒問題,我採用單系統,就是沒有Windows whatsoever installed 底下註1的提醒,不會出現,所以要自己記得要:用EFI模式開機、 記得自己增加一個EFI partition、製作這個partition時,種類選擇EFI 即可,下面的3.說的步驟可以省略。 我的EFI partition大小為200 MB,為sda1。這是完全用猜的。 Figure credit: linuxmint.com 2015 / 9 / 10 更新: 根據  Dual Boot openSUSE 13.2 and Windows 8.1 UEFI » TweakHound 的步驟,可以解決安裝好不能開機的問題。雖然他講的是針對OpenSuse的操作,但是開機、EFI分割區等概念是相通的。在OpenSuse 13.1上面實測是ok的。 2014 / 11 / 21  重點如下: 光碟要用EFI模式開機 硬碟中要有一個EFI分割區(至少35MB,不知道這個大小是否與系統有關) 硬碟分割的那個畫面, Device for bootloader installation 處,應指到2的EFl分割區(EFI boot partition) 根據資料來源的說明如下 *  VERY IMPORTANT STEP!!!  Near bottom of window,  "Device for bootloader installation"  should be the  EFI System Partition.  Select that one in the drop-down box. It will be a small (200-550MB) partition formatted as FAT32. It will likely be /dev/sda1 or /dev/sda2; but double-check that to be sure. 註1:硬碟分割的那個畫面,如果沒有EFI分割區,按下一步時系統會...