2015/08/06

PIMMS 的安裝筆記

簡單地將剛剛安裝 PIMMS 指令的過程記錄一下。

******************************

PIMMS 在 HEASARC 的官方介紹網頁:
http://heasarc.gsfc.nasa.gov/docs/software/tools/pimms.html

非常簡易的使用者導引:
ftp://legacy.gsfc.nasa.gov/software/tools/pimms.pdf

原始碼下載網址:
ftp://legacy.gsfc.nasa.gov/software/tools/pimms4_7d.tar.gz

安裝說明頁面:
http://heasarc.gsfc.nasa.gov/docs/software/tools/pimms_install.html

******************************

節錄安裝說明網頁的部分敘述:

% make arch=solaris

The makefile allows for linux, darwin (Mac OS X), solaris, alpha, sun (for pre-Solaris SunOS), and dec (Ultrix), although recent versions have not been tested on many of the legacy systems.~

但剛剛測試時發現在10.10.4 (Yosemite) 之下,
得使用 make arch=osx 才會開始編譯動作。
另外因我是用 MacPorts 來安裝額外的命令程式,
MacPorts 針對優勝美地目前沒有 gfortran,
所以有新增 FC = g77 在 Makefile 中。

編譯過程有一個警告訊息,
是針對 osx 最低版本的設定,
所以不理會XD

目前 PIMMS 指令模式執行後看起來正常,
希望等等開始進行測試時不會出現問題呀!

[備註01]
HPC 提供了給優勝美地用的 gfortran5.1:
http://nchc.dl.sourceforge.net/project/hpc/hpc/g95/gfortran-5.1-bin.tar.gz
等等在 Crab#3 安裝 PIMMS 就直接來用這 gfortran 編譯吧!

[備註02]
順便記錄一下在 MacPorts 發現了:
*g95 @0.93_4 (lang) : Another GNU Fortran 95 compiler
*wcstools @3.8.7_1 (science) : Programs for manipulating world coordinate systems (WCSs) in FITS images
等等新套件~等等也順便將 wcstools 裝到 Crab#3 上面!

然後 Bandy 似乎需要 gsl 套件來跑她的 codes~
*gsl @1.16_3 (math, science) : A numerical library for C and C++ programmers
等等也順手裝上...