GCC UPC

... Unified Parallel C

  • Increase font size
  • Default font size
  • Decrease font size

GCC UPC with Berkeley UPCR runtime

E-mail Print PDF

GCC UPC and Berkeley’s run time combination is available on all platforms supported by GCC UPC. The usage of UPCR run time increases the range of communication methods used for underlying UPC remote access and synchronization primitives. By default, GCC UPC supports only SMP machines. More information on Berkeley UPCR project can be found at the UPCR web site.

Please follow these steps in order to build UPCR and GCC UPC:

  • Download the latest GCC UPC release and follow the installation instructions
  • Download the latest UPCR run time and follow the instructions on building UPCR with GCC UPC support. Please consult the INSTALL document on specifics of this port.

Configuration Details

  1. Mac OS X 10.5.7+ (Leopard and Snow Leopard) configuration
    On Mac OS X 10.5.7+, UPCR must be built with a C compiler that comes together with GCC UPC package, as some of the switches available in Apple's version of GCC are not supported in the public domain version of the same. For example, the following command line will accomplish this:
    env GCCUPC_TRANS=/usr/local/upc/bin/upc \
    CC=/usr/local/upc/bin/gcc \
    [path to]/configure \
    --with-multiconf=dbg,dbg_gccupc,opt,opt_gccupc \
    --enable-sptr-packed --enable-allow-gcc4
  2. Mac OS X 10.6 (Snow Leopard) configuration
    For compatibility with Apple's GCC compiler and installed libraries, GCC UPC must be built in 64 mode on Snow Leopard. The following command will accomplish this:
    /usr/src/configure --prefix=/usr/local/upc --without-gnu-ld \
    --build=x86_64-apple-darwin10

Known Issues

  1. In some instances the following warning might come up while using Berkeley's run-time with gccupc 4.2 based compiler:
    .../upcr_shaccess.h:401: warning: passing argument 3 of ‘_gasnet_put’ discards qualifiers from pointer target type
    Warning is caused by the GCC issue http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29478 and can be annoying in gccupc environment where all the put/get routines are inlined as it is the case with UPCR/GCCUPC configuration. Berkeley's UPCR has a capability of suppressing these message if the language locale (environment variable LANG) of your terminal is set to en_US. For example, use command "setenv LANG en_US" to set it correctly in Unix's csh environment.
Last Updated on Wednesday, 25 November 2009 04:10  

Downloads

download
latest version

4.3.2.5

search gccupc