Re: libgasnet on X1

From: Dan Bonachea (bonachea_at_cs_dot_berkeley_dot_edu)
Date: Fri May 12 2006 - 15:40:30 PDT

  • Next message: Jason Beech-Brandt: "Re: libgasnet on X1"
    At 11:42 AM 5/12/2006, Jason Beech-Brandt wrote:
    >I'm having trouble building libgasnet on an X1 using the Cray C compiler 
    >(  My problem seems to be the same as bug 1041 (Segmenation Fault 
    >when compiling gasnet-internal.c)
    >I tried the suggested workaround of
    >gmake -k MANUAL_LIBCFLAGS='-hlist=a' ; repeat...
    >but this doesn't seem to be working for me.  The comment says to try this 
    >'repeatedly', so maybe I'm just being impatient, but I've tried it quite a 
    >few times.
    >Does anybody have any success stories building libgasnet on this platform?
    >Thanks in advance for the info.
    Two suggestions - first, try using a different (preferably older) C compiler 
    version if you have one available. The C compiler crash seems to be a race in 
    the optimizer, and therefore many things (including system load) can perturb 
    it such that it does or does not arise. Note the only libgasnet you need is 
    the native X1 conduit in gasnet/shmem-conduit, so if the other conduits are 
    failing just ignore those or configure with --disable-mpi --disable-udp etc to 
    disable them.
    Note there is another unrelated bug in the Cray C optimizer affecting some UPC 
    codes compiled with Berkeley UPC, which originated between compiler versions 
    CC. (which works) and CC. (which fails) - more info:
    We've reported the C compiler bug to Cray, but as far as I know it still 
    remains unfixed.
    Another suggestion would be to use cross-compilation, is much faster and seems 
    to demonstrate the optimizer crash less frequently - do you have a Solaris or 
    Linux cross-compile machine set up for your X1 system? (Note that in order to 
    use this option, you'll need a cross-compile script which we can provide)
    Hope this helps...

  • Next message: Jason Beech-Brandt: "Re: libgasnet on X1"