The GNU UPC binary release is provided in the form of a gzip'ed tar file for the following systems:

  • SUSE 11.4, x86_64
  • Ubuntu 12.4, x86_64
  • RHEL 6.4, x86_64
  • CentOS 6.4, i686
  • Fedora Core 18, x86_64
  • Apple, MacOS X 10.9, x86_64

The gzip'ed tar files contain an installable binary release of the UPC compiler, built for their respective target platforms.

All the binary releases are built with the following configuration options:

  • Packed pointer-to-shared representation
  • UPC thread affinity supported

The binary release is built to install under /usr/local/gupc. However, the release can be installed in any convenient location - the 'upc' command finds the programs it requires, relative to its location.

The tar file contains paths which do not begin with "/". They are relative to the root directory. To install in /usr/local/gupc, issue the following commands (the Linux Intel x86_64 release is illustrated below):

% cd /
% tar xpf upc-

The commands above, must be issued from a sysadmin account that has write access to /usr/local. A /usr/local/gupc directory will be created.

If you don't have administrative privileges to /usr/local directory, you may install and run the compiler from somewhere else. Here's an example, where binary installation file is downloaded in /upc/test and then compiler is installed in /upc/test/usr/local/gupc:

% cd /upc/test
% rm -rf usr/local/upc
% tar xf upc-
% cat > count.upc << EOF
#include <upc.h>
#include <stdio.h>
main ()
    int i;
    for (i = 0; i < THREADS; i++)
        if (MYTHREAD == i)
            printf ("%d ", i + 1);
% /upc/test/usr/local/gupc/bin/upc count.upc
% a.out -fupc-threads-5
1 2 3 4 5
JSN Venture template designed by