Re: problem installing BUPC on Altix 4700

From: Samy Bahra (sbahra_at_gwu_dot_edu)
Date: Fri Mar 09 2007 - 03:44:37 PST

  • Next message: Dan Bonachea: "gasnet (BERKELEY_UPC_2_4_BRANCH) checkin: fix a timer library bug reported by GWU for Altix 4700 running kernel 2.6.16"
    Hi Proshanta,
    
    In order to get it to compile on the Altix I modified gasnet_timer.h
    and removed the sn/mmtimer.h include. Instead, I added the
    following (mmtimer was committed into Linux):
    
    #include <linux/mmtimer.h>
    
    #ifndef MMTIMER_FULLNAME
    #define MMTIMER_FULLNAME "/dev/mmtimer"
    #endif
    
    This isn't a portable fix, just a dirty work around for the later release
    of Linux the 4700 is using :-)
    
    Regards.
    --
    Samy Al Bahra
      `------ http://samy.kerneled.org/
    
    
    ----- Original Message -----
    From: Proshanta Saha <sahap_at_gwu_dot_edu>
    Date: Friday, March 9, 2007 2:27 am
    Subject: problem installing BUPC on Altix 4700
    To: upc-users_at_lbl_dot_gov
    
    
    > Hi, 
    > 
    >  
    > 
    > Can�t seem to get past the make errors on trying to build a BUPC 2.4.0 
    > with
    > shmem network on the Altix 4700 (SuSe Linux). It�s an IA64 target 
    > running on
    > kernel 2.6.16 with gcc 4.1.0. 
    > 
    >  
    > 
    > Proshanta
    > 
    >  
    > 
    > Here is the error message I get:
    > 
    >  
    > 
    > proshanta@ab5:~/berkeley_upc-2.4.0> make
    > 
    > make  all-recursive
    > 
    > make[1]: Entering directory `/home/proshanta/berkeley_upc-2.4.0'
    > 
    > Making all in gasnet
    > 
    > make[2]: Entering directory `/home/proshanta/berkeley_upc-2.4.0/gasnet'
    > 
    > make  all-recursive
    > 
    > make[3]: Entering directory `/home/proshanta/berkeley_upc-2.4.0/gasnet'
    > 
    > Making all in .
    > 
    > make[4]: Entering directory `/home/proshanta/berkeley_upc-2.4.0/gasnet'
    > 
    > make[5]: Entering directory `/home/proshanta/berkeley_upc-2.4.0/gasnet'
    > 
    > make[6]: Entering directory `/home/proshanta/berkeley_upc-2.4.0/gasnet'
    > 
    > make[7]: Entering directory `/home/proshanta/berkeley_upc-2.4.0/gasnet'
    > 
    >  --- BUILDING libgasnet_tools-seq.a --- 
    > 
    > /usr/bin/gcc -O3 --param max-inline-insns-single=35000 --param
    > inline-unit-growth=10000 --param large-function-growth=200000 -Winline
    > -DNDEBUG -I/home/proshanta/berkeley_upc-2.4.0/gasnet
    > -I/home/proshanta/berkeley_upc-2.4.0/gasnet
    > -I/home/proshanta/berkeley_upc-2.4.0/gasnet
    > -I/home/proshanta/berkeley_upc-2.4.0/gasnet/other
    > -I/home/proshanta/berkeley_upc-2.4.0/gasnet/other/plpa/src/libplpa -c
    > /home/proshanta/berkeley_upc-2.4.0/gasnet/gasnet_tools.c
    > /home/proshanta/berkeley_upc-2.4.0/gasnet/other/plpa/src/libplpa/plpa_api_pr
    > obe.c
    > /home/proshanta/berkeley_upc-2.4.0/gasnet/other/plpa/src/libplpa/plpa_dispat
    > ch.c && /usr/bin/ar cru
    > /home/proshanta/berkeley_upc-2.4.0/gasnet/libgasnet_tools-seq.a
    > gasnet_tools.o plpa_api_probe.o plpa_dispatch.o && /usr/bin/ranlib
    > /home/proshanta/berkeley_upc-2.4.0/gasnet/libgasnet_tools-seq.a && rm 
    > -f
    > gasnet_tools.o plpa_api_probe.o plpa_dispatch.o
    > 
    > In file included from
    > /home/proshanta/berkeley_upc-2.4.0/gasnet/gasnet_tools.h:71,
    > 
    >                  from
    > /home/proshanta/berkeley_upc-2.4.0/gasnet/gasnet_tools.c:18:
    > 
    > /home/proshanta/berkeley_upc-2.4.0/gasnet/gasnet_timer.h:171:27: error:
    > sn/mmtimer.h: No such file or directory
    > 
    > In file included from
    > /home/proshanta/berkeley_upc-2.4.0/gasnet/gasnet_tools.h:71,
    > 
    >                  from
    > /home/proshanta/berkeley_upc-2.4.0/gasnet/gasnet_tools.c:18:
    > 
    > /home/proshanta/berkeley_upc-2.4.0/gasnet/gasnet_timer.h: In function
    > �gasneti_timer_init�:
    > 
    > /home/proshanta/berkeley_upc-2.4.0/gasnet/gasnet_timer.h:182: error:
    > �MMTIMER_FULLNAME� undeclared (first use in this function)
    > 
    > /home/proshanta/berkeley_upc-2.4.0/gasnet/gasnet_timer.h:182: error: (Each
    > undeclared identifier is reported only once
    > 
    > /home/proshanta/berkeley_upc-2.4.0/gasnet/gasnet_timer.h:182: error: for
    > each function it appears in.)
    > 
    > /home/proshanta/berkeley_upc-2.4.0/gasnet/gasnet_timer.h:184: error:
    > �MMTIMER_GETFREQ� undeclared (first use in this function)
    > 
    > /home/proshanta/berkeley_upc-2.4.0/gasnet/gasnet_timer.h:192: error:
    > �MMTIMER_MMAPAVAIL� undeclared (first use in this function)
    > 
    > /home/proshanta/berkeley_upc-2.4.0/gasnet/gasnet_timer.h:193: error:
    > �MMTIMER_GETOFFSET� undeclared (first use in this function)
    > 
    > make[7]: *** [do-libgasnet] Error 1
    > 
    > make[7]: Leaving directory `/home/proshanta/berkeley_upc-2.4.0/gasnet'
    > 
    > make[6]: *** [do-libgasnet_tools] Error 2
    > 
    > make[6]: Leaving directory `/home/proshanta/berkeley_upc-2.4.0/gasnet'
    > 
    > make[5]: *** [do-libgasnet_tools-seq] Error 2
    > 
    > make[5]: Leaving directory `/home/proshanta/berkeley_upc-2.4.0/gasnet'
    > 
    > make[4]: *** [libgasnet_tools-seq.a] Error 2
    > 
    > make[4]: Leaving directory `/home/proshanta/berkeley_upc-2.4.0/gasnet'
    > 
    > make[3]: *** [all-recursive] Error 1
    > 
    > make[3]: Leaving directory `/home/proshanta/berkeley_upc-2.4.0/gasnet'
    > 
    > make[2]: *** [all] Error 2
    > 
    > make[2]: Leaving directory `/home/proshanta/berkeley_upc-2.4.0/gasnet'
    > 
    > make[1]: *** [all-recursive] Error 1
    > 
    > make[1]: Leaving directory `/home/proshanta/berkeley_upc-2.4.0'
    > 
    > make: *** [all] Error 2
    > 
    

  • Next message: Dan Bonachea: "gasnet (BERKELEY_UPC_2_4_BRANCH) checkin: fix a timer library bug reported by GWU for Altix 4700 running kernel 2.6.16"