Commit 756a85d6 authored by Matthieu Dorier's avatar Matthieu Dorier
Browse files

added jenkins files for Theta

parent 2bcc1628
#!/bin/bash
set -e
HERE=`dirname "$0"`
module swap PrgEnv-intel PrgEnv gnu
module load cce
echo "Setting up Spack"
git clone https://github.com/spack/spack.git
. spack/share/spack/setup-env.sh
echo "Setting up sds-repo"
git clone https://xgitlab.cels.anl.gov/sds/sds-repo.git
spack repo add sds-repo
echo "Copying packages.yaml file"
cp $HERE/theta-packages.yaml $HOME/.spack/cray/packages.yaml
echo "Installing depencencies"
spack install ch-placement
spack install thallium
spack install sdskeyval
spack install yaml-cpp
spack install boost+serialization
spack install cmake
spack install libuuid
spack install cppunit
echo "List of packages"
spack find
echo "Loading packages"
spack load -r ch-placement
spack load -r thallium
spack load -r sdskeyval
spack load -r yaml-cpp
spack load -r boost
spack load -r cmake
spack load -r libuuid
spack load -r cppunit
echo "Building HEPnOS"
mkdir build
cd build
cmake .. -DCMAKE_CXX_COMPILER=CC -DENABLE_TESTS=ON -DBUILD_SHARED_LIBS=ON
make
packages:
all:
providers:
mpi: [mpich, openmpi]
compiler: [gcc@7.3.0, intel@18.0.2.199, cce@8.7.3]
autoconf:
paths:
autoconf@2.69: /usr
buildable: False
automake:
paths:
automake@1.13.4: /usr
buildable: False
binutils:
paths:
binutils@2.31.1: /usr
buildable: False
bison:
paths:
bison@2.7: /usr
buildable: False
boost:
modules:
boost@1.64.0 arch=cray-cnl6-mic_knl: boost/gnu/1.64.0
buildable: False
bzip2:
paths:
bzip2@1.0.6: /usr
buildable: False
ch-placement:
version: [ develop ]
cmake:
modules:
cmake@3.14.5: cmake/3.14.5
buildable: False
coreutils:
paths:
coreutils@8.25: /usr
buildable: False
cppunit:
variants: cxxstd=14
findutils:
paths:
findutils@4.5.12: /usr
buildable: False
flex:
paths:
flex@2.5.37: /usr
buildable: False
gettext:
paths:
gettext@0.19.2: /usr
buildable: False
git:
paths:
git@2.12.3: /usr
buildable: False
libfabric:
variants: fabrics=tcp,rxm
libtool:
paths:
libtool@2.4.2: /usr
buildable: False
m4:
paths:
m4@1.4.16: /usr
buildable: False
margo:
version: [ develop ]
mercury:
variants: +udreg ~boostsys
mpich:
modules:
mpich@7.7.3 arch=cray-cnl6-mic_knl: cray-mpich
buildable: False
perl:
paths:
perl@5.18.2: /usr
buildable: False
pkg-config:
paths:
pkg-config@0.29: /usr
buildable: False
sdskeyval:
version: [ develop ]
tar:
paths:
tar@1.27.1: /usr
buildable: False
texinfo:
paths:
texinfo@4.13: /usr
buildable: False
thallium:
version: [ develop ]
xz:
paths:
xz@5.0.5: /usr
buildable: False
yaml-cpp:
version: [ develop ]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment