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 2022-03-01 17:30:53 -0600

willyJohan's avatar

updated 2022-03-01 17:32:03 -0600

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.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2022-03-01 17:52:22 -0600

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.

edit flag offensive delete link more

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  ( 2022-03-01 18:01:50 -0600 )edit

Did you see the documentation on running a project?

shorowit's avatar shorowit  ( 2022-03-01 18:11:52 -0600 )edit

@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  ( 2022-03-01 18:17:52 -0600 )edit

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  ( 2022-03-03 10:29:37 -0600 )edit

@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  ( 2022-04-22 12:29:05 -0600 )edit

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: 2022-03-01 17:30:53 -0600

Seen: 158 times

Last updated: Mar 01 '22