Building Qbox on BlueGene/P

Qbox installation issues
Forum rules
You must be a registered user to post in this forum. Registered users may also post new topics if they consider that their subject do not correspond to any topic already present on the forum.
Post Reply
fgygi
Site Admin
Posts: 150
Joined: Tue Jun 17, 2008 7:03 pm

Building Qbox on BlueGene/P

Post by fgygi »

This post describes the steps used to build Qbox on the Argonne National Laboratory BlueGene/P computer (Intrepid).
The following assumptions are made:
- the bash shell is used
- the BLAS, FFTW2, LAPACK, SCALAPACK libraries are available in /soft/apps/libraries/xl

1) Building the Xerces-C library
Choose a directory to build the library. In the following, we build the library in $HOME/software/xerces.

Code: Select all

$ mkdir -p $HOME/software/xerces
$ cd $HOME/software/xerces
Get a copy of the Xerces-C 2.8.0 library from apache.org:

Code: Select all

$ wget http://www.apache.org/dist/xerces/c/2/sources/xerces-c-src_2_8_0.tar.gz
Untar the Xerces-C source tar file

Code: Select all

$ tar zxf xerces-c-src_2_8_0.tar.gz
Go to the xerces-c-src_2_8_0 directory and define the XERCESCROOT environment variable to be that location

Code: Select all

$ cd xerces-c-src_2_8_0
$ export XERCESCROOT=$PWD
Go to the src/xercesc directory, run the runConfigure script and make

Code: Select all

$ cd src/xercesc
$ ./runConfigure -p linux -c bgxlc -x bgxlC -n fileonly -r none -s
$ make
The library is now available in $HOME/software/xerces/xerces-c-src_2_8_0/lib/libxerces-c.a.

2) Building Qbox
Get the Qbox distribution tar file and the bgp-omp.mk makefile in $HOME/qb/

Code: Select all

$ mkdir $HOME/qb
$ cd $HOME/qb
$ wget http://fpmd.ucdavis.edu/software/qbox/qbox-1.56.2.tgz
$ tar zxf qbox-1.56.2.tgz
$ cd src
$ wget http://eslab.ucdavis.edu/software/qbox/makefiles/bgp-omp.mk
Define the TARGET environment variable as bgp-omp (note: do not include ".mk" in the TARGET string) and build

Code: Select all

$ export TARGET=bgp-omp
$ make
The Qbox executable is $HOME/qb/qbox-1.56.2/src/qb.
Post Reply