SDK 3.0: ======== download 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 7) on the target hardware. 2. Uninstall SDK 2.1 or the early release of SDK 3.0 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.0.0-1.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.0. The md5 checksum is cf2a4746e547b2c31a737de736c98e5c. cell-install-3.0.0-1.0.noarch.rpm This ISO image contains SDK 3.0 Developer package for Fedora 7. The md5 checksum is 1c97e5214e4781290db99efd39c3544f. CellSDK-Devel-Fedora_3.0.0.1.0.iso (126MB) This ISO image contains SDK 3.0 Extras package for Fedora 7. The md5 checksum is 7fb85b7e96129014d923dd203ca6c64b. CellSDK-Extras-Fedora_3.0.0.1.0.iso (80MB) #add-on CD wget http://ftp.uk.linux.org/pub/linux/Sony-PS3/CELL-Linux-CL_20071023-ADDON.iso #new kboot wget http://www.kernel.org/pub/linux/kernel/people/geoff/cell/kboot-20071023.bld #otheros.bfd wget http://www.kernel.org/pub/linux/kernel/people/geoff/cell/CELL-Linux-CL_20071023-ADDON/PS3/otheros/otheros.bld #update Sony system system update (latest was 2.01) #update otheros and activate system otheros boot otheros #kboot: linux64 text select ps3_storage driver yum install 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/cdrom /mnt cd /mnt/target rpm -i --force *.rpm yum update system services->autofs+,bluetooth-,nsf+,nsflock+,rsh+,ypbind+ timezone->America/New York,UTC- 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.0 /etc/init.d/yum-updatesd stop mount -t iso9660 /dev/cdrom /media/ cd /media rpm -i cell-install-3.0.0-1.0.noarch.rpm cd /opt/cell/ ./cellsdk install #add to /etc/yum.conf: exclude=blas kernel numactl oprofile /etc/init.d/yum-updatesd start #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 755 /huge #endif chmod 755 /etc/rc3.d/S07hugetlbfs #matmult example yum -y install netpbm-devel.ppc64 ln -s libnetpbm.so.10 libnetpbm.so 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 -y install libXt-devel yum -y install java-1.5.0-gcj-devel http://www.mcs.anl.gov/research/projects/mpich2/ mkdir .kpackage cd .kpackage wget ftp://czar.eas.yorku.ca/pub/mpich2/mpich2-1.0.6-1.fc8.src.rpm wget ftp://czar.eas.yorku.ca/pub/mpich2/mpich2.spec rpm -Uvh mpich2-1.0.6-1.fc8.src.rpm rpmbuild -bc -v /usr/src/redhat/SPECS/mpich2.spec cd /usr/src/redhat/BUILD/mpich2 make install