Skip to content

EnergyPlus binary $PATH access broken #29

@mattrobmattrob

Description

@mattrobmattrob

When simply running the image:

$ docker run -it nrel/energyplus:$TAG

Previously, like in the 9.4.0 tag that EP binary is on the PATH and accessible:

root@9872d8cecdbf:/var/simdata/energyplus# which energyplus
/usr/local/bin/energyplus
root@9872d8cecdbf:/var/simdata/energyplus# energyplus --help
EnergyPlus, Version 9.4.0-998c4b761e
PythonLinkage: Linked to Python Version: "3.6.9 (default, Jul 17 2020, 12:50:27)
[GCC 8.4.0]"
Usage: energyplus [options] [input-file]
Options:
  -a, --annual                 Force annual simulation
  -c, --convert                Output IDF->epJSON or epJSON->IDF, dependent on
                               input file type
  -D, --design-day             Force design-day-only simulation
  -d, --output-directory ARG   Output directory path (default: current
                               directory)
  -h, --help                   Display help information
  -i, --idd ARG                Input data dictionary path (default: Energy+.idd
                               in executable directory)
  -m, --epmacro                Run EPMacro prior to simulation
  -p, --output-prefix ARG      Prefix for output file names (default: eplus)
  -r, --readvars               Run ReadVarsESO after simulation
  -s, --output-suffix ARG      Suffix style for output file names (default: L)
                                  L: Legacy (e.g., eplustbl.csv)
                                  C: Capital (e.g., eplusTable.csv)
                                  D: Dash (e.g., eplus-table.csv)
  -v, --version                Display version information
  -w, --weather ARG            Weather file path (default: in.epw in current
                               directory)
  -x, --expandobjects          Run ExpandObjects prior to simulation
--convert-only                 Only convert IDF->epJSON or epJSON->IDF,
                               dependent on input file type. No simulation
Example: energyplus -w weather.epw -r input.idf

In more modern tags, like the 23.2.0 tag, it's not accessible by default as expected:

root@650e0217c227:/# which energyplus
/EnergyPlus-23.2.0-7636e6b3e9-Linux-Ubuntu20.04-x86_64/energyplus
root@650e0217c227:/# energyplus --help
input_file: File does not exist: energyplus
Run with --help for more information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions