跳到主要內容

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.

這個網誌中的熱門文章

octave 繪圖的字體調整 fontsize

用octave繪圖的時候,通常有下面的調整: figure (1);  #####設定x軸字體 xticklabel set(gca(), 'fontsize', 24)    plot(randn(100,1)); #####利用text property調整字體 legend('{\fontsize {24} random pts}');  xlabel('{\fontsize {24} X axis annotation'); 參考資料: octave manual matlab central

守望台書庫光碟2010安裝在ubuntu 11.10

更新: 書庫可以在ubuntu 12.04 (wine 1.4)中順利運行,不必經歷下面的修改步驟。 因為一不小心把ubuntu 11.04升級到11.10,發現《守望台書庫光碟2010》(Watchtower Library 2010)本來可以運作好好的,竟然不能工作了。底下是我找到的一些克服的方法: 因為是從11.04升級到11.10,因此我的wine版本是wine-1.3.28,而這個版本,也是出現問題的版本,原因在 wineHQ的網頁 上有講: Watchtower Library 2010 does not work in wine 1.3.27/28 While this bug is not fixed you can fix it yourself. You need to remove a manifest for built-in version of MS runtime library. You can do this by executing the following code in terminal: rm ~/.wine/drive_c/windows/winsxs/manifests/*.vc90.*_deadbeef.manifest 怎麼知道安裝的wine的版本?打開『終端機』,鍵入 wine --version 解決的方法 先安裝《守望台書庫光碟2010》英文版,之後再安裝中文版。我不知道安裝的先後有沒有一定,也沒測試到不裝英文會不會有影響。安裝方法跟一般的安裝微軟程式差不多。以中文版為例,放入光碟,打開『終端機』,鍵入 cd /media/WTLIB10CH wine ./Setup.exe  就會進行安裝,安裝步驟你也可以參考下面講到的  -: an everyday story of country folk :- 安裝完之後,桌面會有兩個圖示,其中一個 .link的沒有用,可以刪除。雙按桌面的另一個圖示,名稱是『Watchtower Library 2010 - 漢語繁體字』,不能執行! 接下來用上面講到的原因,要刪到一個manifest,不懂是什麼意思。在『終端機』,鍵入 rm ~/.wine/drive_c/windo

Windows 使用遠端桌面(RDP) 連線遙控 Linux Mint

Main steps: make sure xrdp and vino are installed make sure extra tightvncserver is also installed use vino-preferences to switch on/off the permission use sudo /etc/init.d/xrdp restart to restart vnc server references: Windows 使用遠端桌面(RDP) 連線遙控 Ubuntu install tightvncserver image credit: sourceforge.net