Difference between revisions of "Installing Cell Broadband Engine SDK"

From ArchWiki
Jump to: navigation, search
(Undo revision 225281 by Sudokode (talk))
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[Category:Emulators (English)]]
+
[[Category:Emulators]]
[[Category:HOWTOs (English)]]
+
  
 
The CBE SDK installation only supports the Fedora 9 or RHEL linux distributions. I managed to install it on my Arch Linux system with the help of [http://forums.gentoo.org/viewtopic-t-685982.html a post in the gentoo forum], and doing some trial/error.
 
The CBE SDK installation only supports the Fedora 9 or RHEL linux distributions. I managed to install it on my Arch Linux system with the help of [http://forums.gentoo.org/viewtopic-t-685982.html a post in the gentoo forum], and doing some trial/error.
Line 28: Line 27:
 
=Installation=
 
=Installation=
 
===Get ISOs and build the SDK===
 
===Get ISOs and build the SDK===
You'll have to download the two 3.1 SDK ISOs (Developer, Extra) for Fedora 9 manually from [http://www.ibm.com/developerworks/power/cell/downloads.html IBMs website], which requires free registration. Place them in a build folder, and get the [http://aur.archlinux.org/packages.php?ID=17060 cellsdk build files from the AUR], and place them in the same folder. Now the SDK is ready to be build, but you will have to do it as root because the PKGBUILD uses mount of loop-devices to extract packages from the ISOs. Build the SDK by running:
+
You'll have to download the two 3.1 SDK ISOs (Developer, Extra) for Fedora 9 manually from [https://www14.software.ibm.com/webapp/iwm/web/reg/download.do?source=cellsdk&S_PKG=fedora&S_TACT=105AGX16&S_CMP=LP&lang=en_US&cp=UTF-8 IBMs website], which requires free registration. Place them in a build folder, and get the [https://aur.archlinux.org/packages.php?ID=17060 cellsdk build files from the AUR], and place them in the same folder. Now the SDK is ready to be build, but you will have to do it as root because the PKGBUILD uses mount of loop-devices to extract packages from the ISOs. Build the SDK by running:
 
  sudo makepkg --asroot
 
  sudo makepkg --asroot
  
Line 42: Line 41:
  
  
  cd /opt/ibm/systemsim-cell/bin/
+
  cd /opt/ibm/systemsim-cell/bin/s
 
  ./systemsim -g
 
  ./systemsim -g
  
 
===Other...===
 
===Other...===
Since the PKGBUILD does not run the official install script there is bound to be something not setup completely correct... Place a comment on the [http://aur.archlinux.org/packages.php?ID=17060 cellsdk AUR page].
+
Since the PKGBUILD does not run the official install script there is bound to be something not setup completely correct... Place a comment on the [https://aur.archlinux.org/packages.php?ID=17060 cellsdk AUR page].

Revision as of 22:56, 28 November 2012


The CBE SDK installation only supports the Fedora 9 or RHEL linux distributions. I managed to install it on my Arch Linux system with the help of a post in the gentoo forum, and doing some trial/error.


Required Packages

All of the following required packages are provided by the pacman databases and the versions should be recent enough.

Core repository:

  • gcc 4.x
  • glibc
  • perl 5.x
  • freeglut
  • gawk
  • bison
  • flex

Extra repository:

  • rpmextract
  • tcl
  • tk

To make sure all of these are installed:

# pacman -S gcc glibc perl freeglut gawk bison flex rpmextract tcl tk


Installation

Get ISOs and build the SDK

You'll have to download the two 3.1 SDK ISOs (Developer, Extra) for Fedora 9 manually from IBMs website, which requires free registration. Place them in a build folder, and get the cellsdk build files from the AUR, and place them in the same folder. Now the SDK is ready to be build, but you will have to do it as root because the PKGBUILD uses mount of loop-devices to extract packages from the ISOs. Build the SDK by running:

sudo makepkg --asroot

Now a cellsdk-3.1-1-x86_64.pkg.tar.gz should be ready for installation! Just run

sudo pacman -A cellsdk-3.1-1-x86_64.pkg.tar.gz

and now the SDK is installed and ready for use.

Running the Simulator

Go to /opt/ibm/systemsim-cell/ directory and type sudo ./systemsim -g You can run without root by changing the owner and group.

sudo chown -R /opt/ibm/systemsim-cell
sudo chgrp -R /opt/ibm/systemsim-cell 


cd /opt/ibm/systemsim-cell/bin/s
./systemsim -g

Other...

Since the PKGBUILD does not run the official install script there is bound to be something not setup completely correct... Place a comment on the cellsdk AUR page.