Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 00:03

    phlptp on deprecate_getMessage

    update the i file to include HE… (compare)

  • Mar 31 23:38

    phlptp on deprecate_getMessage

    deprecate the getMessage functi… (compare)

  • Mar 31 12:08

    phlptp on lib_update

    (compare)

  • Mar 31 12:08

    phlptp on develop

    update the units library and fi… (compare)

  • Mar 31 12:08
    phlptp closed #1168
  • Mar 31 03:22
    phlptp closed #341
  • Mar 31 03:22
    phlptp commented #341
  • Mar 31 03:14
    phlptp opened #1168
  • Mar 31 03:14
    phlptp review_requested #1168
  • Mar 30 23:36
    phlptp commented #1167
  • Mar 30 23:31

    phlptp on lib_update

    update the units library and fi… (compare)

  • Mar 30 23:29

    phlptp on network_lib_split

    (compare)

  • Mar 30 23:29

    phlptp on develop

    Network lib split (#1165) * Sp… (compare)

  • Mar 30 23:29
    phlptp closed #1165
  • Mar 30 23:25
    nadiavp opened #1167
  • Mar 30 21:33
    phlptp commented #1165
  • Mar 30 21:32
    phlptp synchronize #1165
  • Mar 30 21:32

    phlptp on network_lib_split

    remove improperly added file (compare)

  • Mar 30 21:31
    codecov[bot] commented #1165
  • Mar 30 21:31
    phlptp synchronize #1165
Dheepak Krishnamurthy
@kdheepak
I don't have access on the gridlabd repository to make such changes, which is why I'm asking you to do it :)
JianhuaZhang-Clarkson
@JianhuaZhang-Clarkson
@kdheepak Can you help me to take a look at the problem? Thanks a lot.
jhuang54
@jhuang54

@kdheepak Thanks very much. Your advice works. I find that I need to do 2 things to install helics. Firstly, turn off my antivirus software. Secondly, follow your advice-"conda install -c gmlc-tdc helics=2.3.1".

The first time I tried "conda install -c gmlc-tdc helics=2.3.1", I can successfully "import helics as h". But later my antivirus reported virus, and I can't import helics anymore. When I turn off antivirus software and reinstall helics, I can import helics.

I tried "conda install -c gmlc-tdc helics" after turning off antivirus software. But I can't import helics.

Dheepak Krishnamurthy
@kdheepak

I tried "conda install -c gmlc-tdc helics" after turning off antivirus software. But I can't import helics.

This is a known issue but we are trying to figure out why this is the case. See GMLC-TDC/HELICS#1139 for more information

