First time here? Check out the Help page!

Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
1

Setting up BuildStockBatch to run on windows

asked 3 years ago

willyJohan's avatar

updated 3 years ago

I'm having some issues getting BuildStockBatch up and running. I've followed the directions here to run locally though docker.

I use the command 'docker build .' within the BuildStockBatch directory and things seem to work fine until 4/6 within Dockerfile which is:

RUN sudo apt install -y -V ca-certificates lsb-release && \
    wget https://apache.bintray.com/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/apache-arrow-archive-keyring-latest-$(lsb_release --codename --short).deb && \
    sudo apt install -y -V ./apache-arrow-archive-keyring-latest-$(lsb_release --codename --short).deb && \
    sudo apt update && \
    sudo apt install -y -V libarrow-dev libarrow-glib-dev libarrow-dataset-dev libparquet-dev libparquet-glib-dev

I get the error

failed to solve with frontend dockerfile.v0: failed to build LLB: executor failed running [/bin/sh -c sudo apt install -y -V ca-certificates lsb-release &&     wget https://apache.bintray.com/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/apache-arrow-archive-keyring-latest-$(lsb_release --codename --short).deb &&     sudo apt install -y -V ./apache-arrow-archive-keyring-latest-$(lsb_release --codename --short).deb &&     sudo apt update &&     sudo apt install -y -V libarrow-dev libarrow-glib-dev libarrow-dataset-dev libparquet-dev libparquet-glib-dev]: runc did not terminate sucessfully

Based on some research I'm wondering if the reference to bintray is out of date. any guidance on this would be much appreciated.

thanks.

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
3

answered 3 years ago

nmerket's avatar

If you are running buildstockbatch locally only, you don't need to run docker build .. That is only required to run on AWS batch and is handled "under the hood".

Unfortunately, I have confirmed that the AWS batch version is broken right now. We'll add that to our issue list.

Preview: (hide)
link

Comments

@nmerket thanks for the info. So how can I run buildstockbatch locally then? what is the command to launch a run from a particular project definition file?

willyJohan's avatar willyJohan  ( 3 years ago )

Did you see the documentation on running a project?

shorowit's avatar shorowit  ( 3 years ago )

@shorowit I did but that calls for using the command "buildstock_docker" which i assume will be different if I'm not using docker (assumption possibly confirmed when i try 'buildstock_docker --help', or 'buildstock -- help' and I just get an error)

willyJohan's avatar willyJohan  ( 3 years ago )

You need to have docker installed and it will use docker, but you don't need to build the image yourself like you were trying to do above. It will download and use a prebuilt image. The buildstock_docker command is what you're looking for.

nmerket's avatar nmerket  ( 3 years ago )

@shorowit and @nmerket I have same issues. But where I should use command buildstock_docker? In powershell? directly phyton...I am confused. I have tried everything without result. I have installed. E+, OpenStudio, Rudy, docker... Thanks for help,Mikk

Mikk's avatar Mikk  ( 2 years ago )

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 3 years ago

Seen: 180 times

Last updated: Mar 01 '22