SDK 3.1: ======== download IBM SDK for Multicore Acceleration for Fedora 9 These files comprise the base of the IBM SDK for Multicore Acceleration version 3.1 for Fedora 9, and are for use only in evaluations of the SDK in a non-production environment. Late-breaking information for SDK 3.1 SDK 3.1 Installer cell-install-3.1.0-0.0.noarch.rpm (11MB) SDK 3.1 Developer package ISO image for Fedora 9 CellSDK-Devel-Fedora_3.1.0.0.0.iso (434MB) IBM SDK for Multicore Acceleration Extras for Fedora 9 SDK 3.1 Extras package ISO image for Fedora 9 CellSDK-Extras-Fedora_3.1.0.0.0.iso (34MB) The following is a brief overview of the steps to install the SDK. More details can be found in the SDK Installation Guide 1. Install the Linux Operating System (Fedora 9) on the target hardware. 2. Uninstall SDK 3.0 or earier if you installed a previous version of the SDK. 3. Install the SDK prerequisites using YUM yum install rsync sed tcl wget 4. Stop the YUM updater daemon /etc/init.d/yum-updatesd stop 5. Download the attached SDK installer RPM and ISO images into a temporary directory such as /tmp/cellsdkiso. The Extras ISO is optional. 6. Install the SDK Installer using RPM rpm -ivh cell-install-3.1.0-0.0.noarch.rpm 7. Install the SDK cd /opt/cell ./cellsdk --iso /tmp/cellsdkiso install 8. Add exclusions to the YUM configuration file /etc/yum.conf exclude=blas kernel numactl oprofile 9. Restart the YUM updater daemon /etc/init.d/yum-updatesd start This RPM contains the Installer for SDK 3.1. cell-install-3.1.0-0.0.noarch.rpm This ISO image contains SDK 3.1 Developer package for Fedora 9. CellSDK-Devel-Fedora_3.1.0.0.0.iso (454MB) This ISO image contains SDK 3.1 Extras package for Fedora 9. CellSDK-Extras-Fedora_3.1.0.0.0.iso (35MB) #add-on CD wget http://ftp.uk.linux.org/pub/linux/Sony-PS3/distro-kit/CELL-Linux-CL_20080609-ADDON.iso #new kboot #wget http://www.kernel.org/pub/linux/kernel/people/geoff/cell/kboot-20071023.bld #kboot replaced by petitboot wget http://www.kernel.org/pub/linux/kernel/people/geoff/cell/ps3-petitboot/ps3-petitboot-09.06.24.bld #otheros.bfd #wget http://www.kernel.org/pub/linux/kernel/people/geoff/cell/CELL-Linux-CL_20071023-ADDON/PS3/otheros/otheros.bld wget http://www.kernel.org/pub/linux/kernel/people/geoff/cell/ps3-petitboot/otheros.bld #update Sony system system update (latest was 2.80) #update otheros and activate (PC) mkdir -p /media/disk/PS3/otheros (PC) cp ps3-petitboot-09.06.24.bld /media/disk/PS3/otheros/otheros.bld (PC) sync system otheros boot otheros #petitboot: choose linux64, "e" (edit) args: add "text" ctrl-alt-F2 fdisk /dev/ps3da: create 9700MB ext3 (83) / create 512MB swap (82) at end write manually partition: delete all, / 9700MB format all packages: software development custom: clustering, system tools system services->bluetooth-,nsf+,nsflock+,ypbind+ yum install -y autofs.ppc chkconfig --level 45 autofs on cd /etc/xinetd.d scp rsh ps3:`pwd` cd /etc scp auto.master ps3:`pwd` cd /etc/cron.daily/ scp rdate ps3:`pwd` yum install -y emacs emacs -nw /etc/yaboot.conf #add as 1st image: image=/boot/vmlinux-2.6.23 label=linux23 read-only initrd=/boot/initrd.img-2.6.23 append="video=720p rhgb quiet root=LABEL=/1" #insert addon cd mount -t iso9660 /dev/sr0 /mnt cd /mnt/target rpm -i --force *.rpm umount /mnt; eject /dev/sr0 #broken!!! #yum update disable selinux (to get spufs running) #update lvm from mkinitrd #wget http://david.woodhou.se/lvm2-2.02.24-1.fc7.ps3.ppc.rpm #rpm -Uhv lvm2-2.02.24-1.fc7.ps3.ppc.rpm #/sbin/mkinitrd -f /boot/initrd-2.6.23.1-21.fc7.img 2.6.23.1-21.fc7 #install Cell SDK 3.1 Devel /etc/init.d/yum-updatesd stop mount -t iso9660 /dev/sr0 /media/ cd /media yum -y install tcl rpm -i cell-install-3.1.0-0.0.noarch.rpm cd /opt/cell/ ./cellsdk --iso /media install umount /media; eject /dev/sr0 #install Cell SDK 3.1 Extras /etc/init.d/yum-updatesd stop mount -t iso9660 /dev/sr0 /media/ cd /media yum -y install tcl rpm -i cell-install-3.1.0-0.0.noarch.rpm cd /opt/cell/ ./cellsdk --iso /media install umount /media; eject /dev/sr0 #add to /etc/yum.conf: exclude=blas blas-devel lapack lapack-devel oprofile oprofile-devel #was: exclude=blas kernel numactl oprofile /etc/init.d/yum-updatesd start #add libspe-devel (old version, was msising): wget http://ftp.osuosl.org/pub/ydl/betas/Cell_SDK_2.1/sdk/libspe-devel-1.2.2-0.ppc.rpm wget http://ftp.osuosl.org/pub/ydl/betas/Cell_SDK_2.1/sdk/libspe-devel-1.2.2-0.ppc64.rpm rpm -i libspe-devel-1.2.2-0.ppc.rpm libspe-devel-1.2.2-0.ppc64.rpm #backwards compatibility w/ SDK1 Makefiles: cd /opt/cell/sdk ln -s buildutils/* . #sample cell programming as user mkdir ps3 cd ps3 tar xf /opt/cell/sdk/src/tutorial_source.tar cd tutorial export CELL_TOP=/opt/cell/sdk make INSTALL_DIR=bin simple/simple #hugetlbfs mkdir /huge create /etc/rc3.d/S07hugetlbfs (needed early in boot sequence while consecutive memory is available): #!/bin/csh # # This script will be executed *early*. # You can put your own initialization stuff in here if you don't # want to do the full Sys V style init stuff. #set kernel=`uname -a | awk '{print $3}'` #if ( "$kernel" == "2.6.16-autofs-hugetlbfs" ) then echo 1 > /proc/sys/vm/nr_hugepages mount -t hugetlbfs nodev /huge chmod 777 /huge #endif chmod 755 /etc/rc3.d/S07hugetlbfs #matmult example yum -y install netpbm-devel.ppc64 #ln -s libnetpbm.so.10 libnetpbm.so yum install -y numactl-devel.ppc64 tar xf /opt/cell/sdk/src/demos_source.tar cd demos make INSTALL_DIR=bin matrix_mul/matrix_mul -i 10 -m 128 -s 6 -v -1 -> not working, /huge problem, VM kernel error in /var/log/messages, turn selinux, usr addon kernel and it works matrix_mul/matrix_mul -i 10 -m 128 -s 6 -v -1 -H -> works #rsh: yum -y install xinetd yum -y install rsh-server create /etc/xinitd.d/rsh: # default: on # description: The rshd server is the server for the rcmd(3) routine and, \ # consequently, for the rsh(1) program. The server provides \ # remote execution facilities with authentication based on \ # privileged port numbers from trusted hosts. service shell { disable = no socket_type = stream wait = no user = root log_on_success += USERID log_on_failure += USERID server = /usr/sbin/in.rshd } /etc/init.d/xinetd restart add to /etc/securetty: rsh add promiscuous to /etc/pam.d/rsh: auth required pam_rhosts_auth.so promiscuous ???create /etc/hosts.equiv: ??? + + create ~/.rhosts, chmod 600: ps3 #mpich: yum install -y mpich2-devel #perfmon2: http://www.kernel.org/pub/linux/kernel/people/geoff/cell/CELL-Linux-CL_20080201-ADDON/CHANGES-e.txt