Skip to content

Commit

Permalink
Fix summitdev boost build hopefully and increase number of reserve bu…
Browse files Browse the repository at this point in the history
…ilders for ECP demo
  • Loading branch information
AdamSimpson committed Feb 5, 2018
1 parent 66abcec commit a33f43e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Builder/scripts/docker-builder-backend.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ docker ${DEBUG_FLAG} push localhost:5000/docker_image:latest &>"$OUT_FD"
export SINGULARITY_CACHEDIR=/home/builder/.singularity
export SINGULARITY_NOHTTPS=true
export SINGULARITY_PULLFOLDER=/home/builder
singularity ${DEBUG_FLAG} pull --name container.simg docker://localhost:5000/docker_image:latest
singularity ${DEBUG_FLAG} pull --name container.simg docker://localhost:5000/docker_image:latest >&${OUT_FD}

# Workaround for PULLFOLDER not being respected: https://github.com/singularityware/singularity/pull/855
if [ -e ${SINGULARITY_CACHEDIR}/container.simg ] ; then
mv ${SINGULARITY_CACHEDIR}/container.simg ./container.simg
mv ${SINGULARITY_CACHEDIR}/container.simg ./container.simg >&${OUT_FD}
fi
2 changes: 1 addition & 1 deletion BuilderQueue/include/BuilderQueue.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class BuilderQueue {
public:
explicit BuilderQueue(asio::io_context &io_context) : io_context(io_context),
max_builder_count(20),
max_reserve_builder_count(5),
max_reserve_builder_count(20),
outstanding_create_count(0) {
create_reserve_builders();
}
Expand Down
2 changes: 1 addition & 1 deletion Deployment/deploy-summitdev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ rm -rf boost_build && mkdir boost_build && cd boost_build
curl -L https://dl.bintray.com/boostorg/release/1.66.0/source/boost_1_66_0.tar.gz -O
tar xf boost_1_66_0.tar.gz
cd boost_1_66_0
./bootstrap.sh --with-libraries=filesystem,regex,system,serialization,thread,program_options --prefix=${SW_ROOT}
./bootstrap.sh --with-libraries=filesystem,regex,system,serialization,thread,program_options --prefix=${SW_ROOT} --with-toolset=gcc
./b2 install || :
rm -rf /boost_1_66_0

Expand Down

0 comments on commit a33f43e

Please sign in to comment.