Re: Problem with "--without-translator"

From: Paul H. Hargrove (PHHargrove_at_lbl_dot_gov)
Date: Fri Oct 10 2008 - 17:47:10 PDT

  • Next message: Brett Worth: "Re: Problem with "--without-translator""
    Brett,
    
       We apologize for your difficulty.  It is actually our documentation that is 
    missing some basic information for this option.  I've quoted the 
    updated/corrected documentation below.
    
       There is also a bug report for this at 
    http://upc-bugs.lbl.gov/bugzilla/show_bug.cgi?id=2320 if you want to know more.
    
    -Paul
    
    
      GCC UPC BINARY COMPILER SUPPORT
    
      The Berkeley UPC runtime also works with the GCC UPC compiler
      (http://www.intrepid.com), versions 3.3.2.6 or above. Unlike Berkeley UPC's
      UPC-to-C translator, which translates UPC into C code, GCC UPC compiles
      directly to object code.  To use the GCC UPC compiler, first download,
      compile, and install it.  Then, run configure with the environment variable
      GCCUPC_TRANS set to the full absolute path to the installed 'upc' executables,
      and a --with-multiconf option as follows:
    
      To enable both the BUPC and GCC UPC translators, invoke configure as
    
            env GCCUPC_TRANS=<PATH_TO_UPC> <path-to-src>/configure \
                          --with-multiconf=+dbg_gccupc,+opt_gccupc [options]
    
      OR, to build for GCC UPC only use the following:
    
            env GCCUPC_TRANS=<PATH_TO_UPC> <path-to-src>/configure \
                          --with-multiconf=dbg_gccupc,opt_gccupc [options]
    
      Additionally, it is recommended to use the 'gcc' that is installed with
      GCC UPC (this is not always necessary, but it may be required for pthreads
      support if your system copy of 'gcc' is less recent than the GCC UPC one).
      To do so, set "CC=/gccupc_install/bin/gcc" in the configure command.  GCC UPC
      supports building pthreaded UPC applications only on systems where the recent
      '__thread' attribute is supported by gcc (this includes recent versions of
      Linux on x86 processors).  Although GCC UPC works on several architectures,
      it has primarily been tested with Berkeley UPC as its runtime on x86/Linux,
      Opteron/Linux, Itanium/Linux and Cray XT-3 systems.
    
    
    Brett Worth wrote:
    > I've spent some time trying to get a configure to work and have a problem I cant resolve.
    >  I've chosen option "III" which is to use the gccupc since the system in question is not
    > connected to the Internet.   I also only have gigabit ethernet connecting my nodes.
    > 
    > As a result in my configure options I have put --disable-OPTION for all protocols except
    > UDP then specified --with-gccupc and --without-translator
    > 
    > The gccupc compiler is installed and specified on the configure line too.
    > 
    > I always get the error during configure that says:
    > 
    > 	error: cannot use both --with-gccupc and --with-translator
    > 
    > I've also tried --with-multiconf=opt_gccupc but I continue to get the same error.  My
    > question is, how do I get the "--without-translator" option to be recognised?
    > 
    > I'm obviously missing something pretty basic.
    > 
    > Regards
    > Brett
    
    
    -- 
    Paul H. Hargrove                          PHHargrove_at_lbl_dot_gov
    Future Technologies Group
    HPC Research Department                   Tel: +1-510-495-2352
    Lawrence Berkeley National Laboratory     Fax: +1-510-486-6900
    

  • Next message: Brett Worth: "Re: Problem with "--without-translator""