Yellow Dog Linux 6.0 に Cell SDK 3.0 を入れてみた。

| コメント(0) | トラックバック(0)

最近、自分で苦労したことのストレス発散にブログ書いてるようなことが多いような。

AC 面接で、試験官に Cell についていろいろ触発されてしまったので。

ということで、久しぶりに Cell で遊んでいるわけですが。

前やった時は、Fedora でやったんで特に問題なかったんだけど、なんか YDL でやったらインストールできなくて。

同じ問題で困ってる人多そう、ってことで。

前の時は、Cell いじりも、SD なテレビでガシガシやってたもんですから、非常に退屈ですぐやめちゃったんだけど。

思ってみれば、VNC, SSH あ~!ということになぜ気付かなかったのだろう、で今はリモートでやってます。

 

Cell SDK のダウンロード

ここからダウンロードできます。

たぶん、RHEL 5.1 でいいんじゃないかな?と。(YDL ってベースなんだっけ

なんか、IBM のユーザー登録が必要だったりします。

 

Cell SDK のインストール...のはずが。

"IBM SDK for Multicore Acceleration" ってページについたら、ダウンロードできるようになるわけですが。

Installation Instructions に書いてあるとおり、インストールしてみる。

  1. Install the Linux Operating System (RHEL5.1) on the target hardware.
  2. Install the SDK prerequisites using YUM
    yum install rsync sed tcl wget
  3. Stop the YUM updater daemon
    /etc/init.d/yum-updatesd stop
  4. Download the attached SDK installer RPM and ISO image(s) into a temporary directory such as /tmp/cellsdkiso. The Extras ISO is optional.
  5. Install the SDK Installer using RPM
    rpm -ivh cell-install-3.0.0-1.0.noarch.rpm
  6. Install the SDK
    cd /opt/cell
    ./cellsdk --iso /tmp/cellsdkiso install
  7. Add exclusions to the YUM configuration file /etc/yum.conf
    exclude=blas kernel numactl oprofile
  8. Restart the YUM updater daemon
    /etc/init.d/yum-updatesd start

 

問題発生...

この手順のとおり、インストールしてみるんだけど、なぜか 6 番で止まる。

何回やっても止まる。

cellsdk INFO-2023: Trying to install or update cell-product-license
cellsdk INFO-2023: Trying to install or update cell-devel-license
cellsdk INFO-2033: cellsdk is unable to find the SDK files in the yum repositories.
cellsdk INFO-2033: Please be sure you used the --iso flag or that you can connect to the network.

と、出てきて止まる。

コマンドは、ダウンロードページのやつをコピペしたので、問題ないはず。

ネットワークもつながってるはず...なんで?

 

いろいろ調べてるうちに、これを発見。

なるほど。

I noticed my distro was found as Fedora. I looked at the script to see why it wasn't RHEL and there's a section where it says:

for file in `ls /etc/*-release 2>/dev/null; do
((redhat += `grep -ic "red hat" $file` ))
done
if (( redhat > 0)); then
distro = "RHEL"
else
distro = "Fedora"
fi

 

無理やり解決編

/opt/cell/cellsdk を弄ります。

いろいろ手段はありますが、これが一番手っ取り早いです。

なんか、Fedora の方でインストールすればすんなりいくような、いかないような...ってのは気にしない。

# Some machines have BOTH /etc/redhat-release and /etc/fedora-release.
# The file contents seem to correctly indicate what's installed,
# regardless of the filename.
#let redhat=0
#for file in `ls /etc/*-release 2>/dev/null`; do
#    ((redhat += `grep -ic "red hat" $file`))
#done
#if ((redhat > 0)); then
    distro="RHEL"
#
else
#    distro="Fedora"
#fi
log TRACE2 4058 "distro=$distro"

 

だけど、やっぱりうまくいかないです。

しかしこれは何となく察しがついて、一度削除しないとだめっぽいみたいな。

もし、一度 cellsdk install してしまった場合は

./cellsdk uninstall

してから、手順を最初からやり直してみると、うまくいくと思います。

 

以上...

これから、Cell 遊びについて、いろいろ書くかもしれないです。

 

PS3 Linux 関連記事

トラックバック(0)

トラックバックURL: http://techno-st.net/mt/mt-tb.cgi/670

コメントする

2009年6月

  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30        

最近のブログ記事

再度、また回線が...
なんでこうなるの~!! と、叫んでもし…
Skype ボタンの Messenger 版のようなものを作りました。
見てもらえばわかります、タイトルそ…
つくらぐ 勉強会 #2 が開催されて一週間も経ってしまいました...
あー、書こう、と思っていつのまにか…

for mobile

Ads

 - trial and error



track feed trial and error