とらりもんHOME  Index  Search  Changes  Login

とらりもん - Rstar Diff

  • Added parts are displayed like this.
  • Deleted parts are displayed like this.

!Rpstar3
[[http://157.82.240.167/~clastr/dl/R-pstar3.html]]

ifortのインストール
[[https://www.intel.com/content/www/us/en/developer/articles/tool/oneapi-standalone-components.html#fortran
]]
[[https://www.intel.com/content/www/us/en/developer/articles/tool/oneapi-standalone-components.html#fortran]]
sudo apt -y install libatlas3-base libatlas-base-dev
chmod +x l_fortran-compiler_p_2022.0.2.83*sh
./l_fortran-compiler_p_2022.0.2.83_offline.sh
ln -s ~/intel/oneapi/compiler/2022.0.2/linux/bin/intel64/ifort ~/ifort

Rpstar3のコンパイル
tar xvf r-ps3_dbs200904.tar
tar xvf r-pstar3_200903.tar
mv r-pstar3/* ./
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib64:
make

!Rstar7
[[http://157.82.240.167/~clastr/dl/rstar7.html]]

!Rstar6b
[[http://157.82.240.167/~clastr/dl/rstar6b.html]]

以下はIntel Core i5の4コアCPUマシン, Ubuntu Linux 10.04による実行例

事前にインテルFortranコンパイラをインストールしておく(非商用なら無料でライセンスキーがもらえる)。

$ tar zxvf rstar6b.tar.gz
$ cd rstar6b.pack/
$ cp -p ckd.g.ch_2_1e3_ltl ckd.g.ch_2     # サンプル結果のout0はこの1e3を前提にしているらしい。
$ ifort -O -r8 -assume byterecl rstar6b.f
$ ./a.out
$ less out          # out0と比較!