Skip to content

Commit

Permalink
Configure proxies during Ascent install [ascent-rebuild]
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronrutherford authored Oct 17, 2023
1 parent debef8b commit 5a203aa
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion buildsystem/spack/ascent/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@
#BSUB -o spack_install.%J.output
#BSUB -e spack_install.%J.output

# Configure https proxy because spack is going to do some things with git
export all_proxy="socks://proxy.ccs.ornl.gov:3128"
export ftp_proxy="ftp://proxy.ccs.ornl.gov:3128"
export http_proxy="http://proxy.ccs.ornl.gov:3128"
export https_proxy="http://proxy.ccs.ornl.gov:3128"
export HTTP_PROXY="http://proxy.ccs.ornl.gov:3128"
export HTTPS_PROXY="http://proxy.ccs.ornl.gov:3128"
export proxy="proxy.ccs.ornl.gov:3128"
export no_proxy='localhost,127.0.0.0/8,*.ccs.ornl.gov,*.olcf.ornl.gov,*.ncrc.gov'

export MY_CLUSTER=ascent
. buildsystem/load-spack.sh &&
spack mirror add local file://$SPACK_MIRROR &&
Expand All @@ -16,4 +26,3 @@ spack mirror add spack-public file://$SPACK_MIRROR &&
spack mirror list &&
spack develop --no-clone --path=$(pwd) resolve@develop &&
jsrun -n 1 -c 40 ./buildsystem/configure-modules.sh 40

0 comments on commit 5a203aa

Please sign in to comment.