BUPC headers

From: Nikita Andreev (lestat_at_kemsu.ru)
Date: Sat Apr 10 2010 - 20:07:05 PDT

  • Next message: Paul H. Hargrove: "Re: BUPC headers"
    Hello Paul and all,
    
    I'm writing the performance optimization instrument and I need to parse collective operations synchronization flags. In my case they're encoded in int variable which I get from GASP. I do parsing in separate C (not UPC) utility and apparently I need to include upc_collective.h to get UPC_{IN,OUT}_{NO,MY,ALL}SYNC declarations from there. But when I include upc_collective.h (I also tried to include upc.h before that) from opt_inst/include/upcr_preinclude I get:
    
    In file included from utility.c:20:
    /opt/bupc-runtime-2.8.0-gasp/opt_inst/include/upcr_preinclude/upc_collective.h:5:2: error: #error This file should only be included during initial preprocess
    /opt/bupc-runtime-2.8.0-gasp/opt_inst/include/upcr_preinclude/upc_collective.h:9:2: error: #error Bad feature macro predefinition
    In file included from utility.c:20:
    /opt/bupc-runtime-2.8.0-gasp/opt_inst/include/upcr_preinclude/upc_collective.h:51: error: expected ')' before 'void'
    /opt/bupc-runtime-2.8.0-gasp/opt_inst/include/upcr_preinclude/upc_collective.h:52: error: expected ')' before 'void'
    /opt/bupc-runtime-2.8.0-gasp/opt_inst/include/upcr_preinclude/upc_collective.h:53: error: expected ')' before 'void'
    /opt/bupc-runtime-2.8.0-gasp/opt_inst/include/upcr_preinclude/upc_collective.h:54: error: expected ')' before 'void'
    ...
    
    By now I still don't understand what's the problem. Could you help?
    
    Nikita
    

  • Next message: Paul H. Hargrove: "Re: BUPC headers"