UPC 2.6.0 Installation problem: undefined reference to `gasnett_linkconfig_idiotcheck'

From: Sarat Sreepathi (sarat.ls_at_gmail_dot_com)
Date: Mon Nov 26 2007 - 14:08:58 PST

  • Next message: 42aftab_at_niit.edu.pk: "UPC Problem with Compiler optimization flags for Sun C compiler"
    Hi,
    
    I'm trying to install UPC 2.6.0 that was distributed at SC'07 BoF.
    I configured using ./configure --prefix=/soft/upc/berkeley_upc/web/
    CC=pathcc CXX=pathCC MPI_CC=mpicc --disable-debug
    --disable-aligned-segments  2>&1 | tee configure-web.log
    /proc/sys/kernel/randomize_va_space was  set to 1 on compute nodes. So I
    had to disable aligned segments.
    I had to disable debug as it was causing 'MPI_CC: debug vs. optimize
    compilation conflict'.
    
    Now, when I try to 'make', I get the following error:
    make[8]: Leaving directory
    `/home/soft/upc/package/berkeley_upc-2.6.0/dbg/gasnet'
    /soft/pathscale/bin/pathcc  -O3 -Winline   -DAPPUTILS_OMIT_READWRITE
    -I/home/soft/upc/package/berkeley_upc-2.6.0/gasnet/other/amudp
    -I/home/soft/upc/package/berkeley_upc-2.6.0/gasnet/other/amudp/..
    -DAMUDP_NDEBUG=1 -DSIZEOF_CHAR=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4
    -DSIZEOF_LONG=8 -DSIZEOF_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DHAVE_STDINT_H
    -DCOMPLETE_STDINT_H -DHAVE_INTTYPES_H -DCOMPLETE_INTTYPES_H
    -DHAVE_SYS_TYPES_H -DAMUDP_ENV_PREFIX=GASNET 
    -I/home/soft/upc/package/berkeley_upc-2.6.0/gasnet/other/amudp/../..
    -I../.. -DHAVE_GASNET_TOOLS -o amudprun.o -c
    /home/soft/upc/package/berkeley_upc-2.6.0/gasnet/other/amudp/amudprun.c
    /soft/pathscale/bin/pathCC  -O2   
    -I/home/soft/upc/package/berkeley_upc-2.6.0/gasnet/other/amudp
    -I/home/soft/upc/package/berkeley_upc-2.6.0/gasnet/other/amudp/..
    -DAMUDP_NDEBUG=1 -DSIZEOF_CHAR=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4
    -DSIZEOF_LONG=8 -DSIZEOF_LONG_LONG=8 -DSIZEOF_VOID_P=8 -DHAVE_STDINT_H
    -DCOMPLETE_STDINT_H -DHAVE_INTTYPES_H -DCOMPLETE_INTTYPES_H
    -DHAVE_SYS_TYPES_H -DAMUDP_ENV_PREFIX=GASNET 
    -I/home/soft/upc/package/berkeley_upc-2.6.0/gasnet/other/amudp/../..
    -I../.. -DHAVE_GASNET_TOOLS  -o amudprun amudprun.o -L. -lamudp -L../..
    -lgasnet_tools-seq    
    ./libamudp.a(amudp_ep.o):(.data+0x850): undefined reference to
    `gasnett_linkconfig_idiotcheck'
    ./libamudp.a(amudp_reqrep.o):(.data+0x8): undefined reference to
    `gasnett_linkconfig_idiotcheck'
    collect2: ld returned 1 exit status
    make[7]: *** [amudprun] Error 1
    make[7]: Leaving directory
    `/home/soft/upc/package/berkeley_upc-2.6.0/dbg/gasnet/other/amudp'
    
    Then I tried disabling MPI and leaving the debug setting untouched,
    ./configure  CC=pathcc CXX=pathCC --prefix=/soft/upc/berkeley_upc/web/
    --disable-mpi-compat --disable-mpi --without-mpi-cc
    --disable-aligned-segments
    and tried to build which also failed with same error. I also tried some
    other config options with no success in building.
    
    Your help in resolving this problem is greatly appreciated.
    
    Thanks,
    Sarat.
    
    -- 
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Sarat Sreepathi
    Doctoral Student
    Dept. of Computer Science
    North Carolina State University
    sarat_s_at_ncsu_dot_edu ~ (919)645-7775
    http://www.sarats.com
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    

  • Next message: 42aftab_at_niit.edu.pk: "UPC Problem with Compiler optimization flags for Sun C compiler"