Skip to content

Commit

Permalink
updates to setup script
Browse files Browse the repository at this point in the history
  • Loading branch information
kpedro88 committed Oct 4, 2018
1 parent 3c582f3 commit 02660d5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ https://github.com/cms-smpj/SMPJ/tree/v1.0/

For this branch, please use the following script to set up the work area and associated tools (`grpc`,`tensorflow-serving`,`miniconda`,`aml-real-time-ai`):
```
wget https://raw.githubusercontent.com/hls-fpga-machine-learning/SonicCMS/kjp/1020_azureml/setup.sh
wget https://raw.githubusercontent.com/hls-fpga-machine-learning/SonicCMS/kjp/1020_azureml_ew/setup.sh
chmod +x setup.sh
./setup.sh
cd CMSSW_10_2_0/src
Expand Down
6 changes: 4 additions & 2 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,12 @@ cd $CMSSW_BASE/..
# setup miniconda
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh -b -p $CMSSW_BASE/../miniconda3
source /uscms_data/d3/pedrok/phase2/brainwave/test/miniconda3/etc/profile.d/conda.sh
source $CMSSW_BASE/../miniconda3/etc/profile.d/conda.sh

# setup aml
git clone https://github.com/Azure/aml-real-time-ai
# temporarily remove jupyter b/c issue with conda and pip
sed -i '/jupyter/d' aml-real-time-ai/environment.yml
miniconda3/bin/conda env create -f aml-real-time-ai/environment.yml

# to get working version
Expand All @@ -128,5 +130,5 @@ ln -s $CMSSWTF $AMLDIR/tensorflow
# get the analysis code
cd $CMSSW_BASE/src
git cms-init
git clone git@github.com:hls-fpga-machine-learning/SonicCMS -b "kjp/1020_azureml"
git clone https://github.com/hls-fpga-machine-learning/SonicCMS -b "kjp/1020_azureml_ew"
scram b -j 8

0 comments on commit 02660d5

Please sign in to comment.