I'm surprised by the antivirus issue. I don't think we've experienced that before or at least not seen any reports of it before.
jhuang54
@jhuang54
My antivirus software is 360 Safeguard. I guess very few people use it.
JianhuaZhang-Clarkson
@JianhuaZhang-Clarkson
@kdheepak anyone is looking at my case? thanks ,
Dheepak Krishnamurthy
@kdheepak
@JianhuaZhang-Clarkson I'll try to compile with gridlabd some time this week.
JianhuaZhang-Clarkson
@JianhuaZhang-Clarkson
@kdheepak Great. Thanks :)
Slava Barsuk
@vbarsuk
Is it possible to build HELICS without ZMQ? -DENABLE_ZMQ_CORE=OFF does not work for me. cmake works just fine, but make generates some compiler error. I want to build a very light implementation which supports only tcp
Manoj Kumar Cebol Sundarrajan
@manoj1511
@vbarsuk +1 I went through the same thing few days ago. I wanted a lighter implementation with only MPI. compilation failed when I had -DENABLE_ZMQ_CORE=OFF this option.
Philip Top
@phlptp
@vbarsuk Can you make an issue about that on github, that should work to build without ZMQ but we might have gotten something wrong in the latest CMAKE changes.
Slava Barsuk
@vbarsuk
Looks like the failing point is at "build target helics_application_api" step on zmqBrokerServer.cpp.o. For some reason it got included
Philip Top
@phlptp
That was probably a recent change as well. If you see how to fix it submit a PR.
Philip Top
@phlptp
I am trying the csharp interface now. we changed the version of cmake that was active, it changed things in module naming, that was ignored before.
Philip Top
@phlptp
looks like there are a few other issues when ZMQ is disabled with the tests too. I think if you want to build it though you can also add -DHELICS_DISABLE_WEBSERVER=ON that will turn off the anything with the webserver which is part of the issue.
Dheepak Krishnamurthy
@kdheepak
C++20 has me a little excited for the features it brings.
It feels like yet again another new language altogether.
Philip Top
@phlptp
At the moment I am a little more excited about being able to use C++17 features in HELICS 3.0, But once we get that transition done I think we could start to look into the ranges. coroutines have a lot of interesting implications that I don't think I am fully understanding yet.
Philip Top
@phlptp
@kdheepak take a look at merlin We had some conversations with the HPC folks about it. It has support of a number of other projects around here, and it is early enough we could influence its development to be suitable for large scale with HELICS.
Dheepak Krishnamurthy
@kdheepak
I have some C shared library docstring changes that I'd like to make.
When were we planning on tagging this release?
Also, it'd be nice if we can build conda / Julia packages to make sure it all works before tagging.
Maybe not for this release, but we should think about it going forward.
Philip Top
@phlptp
HELICS v2.4.2 has been released
Ryan Mast
@nightlark
pip packages are updated, and PR for updating the Julia binaries has been submitted to Yggdrasil
JianhuaZhang-Clarkson
@JianhuaZhang-Clarkson
@kdheepak When I install HELICS by setting BUILD-SHARED-LIBS=ON, but ccmake. command shows as below, this variable is till OFF. Even I manually set it ON, after configure, it comes back to OFF. Does it indicate there are some prerequisites not satisfied?
image.png
Philip Top
@phlptp
HELICS will force the BUILD_SHARED_LIBS variable to off. It accepts it and converts it into two separate variables HELICS_BUILD_CXX_SHARED_LIB=ON and HELICS_DISABLE_C_SHARED_LIB=OFF BUILD_SHARED_LIBS is a standard variable which triggers some defaults HELICS is specific about what it builds, but if the variable is left on it will trigger some things in the sublibraries which is undesired so it must be turned off to makes ure everything in the submodules gets built correctly. So everything is working fine even though you set the variable to off. You can check that HELICS_BUILD_CXX_SHARED_LIB=ON That is the underlying variable that controls whether the the C++ shared library is built. The C shared library is built by default, though you can turn it off if desired.
JianhuaZhang-Clarkson
@JianhuaZhang-Clarkson
@phlptp Thanks a lot for this clarification.
Dheepak Krishnamurthy
@kdheepak

@nightlark this workflow didn't trigger with the most recent release?

https://github.com/GMLC-TDC/helics-conda/blob/master/.github/workflows/helics_version_update.yml

When does this workflow get run?

We still don't have 32 bit conda installs unfortunately. We are waiting on this issue.

goanpeca/setup-miniconda#10

Ryan Mast
@nightlark
That workflow doesn't get triggered automatically yet
it would get triggered after the pip packages are built
Ryan Mast
@nightlark
it looks like your update changing files.pythonhosted.org to pypi.org for helics-apps fixed the reason I hadn't enabled the trigger for it yet
Dheepak Krishnamurthy
@kdheepak
I see.
I was using the files.pythonhosted.org link because I didn't know how to get a permalink to the $PKG_VERSION helics_apps package. I used their API to figure out what the link should be now.
This should work for all future versions too. So you should be able to set up the trigger now.
I don't remember if I mentioned this to you or not, but we should also create a tag on HELICSBuilder repo.
Otherwise the binaries won't get uploaded.
I don't think this is necessary to do, since Yggdrasil will do this anyway on their repo.
Ryan Mast
@nightlark
I think since Yggdrasil builds all of the platforms anyway, we should probably pick 2-3 configurations to build as a smoke test; if that passes, then open a PR to update Yggdrasil
For triggering the HELICSBuilder update/test, I was thinking of making it a part of the helics-packaging repo then the same trigger that starts the pip package builds would also start the Julia package update process.
Dheepak Krishnamurthy
@kdheepak
Sounds good.
Nadia Panossian
@nadiavp
I'm having trouble with the h.helicsCreateQuery function in python. The function is returning SWIG object. Do I need to recompile with swig to get python objects returned or is there another way to use the queries in python more effectively?
Philip Top
@phlptp

There will be two steps

q=helicsCreateQuery("root","federation_state")
result=helicsQueryExecute(q,federate)

you would get the result from the execute call and that could be a federate, core, or broker with different calls. I think helicsQueryCoreExecute, or helicsQueryBrokerExecute

@kdheepak if I wanted to deprecate a function in the python interface what is the best way to do that or mark it as such?
Dheepak Krishnamurthy
@kdheepak
We can add a decorator such that when it calls it it calls something else.
Which one do we want to deprecate?