高性能计算

yd6.2安装cellsdk

2010年4月23日 阅读(290)

先看个网址:yellow dog的论坛: http://www.yellowdog-board.com/viewforum.php?f=19
安装完yellow dog 6.2之后发现只有一些cell的编译工具,却没有发现需要使用的一些开发包,重新将安装盘mount作为repo。
[root@cell-node1 dev]# mount  /dev/cdrom /mnt/yd6cdrom
mount: block device /dev/cdrom is write-protected, mounting read-only
[root@cell-node1 dev]# cd /mnt/yd6cdrom
[root@cell-node1 yd6cdrom]# ls
etc  eula.txt  images  LICENSE  ppc  PS3  RELEASE-NOTES  RELEASE-NOTES.en  repodata  RPM-GPG-KEY  TRANS.TBL  YellowDog
[root@cell-node1 yd6cdrom]#

修改/etc/yum.repos.d/下的*.repo文件,将光盘设置为repo。

[base]
name=Yellow Dog Linux 6.2 Base
#baseurl=http://ftp.yellowdoglinux.com/pub/yellowdog/yum/6.2/base/
#mirrorlist=http://www.terrasoftsolutions.com/resources/yd62-base-mlist
baseurl=file:///mnt/yd6cdrom
enabled=1
gpgcheck=0
gpgkey=file:///mnt/yd6cdrom/RPM-GPG-KEY

在光盘中也未发现其余的开发包,比如blas库,因此决定去ibm网站重新下个cellsdk

安装cellsdk
http://www.yellowdog-board.com/viewtopic.php?f=19&t=4441&p=28134&hilit=cellsdk#p28134

Re: Install cell sdk 3.1 on ps3 ydl 6.1 fails evry time help pls

Postby WANgue ? 11 Apr 2009, 22:28

You probably want to modify it include the –nogpgcheck option.

Here is my modificationn to juanito’s instructions which allowed me to install all 3 packages and build all samples in the base SDK:

Grab the following from IBM DeveloperWorks, as directed:
cell-install-3.1.0-0.0.noarch.rpm
CellSDK-Devel-RHEL_3.1.0.0.0.iso
CellSDK-Extras-RHEL_3.1.0.0.0.iso

I grabbed them on a Windows box, scp-ed them to my PS3, then moved them to /tmp/sdkfiles/

Then:rpm -ivh /tmp/sdkfiles/cell-install-3.1.0-0.0.noarch.rpm
/opt/cell/cellsdk uninstall

That did some clean-ups/housekeeping.

Redid the install binaries as instructed:
yum install *ppu* *spu* numactl numactl-devel Next stage would be to create the mount points for the 2 install ISOs, and then mount them:
mkdir /mnt/sdk
mkdir /mnt/sdkextras
mount -o loop /tmp/sdkfiles/CellSDK-Devel-RHEL_3.1.0.0.0.iso /mnt/sdk
mount -o loop /tmp/sdkfiles/CellSDK-Extras-RHEL_3.1.0.0.0.iso /mnt/sdkextras

Then to install the base SDK stuff:cd /mnt/sdk/ppc64/
yum –nogpgcheck localinstall *
Then the contents of the extra CDcd /mnt/sdkextras/ppc64/
yum –nogpgcheck localinstall *

Don’t forget to unroll the example tars in /opt/cell/sdk/src/ – lots of meaty code there.

You Might Also Like