Project

General

Profile

Building on ALCF IntrepidBGP (obsolete)

The Intrepid/BGP machine has login/build nodes based on powerpc64 running SLES 10 with compute nodes of of powerpc running a custom kernel. To properly cross-compile for this machine requires using the compute-node python to build the python modules. Fortunately, the compute-node python will run on the login nodes.

Before beginning, make sure that the system cmake is available. Your ~/.softenvrc file should at minimum contain

+cmake
@default

The Run this procedure in its own terminal window. The environment will become unusable for other purposes.

Check out the contract.

git clone git://compacc.fnal.gov/home/scmuser/git/contract-synergia2 synergia2-crb4
cd synergia2-crb4
git checkout -b old_devel_1_0 origin/old_devel_1_0
./bootstrap

Set your paths so you are using the compute node python.

PATH=/bgsys/drivers/ppcfloor/gnu-linux/bin:$PATH
LD_LIBRARY_PATH=/bgsys/drivers/ppcfloor/gnu-linux/lib:$LD_LIBRARY_PATH:$LD_LIBRARY_PATH

Check that this is working:

which python

should return:

/bgsys/drivers/ppcfloor/gnu-linux/bin/python

and

python -c "import sys; print sys.version" 

should return:

2.6 (r26:66714, Jun 15 2010, 15:10:16) 
[GCC 4.1.2 (BGP)]

Load the configuration for the build. The file is part of the contract that was checked out.

python contract.py --configure-import synergia_config_intrepid-bgp

Then do the rest of the build

python contract.py