Re: Error translating "hello UPC world"

From: Marc L. Smith (mlsmith_at_colby_dot_edu)
Date: Thu Jun 23 2005 - 11:38:41 PDT

  • Next message: Dan Bonachea: "Re: No code in procedure user_main"
    Hi Jason,
    
    Thanks for looking into this.
    
    -Marc
    
    Here's the -version information you requested:
    
    ~~~
    mlsmith@n1:~/upc> upcc -version
    This is upcc (the Berkeley Unified Parallel C compiler), version 2.0.1
       (getting remote translator settings...)
    ---------------------- 
    +---------------------------------------------------------
    UPC Runtime version  | release 2.0.1, built on Jun 23 2005 at 00:29:30
    ---------------------- 
    +---------------------------------------------------------
    UPC-to-C translator  | <unable to determine>
    ---------------------- 
    +---------------------------------------------------------
    Translator location  | http://upc-translator.lbl.gov/upcc-2.0.cgi
    ---------------------- 
    +---------------------------------------------------------
    networks supported   | udp smp
    ---------------------- 
    +---------------------------------------------------------
    default network      | smp
    ---------------------- 
    +---------------------------------------------------------
    pthreads support     | available (if used, default is 2 pthreads per  
    process)
    ---------------------- 
    +---------------------------------------------------------
    Configured with      | '--prefix=/opt/upc/2.0.1/intel' '--disable-mpi'
                           | '--enable-udp' 'CC=/opt/intel_cc_80/bin/icc'
                           | 'CXX=/opt/intel_cc_80/bin/icpc'
    ---------------------- 
    +---------------------------------------------------------
    Configure id         | n1 Thu Jun 23 00:28:12 EDT 2005 root
    ---------------------- 
    +---------------------------------------------------------
    Binary interface     | 32-bit i686-pc-linux-gnu
    ---------------------- 
    +---------------------------------------------------------
    Runtime interface #  | Runtime supports 3.0 -> 3.2: Translator uses  
    <unable to
                           | determine>
    ---------------------- 
    +---------------------------------------------------------
                           |  --- BACKEND SETTINGS (for smp network) ---
    ---------------------- 
    +---------------------------------------------------------
    C compiler           | /opt/intel_cc_80/bin/icc
    ---------------------- 
    +---------------------------------------------------------
    C compiler flags     | -O3 -wd177 -wd279
    ---------------------- 
    +---------------------------------------------------------
    linker               | /opt/intel_cc_80/bin/icc
    ---------------------- 
    +---------------------------------------------------------
    linker flags         | -O3 -L/opt/upc/2.0.1/intel/lib -lupcr-smp-seq - 
    lumalloc
                           | -L/opt/upc/2.0.1/intel/lib -lgasnet-smp-seq - 
    lpthread
                           | -lm
    ---------------------- 
    +---------------------------------------------------------
    mlsmith@n1:~/upc>
    ~~~
    
    and here's from the -nightly translator:
    
    ~~~
    mlsmith@n1:~/upc> upcc -nightly --network udp -o hello -T 4  
    helloworld2.upc
    Error during remote HTTP translation:
    upcc: error during UPC-to-C translation (sgiupc stage):
    Error: Signal Segmentation fault in phase Writing WHIRL file --  
    processing aborted
    
    ### Please report this bug at: http://upc-bugs.lbl.gov
    sgiupc ERROR:  /usr/local/upc/nightly/translator/compilers/open64/ 
    osprey1.0/build_ia64/gccfe/gfec died due to signal 4
    
    mlsmith@n1:~/upc>
    ~~~
    
    On Jun 23, 2005, at 2:27 PM, jcduell_at_lbl_dot_gov wrote:
    
    > On Thu, Jun 23, 2005 at 01:14:12PM -0400, Marc L. Smith wrote:
    >
    >> Hi all,
    >>
    >> I moved on to example 1.2 from the new UPC text, "UPC: Distributed
    >> Shared Memory Programming," by El-Ghazawi, Carlson, Sterling, and
    >> Yelick.  This is the first program that includes the <upc.h> header
    >> file...
    >>
    >> I cat'd in my transcript the .upc file I'm trying to compile, in
    >> addition to what happens when I compile.  I'm using the public
    >> translator.  I'm sure I'm missing something, as this is the first
    >> program I've tried to compile that includes one of the UPC headers.
    >> If someone could point me in the right direction, I'd appreciate it.
    >>
    >> When I use the -stable translator, it yields an error and tells me to
    >> report it as a bug.  I haven't done so yet, because I may still be
    >> doing something silly.
    >>
    >> Please advise.
    >>
    >
    > This is most unusual.
    >
    > Could you send me the output of 'upcc -version', and also (if you've
    > still got your build directory around) the 'config.log' that was  
    > created
    > when you built the runtime?
    >
    > Also, how do things go if you try our nightly translator, i.e.
    >
    >     upcc -nightly --network udp -o hello -T 4 helloworld2.upc
    >
    > Hopefully we'll be able to sort this out in short order.
    >
    > Regards,
    >
    > -- 
    > Jason Duell             Future Technologies Group
    > <jcduell_at_lbl_dot_gov>       Computational Research Division
    > Tel: +1-510-495-2354    Lawrence Berkeley National Laboratory
    >
    >
    

  • Next message: Dan Bonachea: "Re: No code in procedure user_main"