GMLC-TDC / helics-cli

HELICS Command Line Interface
BSD 3-Clause "New" or "Revised" License
6 stars 2 forks source link

HELICS version issue #30

Open akshaykj92 opened 3 years ago

akshaykj92 commented 3 years ago

I am using a windows machine to run multiple federates using HELICS-CLI. The issue I am seeing is when I first setup my anaconda environment using python 3.6 and HELICS and HELICS-apps versions 2.6.0, my code doesn't execute and I get the following error:

Error: Process broker has failed, killing other processes Exception in thread Thread-1: Traceback (most recent call last): File "c:...\anaconda3\envs\pythonproject\lib\threading.py", line 916, in _bootstrap_inner self.run() File "c:...\anaconda3\envs\pythonproject\lib\site-packages\helics_cli\status_checker.py", line 43, in run helics_cli.exceptions.HELICSRuntimeError: Error has occured

Then when I move to HELICS and HELICS-Apps versions 2.4.2 the error gets fixed and code works without any modifications. After this even if I move back to versions 2.6.0 again the code keeps working.

kdheepak commented 3 years ago

Is there a broker.log file in that folder? Can you share the contents of that folder?

akshaykj92 commented 3 years ago

@kdheepak All the log files including the broker and federate logs were empty.

kdheepak commented 3 years ago

@akshaykj92 how many federates do you have? Can you run it without helics-cli to see if you still have this issue?

cc @phlptp.

akshaykj92 commented 3 years ago

I can run it with just two federates but will have to modify my code slightly, will get back as soon as I have done that. However, I believe I will not have the issue as it was resolved after moving to versions 2.4.2 and then back again to 2.6.0

kdheepak commented 3 years ago

I'm asking because if you are able to run it without helics-cli the error message might be more obvious.

Alternatively, if you can share your code, I will be able to test it on my end.

akshaykj92 commented 3 years ago

Sure Dheepak, I will set up an example and share the code with you separately.