-
Notifications
You must be signed in to change notification settings - Fork 12
Cray XC
Ilja edited this page Jan 7, 2019
·
6 revisions
module swap PrgEnv-cray PrgEnv-gnu
Starting from the directory where the tarballs were uncompressed:
cd ~
Compile zoltan in a separate directory:
mkdir zoltan-build
cd zoltan-build
Prepare zoltan for compilation:
CC=cc CXX=CC FC=ftn ../Zoltan_v3.83/configure --prefix=... --enable-mpi --with-mpi-compilers --with-gnumake --with-id-type=ullong
Compile:
make -j 8
Install:
make install
Clean up:
cd ..
rm -rf zoltan-build Zoltan_v3.83
cd boost_1_69_0
Build the configuration/installation program:
./bootstrap.sh
Use the CC compiler, include support for mpi and prevent autodetection:
echo "using gcc : 7.1.0 : CC ;" >> ./tools/build/src/user-config.jam
echo "using mpi : CC : <define>B2MPIJUSTUSECC ;" >> ./tools/build/src/user-config.jam
Configure and build:
./b2 -j 8
Install:
./b2 install --prefix=...
Clean up:
cd ..
rm -rf boost_1_69_0