Bagel for BlueGene how-to
Packages & notes from my install on the Edinburgh BG/L
I (successfully!) installed the following packages in the following
order with noted configure commands in this
shell script :
- qmp-2.1.3
- CC=mpicc CXX=mpicxx $src/qmp-2.1.3/configure
--prefix=<install-qmp> --enable-bgl --with-qmp-comms-type=mpi
- bagel-1.4.0
- $src/bagel-1.4.0/configure --prefix=<install>
- bagel_wilson_dslash-1.4.0
- $src/bagel_wilson_dslash-1.4.0/configure
--prefix=<install>
- --with-bagel=<install>
- --enable-precision=double
- --enable-comms=qmp
- --enable-allocator=memalign
- --enable-target-cpu=bgl
- --host=powerpc-bgl-blrts-gnu
- --build=none
- CXX=mpicxx
- CCAS=mpicxx
- RANLIB=powerpc-bgl-blrts-ranlib
- CXXFLAGS=`qmp-config --cflags`
- CFLAGS=`qmp-config --cflags`
- My hacked bagel_qdp-1.4.0, accessible from
these pages, and modified from the SciDac bagel_qdp-1.1.3 (derives
heavily from the linalg code contained in my
bagel_wilson_dslash, but at least the copyright was preserved!).
- $src/bagel_qdp-1.4.0/configure --prefix=<install>
- --with-bagel=<install>
- --enable-precision=double
- --enable-target-cpu=bgl
- --host=powerpc-bgl-blrts-gnu
- --build=none
- libxml2-2.6.19
- I had problems with the testapi.cc
trying for nanohttp stuff even though it shouldn't have been disabled
- fixed by inserting explicit #ifdef
LIBXML_HTTP_ENABLED in line 818 testapi.cc
- configure --prefix=<install> CXX=mpicxx CC=mpicc
CFLAGS=""
--host=none --build=none --without-zlib --without-python
--without-readline
--without-threads --without-history --with-output --without-writer
--without-reader
--without-ftp --without-http --without-pattern --without-catalog
--without-docbook --without-iconv --without-schemas
- Hacked qdp-1.20.1
- I had to hack qdp (include/scalarsite_bagel_qdp/
qdp_scalarsite_bagel_qdp_blas_g5.h) templates calling
qdp_vxpag5iy and such like. These are not in the bagel_qdp-1.1.3
on the SciDac web pages, so the published bagel_qdp and published qdp++
are mutually inconsistent.
- This is a simple #if 0 hack, and is left as an easy exercise
for the reader.
- configure CXX=mpicxx CC=mpicc
--enable-parallel-arch=parscalar --enable-precision=double
--disable-qmp-route
--enable-slow-route --with-libxml2=yes --host=none --build=none
--prefix=<install>
- chroma-2.13.1
- ${src}/configure CXX=mpicxx --with-qdp=<install>
--prefix=<install> --host=powerpc-bgl-blrts-gnu --build=none
--with-bagel-wilson-dslash=<install>