HELICS icon indicating copy to clipboard operation
HELICS copied to clipboard

Trying to run the first example on website

Open JTZ83 opened this issue 1 year ago • 3 comments

This example: https://docs.helics.org/en/latest/user-guide/examples/misc_examples/gridlabd_example_1/gridlabd_example_1a_value_federate.html

However, confused about this command ,

helics run --path=<path to HELICS runner JSON configuration file>

because "helics" does not exist as a binary anywhere after compiling from source. The only binaries are the following ,

-- Up-to-date: /usr/local/bin/helics_player -- Up-to-date: /usr/local/bin/helics_recorder -- Up-to-date: /usr/local/bin/helics_connector -- Up-to-date: /usr/local/bin/helics_broker -- Up-to-date: /usr/local/bin/helics_broker_server -- Up-to-date: /usr/local/bin/helics_app

Is the example documentation out of date ? What are we missing ?

Thanks.

JTZ83 avatar Apr 05 '24 22:04 JTZ83

Hello @JTZ83

did you install HELICS through the python package? pip install 'helics[cli]' this installs the helics executable that this example requires.

afisher1 avatar Apr 05 '24 22:04 afisher1

Yes, I did that

On Fri, Apr 5, 2024, 10:20 PM Andy Fisher @.***> wrote:

[Caution: Email from External Sender. Do not click or open links or attachments unless you know this sender.]

Hello @JTZ83 https://github.com/JTZ83

did you install HELICS through the python package? pip install 'helics[cli]' this installs the helics executable that this example requires.

— Reply to this email directly, view it on GitHub https://github.com/GMLC-TDC/HELICS/issues/2644#issuecomment-2040703991, or unsubscribe https://github.com/notifications/unsubscribe-auth/BHT2VGMXJZBZ4LYV4M6OMUDY34PTZAVCNFSM6AAAAABFZ3HC6CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBQG4YDGOJZGE . You are receiving this because you were mentioned.Message ID: @.***>

JTZ83 avatar Apr 05 '24 23:04 JTZ83

Did you build those apps from source or have them installed with pip? I'm asking because I'm wondering if pip put its install outside your PATH. Can you run pip show helics and look at the "Location" string (and its subfolders) to make sure they are in your PATH (echo $PATH).

trevorhardy avatar Apr 12 '24 18:04 trevorhardy