GMLC-TDC / HELICS

Hierarchical Engine for Large-scale Infrastructure Co-Simulation (HELICS)
https://docs.helics.org/en/latest/
BSD 3-Clause "New" or "Revised" License
126 stars 40 forks source link

Trying to run the first example on website #2644

Open JTZ83 opened 5 months ago

JTZ83 commented 5 months ago

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=

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.

afisher1 commented 5 months ago

Hello @JTZ83

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

JTZ83 commented 5 months ago

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: @.***>

trevorhardy commented 4 months ago

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).