UPC complains about multiconf.conf

From: Alex (ethos.g_at_gmail_dot_com)
Date: Mon Nov 17 2008 - 15:07:08 PST

  • Next message: Dan Bonachea: "Re: UPC complains about multiconf.conf"
    Hi to all,
    I have seen that somebody had a similar problem. I'm trying to install upc.
    I have previously installed GCCUPC. The steps I follow are:
    
    mkdir build
    tar xzvf berkeley_upc-2.6.0.tar.gz
    cd build
    ./../berkeley_upc-2.6.0/configure CC=/usr/local/upc/rls/bin/gcc
    --with-gccupc=/usr/local/upc/rls/bin/upc
    --with-multiconf=dbg_gccupc,opt_gccupc
    make
    ./upcc --version
    
    Here I get this message:
    
    ERROR: No matching Berkeley UPC configuration found in
    /usr/local/upc_runtime/build/multiconf.conf!
    
    I can't use this upcc file.
    If I do
    
    ./dbg_gccupc/upcc --version
    
    I get
    
    This is upcc (the Berkeley Unified Parallel C compiler), v. 2.6.0
    ----------------------+---------------------------------------------------------
     UPC Runtime          | v. 2.6.0, built on Nov 17 2008 at 23:50:32
    ----------------------+---------------------------------------------------------
     UPC-to-C translator  | , built on Nov 4 2008 at 17:23:53
    ----------------------+---------------------------------------------------------
     Translator location  | /usr/local/upc/rls/bin/upc
    ----------------------+---------------------------------------------------------
     networks supported   | udp smp
    ----------------------+---------------------------------------------------------
     default network      | smp
    ----------------------+---------------------------------------------------------
     pthreads support     | available (if used, default is 2 pthreads per
    process)
    ----------------------+---------------------------------------------------------
     Configured with      |
    '--with-gccupc=/usr/local/gccupc-3.4.4.1-xt3-inst/bin/u
                          | pc' '--enable-debug' 'CC=/usr/local/upc/rls/bin/gcc'
                          | '--with-gccupc=/usr/local/upc/rls/bin/upc'
                          | '--with-multiconf=dbg_gccupc,opt_gccupc'
                          | '--prefix=/usr/local/berkeley_upc/dbg_gccupc'
                          | '--with-multiconf-magic=dbg_gccupc'
    ----------------------+---------------------------------------------------------
     Configure features   | gccupc,upcr,gasnet,upc_collective,upc_io,
                          | upc_memcpy_async,upc_ptradd,upc_thread_distance,
                          | upc_tick,upc_sem,upc_dump_shared,upc_trace_printf,
                          | upc_trace_mask,upc_local_to_shared,upc_atomics,pupc,
                          | debug,trace,stats,nogasp,segment_fast,os_linux,
                          | cpu_i686,cpu_32,cc_gnu,structsptr
    ----------------------+---------------------------------------------------------
     Configure id         | xxxx Mon Nov 17 23:32:01 UTC 2008 root
    ----------------------+---------------------------------------------------------
     Binary interface     | 32-bit i686-pc-linux-gnu
    ----------------------+---------------------------------------------------------
     Runtime interface #  | Runtime supports 3.0 -> 3.9: Translator uses (N/A)
    ----------------------+---------------------------------------------------------
                          |  --- BACKEND SETTINGS (for smp network) ---
    ----------------------+---------------------------------------------------------
     C compiler           | /usr/local/upc/rls/bin/gcc
                          |   GNU/4.2.3/4.2.3 (GCC UPC 4.2.3-3)
                          |   Configurat amb: ../src/upc-4.2.3.3/configure
                          |   --prefix=/usr/local/upc/rls Model de fils: posix
                          |   gcc versi� 4.2.3 (GCC UPC 4.2.3-3)
    ----------------------+---------------------------------------------------------
     C compiler flags     | -g3 -Wall -Wno-unused -Wno-address -Wpointer-arith
                          | -Wnested-externs -Wwrite-strings
                          | -Wdeclaration-after-statement
                          | -Wmissing-format-attribute
    ----------------------+---------------------------------------------------------
     linker               | /usr/local/upc/rls/bin/gcc
                          |   GNU/4.2.3/4.2.3 (GCC UPC 4.2.3-3)
                          |   Configurat amb: ../src/upc-4.2.3.3/configure
                          |   --prefix=/usr/local/upc/rls Model de fils: posix
                          |   gcc versi� 4.2.3 (GCC UPC 4.2.3-3)
    ----------------------+---------------------------------------------------------
     linker flags         | -g3 -Wall -Wno-unused -Wno-address -Wpointer-arith
                          | -Wnested-externs -Wwrite-strings
                          | -Wdeclaration-after-statement
                          | -Wmissing-format-attribute
                          | -L/usr/local/upc_runtime/build/dbg_gccupc
                          | -L/usr/local/upc_runtime/build/dbg_gccupc/umalloc
                          | -lupcr-smp-seq -lumalloc
                          |
    -L/usr/local/upc_runtime/build/dbg_gccupc/gasnet/smp-co
                          | nduit -lgasnet-smp-seq
                          | -L/usr/local/upc/rls/lib/gcc/i686-pc-linux-gnu/4.2.3
                          | -lgcc -lm
    ----------------------+---------------------------------------------------------
    
    After doing
    
    make install
    
    I do
    
    ./../../berkeley_upc/bin/upcc --version
    ERROR: No matching Berkeley UPC configuration found in
    /usr/local/berkeley_upc/etc/multiconf.conf!
    
    
    But that file exists, actually:
    
    ls ../../berkeley_upc/etc/
    multiconf.conf
    
    Does this mean that the file format is incorrect? How should I fix this, so
    I can use the upcc file in the installation_directory/bin?
    Thank you very much in advance,
    
    Alex
    

  • Next message: Dan Bonachea: "Re: UPC complains about multiconf.conf"