From: Dan Bonachea (bonachea_at_cs_dot_berkeley_dot_edu)
Date: Mon Jan 24 2005 - 15:38:13 PST
Hi Richard - The problem is almost certainly the PortlandGroup compiler. We now longer have access to a PortlandGroup license for testing purposes, and the last time we used it was a rather old 32-bit version of PGI (v4.1, I believe). So it wouldn't surprise me if there are some problems with 64-bit PGI 5.2. My first recommendation would be to try either Intel C or gcc. If you're committed to using PGI, the easiest solution is probably to give one of our developers access your PGI install so we can find and fix the problems (which wouldn't be so bad - I've been wanting to update our PGI port for awhile now and haven't had the opportunity). Dan At 01:51 PM 1/24/2005, Richard Walsh wrote: >UPC-Team, > >Under taking an install on an Opteron cluster running a Redhat Linux >derivative. >I am using the Portland group compilers (version 5.2-4). The interconnect is >Myrinet. I would like to work in 64-bit ABI. > >I have generated the following configuration command which ran fine: > > GM_LIB=/opt/gm/lib; export GM_LIB > GM_INCLUDE=/opt/gm/include; export GM_INCLUDE > > ./configure CC="/opt/pgi/linux86-64/5.2/bin/pgcc" >CXX="/opt/pgi/linux86-64/5.2/bin/pgCC" \ > MPI_CC="/opt/mpigm.pgi/bin/mpicc" --enable-pthreads --enable-gm > --prefix=/opt/upc \ > --with-shared-mmap-max=4GB > >A gmake following, produces a large number of compiler warnings and finally >few severe and >fatal errors interrupting the build. Some of the errors are included below >after signature. > >A look at your supported combinations in ./gasnet/README: > > OS/Architecture/compiler/ABI: network conduits > ---------------------------------------------- > * Linux/x86-Myrinet/gcc/32: smp, mpi, udp, gm > * Linux/x86-Ethernet/gcc/32: smp, mpi, udp > * Linux/x86-Dolphin/gcc/32: smp, mpi, udp > * Linux/x86-Quadrics/gcc/32: smp, mpi, udp, elan > * Linux/x86-Mellanox/gcc/32: smp, mpi, udp, vapi > * Linux/x86/IntelC/32: smp, mpi, udp, gm > * Linux/x86/PortlandGroupC/32: smp, mpi, udp, gm > * Linux/Itanium-Quadrics/{gcc,IntelC}/64: smp, mpi, udp, elan > * Linux/Itanium-Myrinet/{gcc,IntelC}/64: smp, mpi, udp, gm > * Linux/Opteron-Ethernet/gcc/64: smp, mpi, udp > * Linux/Opteron-Mellanox/gcc/64: smp, mpi, udp, vapi > >does not provide a Linux/Opteron/Myrinet/PortlandGroupC/64 bit >combination. Looking >over the "gm" lines the closest thing to what I want would seem to be: > > * Linux/x86/PortlandGroupC/32: smp, mpi, udp, gm > >Is my configuration support? If so what are the recommended configure >command options? >If not what do you suggest I try? At the moment I have on only 64-bit MPI >libraries although >I have access to a 32-bit version of the PGI compiler. > >Regards, > >Richard Walsh, AHPCRC >612-337-3467 > > >/data1/appls/upc/berkeley_upc-2.0.1/gasnet/gm-conduit/gasnet_core.c: >PGC-F-0249-#error -- "We need real atomic ops with signal-safety for >gasnet_exit..." >(/data1/appls/upc/berkeley_upc-2.0.1/gasnet/gm-conduit/gasnet_core.c: 885) >PGC/x86-64 Linux/x86-64 5.2-4: compilation aborted >/data1/appls/upc/berkeley_upc-2.0.1/gasnet/gm-conduit/gasnet_core_receive.c: >PGC-W-0155-64-bit integral value truncated >(/data1/appls/upc/berkeley_upc-2.0.1/gasnet/extended-ref/gasnet_extended_vis.h: >23) >PGC-W-0155-64-bit integral value truncated >(/data1/appls/upc/berkeley_upc-2.0.1/gasnet/extended-ref/gasnet_extended_vis.h: >48) >PGC-S-0058-Illegal lvalue >(/data1/appls/upc/berkeley_upc-2.0.1/gasnet/gm-conduit/gasnet_core_internal.h: > 687) >PGC-S-0058-Illegal lvalue >(/data1/appls/upc/berkeley_upc-2.0.1/gasnet/gm-conduit/gasnet_core_internal.h: > 687) >PGC/x86-64 Linux/x86-64 5.2-4: compilation completed with severe errors >/data1/appls/upc/berkeley_upc-2.0.1/gasnet/gm-conduit/gasnet_core_conf.c: >PGC-W-0155-64-bit integral value truncated >(/data1/appls/upc/berkeley_upc-2.0.1/gasnet/extended-ref/gasnet_extended_vis.h: >23) >PGC-W-0155-64-bit integral value truncated >(/data1/appls/upc/berkeley_upc-2.0.1/gasnet/extended-ref/gasnet_extended_vis.h: >48) >PGC-S-0058-Illegal lvalue >(/data1/appls/upc/berkeley_upc-2.0.1/gasnet/gm-conduit/gasnet_core_internal.h: > 687) >PGC-S-0058-Illegal lvalue >(/data1/appls/upc/berkeley_upc-2.0.1/gasnet/gm-conduit/gasnet_core_internal.h: > 687) >PGC/x86-64 Linux/x86-64 5.2-4: compilation completed with severe errors > > > >