3 LAM Rmpiが入ったところで動作確認

lamをとめて、ブートして、Rを立ち上げて、Rmpiパッケージを読み込んで、Rmpiの関数をいくつか使って、それぞれを閉じて、Rも閉じて、lamも止めている。途中Rmpiパッケージを読み込んだところで、エラー "rsprng package is not installed. Cannot use SPRNG." が出ている。rsprngパッケージとは『rsprng
SPRNG (Scalable Parallel Random Number Generators) APIs とのインターフェイス, およびその使用のための実行例と文書を提供します. 』--(RWikiの記事より)
並列処理に合致させた乱数発生は必要なので、このパッケージもインストールが必要。そのインストールはこちら

$ lamhalt

LAM 7.1.1/MPI 2 C++/ROMIO - Indiana University

$ lamboot -v

LAM 7.1.1/MPI 2 C++/ROMIO - Indiana University

n-1<30385> ssi:boot:base:linear: booting n0 (localhost)
n-1<30385> ssi:boot:base:linear: finished
$ R

R : Copyright 2005, The R Foundation for Statistical Computing
Version 2.1.1  (2005-06-20), ISBN 3-900051-07-0

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for a HTML browser interface to help.
Type 'q()' to quit R.

[Previously saved workspace restored]

> library(Rmpi)

        Rmpi version: 0.4-9
        Rmpi is an interface (wrapper) to MPI APIs
        with interactive R slave functionalities.
        See `library (help=Rmpi)' for details.
> mpi.spawn.Rslaves(nslaves=1)
        1 slaves are spawned successfully. 0 failed.
master (rank 0, comm 1) of size 2 is running on: SERVER-HOGE
slave1 (rank 1, comm 1) of size 2 is running on: SERVER-HOGE
rsprng package is not installed. Cannot use SPRNG.
> mpi.remote.exec(mpi.get.processor.name())
$slave1
[1] "SERVER-HOGE"

> mpi.close.Rslaves()
[1] 1
> mpi.spawn.Rslaves()
        1 slaves are spawned successfully. 0 failed.
master (rank 0, comm 1) of size 2 is running on: SERVER-HOGE
slave1 (rank 1, comm 1) of size 2 is running on: SERVER-HOGE
rsprng package is not installed. Cannot use SPRNG.
> pi
###
koiti_yano氏のブログでは、ここが >simple.pi(1000)となっていて、エラーが出ていない
おそらくsprngが動いているからと思われる(未確認)
###
[1] 3.141593
> mpi.close.Rslaves()
[1] 1
> q()
Save workspace image? [y/n/c]: y
$