Re: Cryptic UPC Compiler Error

From: Dan Bonachea (bonachea_at_cs_dot_berkeley_dot_edu)
Date: Mon May 29 2006 - 23:02:49 PDT

  • Next message: Konstantin Kleisouris: "Defining a table dynamically ..."
     > I've had the following error message appear in a compilation on seaborg and 
    
     > bassi at NERSC, which use the web service "phone home" compiler.
    
    Actually, the default translator (at least on bassi) appears to be a local 
    translator, not the network one. Are you explicitly invoking a "phone home" 
    translator? (run with upcc -v)
    
    Note the OS and possibly your default XLC compiler have recently changed, at 
    least on bassi, so you should blow away any object files and build from 
    scratch.
    
    If that doesn't work and there's a change in behavior, it was probably caused 
    by Jason recently refreshing the installs on bassi (and possibly seaborg?) to 
    accommodate the new OS and fix an unrelated problem.
    
    The bug itself sounds like it might be a symptom of bug 1522:
    http://upc-bugs.lbl.gov/bugzilla/show_bug.cgi?id=1522
    
    I believe Jason had a hack-around in place for this bug on the NERSC installs, 
    but perhaps he forgot to re-apply the fix when refreshing some of the compiler 
    installs?
    
    In the meantime you can probably work around it by not passing the -g option 
    to upcc. You should never be passing -g to upcc for production/performance 
    runs, but if you want if you want the debug runtime for bug finding runs, 
    simply invoke the debug build of upcc directly - ie on bassi use:
    /usr/common/ftg/upc/stable/64/runtime/debug/inst/bin/upcc
    instead of :
    /usr/common/ftg/upc/stable/64/runtime/inst/bin/upcc
    
    Hope this helps...
    Dan
    
    At 09:42 PM 5/29/2006, Jonathan L Brown wrote:
    
    >Hello,
    >
    >I've had the following error message appear in a compilation on seaborg and 
    >bassi at NERSC, which use the web service "phone home" compiler. This just 
    >started, with makefiles that used to build no longer building and dying on 
    >this error:
    >
    >upcc: error compiling translated C code:
    >"_SYSTEM", line 37.19: 1506-334 (S) Identifier __TV_s2s_disabled has already 
    >been defined on line 31 of "_SYSTEM".
    >gmake: *** [upc_sort.trans.o] Error 1
    >
    >I don't have a _SYSTEM flag defined in any of my code.  Can anyone shed some 
    >light on this?
    >
    >Thank you,
    >
    >Jonathan Brown
    >
    >
    >--
    >Jonathan Leighton Brown
    >EECS Department
    >University of Michigan
    >jonlbro_at_eecs_dot_umich_dot_edu
    >810-938-7115
    

  • Next message: Konstantin Kleisouris: "Defining a table dynamically ..."