Disusun Oleh :
Anindya Sricandra Prasidya
Dipersiapkan untuk :
PRAKTIKUM MATAKULIAH SISTEM REFERENSI DAN
PENENTUAN POSISI
perintah copy file dari /home/user/gamit.10.5 (asumsi folder source gamit bernama gamit.10.5 pada
home/user)
cp -f ~/gamit.10.5/* .
- Selanjutnya buat file install_software pada usr/local/gamit.10.5 menjadi executable file dengan cara :
chmod +x ./install_software
- Lalu run perintah :
./install_software -c gftn (enter)
- Tunggu prosesnya, hingga muncul tampilan :
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 the directories, but except
for that, the script may be stopped and rerun safely from any point. Tarfiles to be
uncompressed :
Continue ? (y/n)
. . .
. . .
tables/soltab.1995.J2000
tables/soltab.1990.J2000
tables/map.grid.2005
tables/lubtab.1985.J2000
- Ketik “y” lalu [enter], tunggu prosesnya dan muncul sebagian tampilan berikut :
. . .
. . .
. . .
./kf/plot/x1000/jr2dr_gftn.c
./kf/plot/x1000/j2mrk_gftn.c
./kf/plot/x1000/jjust_gftn.c
./kf/plot/x1000/jwloc_gftn.c
./kf/plot/x1000/jend_gftn.c
./kf/plot/x1000/jbegn_gftn.c
./kf/plot/x1000/cufy_gftn.c
=================================
Using compiler option : gftn
=================================
Have you checked that compiler flag options is the assignment block
of the ./libraries/Makefile.config for your particular hardware/OS type
are correctly set for your compiler?
If NOT stop now, and make compiler flag options assignment block for your particular
hardwar/OS type in ./libraries/Makefile.config. the same as the compiler flag options
assignment block for Linux. (Only the 4 lines defining compilers and compiler flags
need to be modified).
Continue ? (y/n)
. . .
. . .
. . .
# ------------------------ common --------------------------------- #
# X11 library location – uncomment the appropriate one for your system
# Generic (will work on any system if links in place)
X11LIBPATH /usr/lib/X11 <---------------- kolom 1 di baris ini ketik #
X11INCPATH /usr/include/X11 <---------------- kolom 1 di baris ini ketik #
# Specific for Sun with OpenWindows
#X11LIBPATH /usr/openwin/lib
#X11INCPATH /usr/openwin/share/include/X11
# Specific for PC Solaris 10
#X11LIBPATH /usr/openwin/lib
#X11INCPATH /usr/openwin/share/include/X11
# Specific for Linux RedHat 7,8 and 9, RH-FCl -> 3
#X11LIBPATH /usr/X11R6/lib
#X11INCPATH /usr/X11R6/include/X11
# Specific to FC5
#X11LIBPATH /usr/lib <---------------- tanda # di kolom 1 dihapus
#X11INCPATH /usr/include/X11 <---------------- tanda # di kolom 1 dihapus
# Specific for MIT HP and Sun for Release 5
#X11LIBPATH /usr/lib/X11R5
#X11INCPATH /usr/include/X11R5
. . .
. . .
- Kemudian simpan perubahan dengan klik save dan lakukan run ulang perintah install software sebagai
berikut :
./install_software -c gftn [enter]
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 the directories, but except
for that, the script may be stopped and rerun safely from any point. Tarfiles to be
uncompressed :
=================================
Using compiler option : gftn
=================================
Have you checked that compiler flag options is the assignment block
of the ./libraries/Makefile.config for your particular hardware/OS type
are correctly set for your compiler?
If NOT stop now, and make compiler flag options assignment block for your particular
hardwar/OS type in ./libraries/Makefile.config. the same as the compiler flag options
assignment block for Linux. (Only the 4 lines defining compilers and compiler flags
need to be modified).
Continue ? (y/n)
To execute GAMIT and GLOBK you will need to set your login path to include
/usr/local/gamit.10.5/com /usr/local/gamit.10.5/bin /usr/local/gamit.10.5/kf/bin
Are these paths complete and correct for your system? (y/n)
- Ketik “y” lalu [enter], lalu tunggu sampai selesai (kecepatan selesai tergantung spesifikasi komputer) dan
muncul tampilan berikut :
. . .
Gfortran -03 –Wunitilalized –fno-f2c –ffast-math –fno-automatic –fno-backlash
multibase.f ./plot_lib.a x1000/x1000.a ../gen_util/gen_util_lib.a
../../libraries/comlib/com_lib.a –L/usr/lib-lX11 –o multibase
rm –f multibase.o
Made plot
Links made
++++++++++++++++++
GLOBK installed
++++++++++++++++++
- Kemudian lakukan setting path pada setiap folder di /home/user (seperti yang diperintahkan diatas)
o Keluar dari user root (ketik “exit” lalu enter pada terminal)
o Kemudian “exit” kembali untuk menutup terminal
o Buka kembali terminal
o Buat file .bashrc (untuk ubuntu, centos memakai .cshrc dengan cara :
export PATH=$PATH:/usr/local/gamit.10.5/gamit/bin
export PATH=$PATH:/usr/local/gamit.10.5/kf/bin
export PATH=$PATH:/usr/local/gamit.10.5/com
export HELP_DIR=/usr/local/gamit.10.5/help/
export INSTITUTE=UGM
- Masuk lagi pada terminal, kemudian lakukan test untuk menguji apakah GAMIT telah berhasil terinstal
atau belum, run perintah :
doy [enter]
Runstring:
% doy <jd/year> <doy/month> <day> <hr> <min>
or
% doy <gps_week>W <gps_sow/gps_dow>
or
% doy <DecYear>Y
***TODAY*** IS:
Date 2015/04/26 20:40 hrs, DOY 116 JD 2457139.3612 MJD 57138.8612
GPS Week 1842 Day of week 0, GPS Seconds 74405 Day of Week Sun
Decimal Year 2015.317427860 GRACE Seconds 483352805.0
sh_gamit [enter]
==================================================================================
Other options are set in the process.defaults file located in the tables directory
Example: sh_gamit -d 98 240 -orbit SIOF -expt tubi -eops usno -nogifs
Bisa juga dicoba run perintah seperti tform, sh_glred, sh_get_ion, sh_upd_stnfo, dll.
- Kemudian untuk update file ocean tide loading, atmospheric loading, dan mapping function, lakukan
penggantian file dalam /usr/local/gamit.10.5/tables dengan file yang baru. File-file tersebut dijadikan
dalam satu folder (misal : /home/user/file_koreksi_gamit) antara lain :
Efendi, J. 2014. Instalasi GAMIT. Bagian Geodesi-Geodinamika, Pusat Jaring Kontrol Geodesi dan Geodinamika,
BIG. Unpublished document.