Commit fcfe67f1 authored by Philip Carns's avatar Philip Carns

update cooley regression scripts

- build and run against mvapich with verbs support
- use newer gcc
- don't do dirty builds
parent 27ac16d7
......@@ -17,9 +17,6 @@ spack load -r bake
module list
# TODO: why is this necessary? We should be able to find gcc libraries...
export LD_LIBRARY_PATH="/soft/compilers/gcc/7.1.0/lib64:$LD_LIBRARY_PATH"
# note, pmdk library not setting rpath correctly
LIB_PATH_HACK=$(get_pmdk_lib_path)
export LD_LIBRARY_PATH="$LIB_PATH_HACK:$LD_LIBRARY_PATH"
......
......@@ -17,9 +17,6 @@ spack load -r bake
module list
# TODO: why is this necessary? We should be able to find gcc libraries...
export LD_LIBRARY_PATH="/soft/compilers/gcc/7.1.0/lib64:$LD_LIBRARY_PATH"
# note, pmdk library not setting rpath correctly
LIB_PATH_HACK=$(get_pmdk_lib_path)
export LD_LIBRARY_PATH="$LIB_PATH_HACK:$LD_LIBRARY_PATH"
......
......@@ -79,7 +79,8 @@ packages:
variants: +mpi
libfabric:
variants: fabrics=verbs,rxm
mvapich2:
variants: fabrics=mrail
all:
providers:
# prefer MPICH by default
mpi: [mpich,openmpi]
mpi: [mvapich2,mpich,openmpi]
......@@ -17,9 +17,6 @@ spack load -r bake
module list
# TODO: why is this necessary? We should be able to find gcc libraries...
export LD_LIBRARY_PATH="/soft/compilers/gcc/7.1.0/lib64:$LD_LIBRARY_PATH"
# note, pmdk library not setting rpath correctly
LIB_PATH_HACK=$(get_pmdk_lib_path)
export LD_LIBRARY_PATH="$LIB_PATH_HACK:$LD_LIBRARY_PATH"
......
......@@ -11,6 +11,9 @@
# exit on any error
set -e
# make sure we have a new-ish gcc
soft add +gcc-8.2.0
SANDBOX=$PWD/mochi-regression-sandbox-$$
PREFIX=$PWD/mochi-regression-install-$$
JOBDIR=$PWD/mochi-regression-job-$$
......@@ -49,8 +52,8 @@ echo "repos:" > $SPACK_ROOT/etc/spack/repos.yaml
echo "- ${SANDBOX}/sds-repo" >> $SPACK_ROOT/etc/spack/repos.yaml
spack bootstrap
spack uninstall -R -y argobots mercury rdma-core libfabric || true
spack install --dirty ssg
spack install --dirty bake
spack install ssg
spack install bake
# deliberately repeat setup-env step after building modules to ensure
# that we pick up the right module paths
. $SANDBOX/spack/share/spack/setup-env.sh
......
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