GNU UPC

... Unified Parallel C

  • Full Screen
  • Wide Screen
  • Narrow Screen
  • Increase font size
  • Default font size
  • Decrease font size

Fedora 15 Packages

E-mail Print PDF

To set up the yum package manager to access the GCCUPC.ORG repository, first install the gupc-fedora RPM as shown below.  This package installs the GPG keys used to sign packages and registers the repository for subsequent access. After installing this package you can use the operating system's package management tools (such as yum) to install packages and their dependencies. Note that installation of binary or source packages from the repository requires network availability and system administration privileges. 

Install the repository RPM to enable the 'gupc' repository on your system:

yum install http://www.gccupc.org/pub/pkg/rpms/gupc-fedora-15-1.noarch.rpm

Installing binary RPMs

First, install the the GUPC RPM and the RPMs on which it depends:

yum install gupc-gcc-upc

Using GUPC

GUPC is installed under /usr/local/gupc. Use this command to add the GUPC directories to your PATH, LD_LIBRARY_PATH, MANPATH, and INFOPATH:

module load gupc-x86_64

If the module command is not available, install the environment-modules RPM.

How to Rebuild GUPC from a Source RPM

First, download the GUPC source RPM.

wget http://www.gccupc.org/pub/pkg/fedora/15/SRPMS/gupc-gcc-4.7.0.2-2.fc15.src.rpm

We recommend that you do not have the GUPC binary RPMs installed on your system when rebuilding GUPC. However, if you do have the GUPC RPMs installed, invoke the "module unload gupc-x86_64" command in your shell before rebuilding.

To rebuild GUPC, use the following command:

rpmbuild --define='_prefix /usr/local/gupc' \
--define='_infodir %{_prefix}/share/info' \
--define='_mandir %{_prefix}/share/man' \
--rebuild gupc-gcc-4.7.0.2-2.fc15.src.rpm

To install GUPC in a different location, change /usr/local/gupc in the above command to the new location.

You are here: