Giter Site home page Giter Site logo

Comments (5)

foolnotion avatar foolnotion commented on August 16, 2024 2

This is mostly from the top of my head as I can't test everything right now, but you have some options:

  1. in a conda environment, run the install script e.g. install.sh from the competition (don't forget to update the revisions to get the latest version of operon). you can remove pyoperon from that script if it's not needed.
  2. using nix, as per BUILDING.md will get you a dev shell where you can configure and build operon.
    one can also do to get a built version. a result symlink will then point to its location in the nix store.
    nix build github:heal-research/operon/cpp20 --no-write-lock-file
    
    same as above but inside docker:
    docker run -ti --rm docker.nix-community.org/nixpkgs/nix-flakes nix shell github:heal-research/operon/cpp20 --no-write-lock-file
    
  3. vcpkg - this might not work as I suspect some of the port files might be outdated, but instructions are present in BUILDING.md

Feel free to reopen this and I'll do my best to help.

from operon.

foolnotion avatar foolnotion commented on August 16, 2024 1

Hi,

Sorry, ctest integration is not complete yet. If you want to check the available presents, please see cmake --list-presets.
If you do want to run the available unit tests, there are available in a separate project. Just pass -Doperon_DEVELOPER_MODE=ON to cmake and it will get build in build/test/operon-test.

from operon.

lacava avatar lacava commented on August 16, 2024 1

hi @foolnotion, @msnliu is working with me to install and test operon. Thanks for your quick response. Could you recommend a simple starting example we can follow for running the CLI version?

from operon.

lacava avatar lacava commented on August 16, 2024 1

thanks @foolnotion ! we went the vcpkg route, but will switch to 1 or 2 and see how it goes.

from operon.

foolnotion avatar foolnotion commented on August 16, 2024

Happy to help! For option 1, the cmake flag -DBUILD_CLI_PROGRAMS=OFF needs to be -DBUILD_CLI_PROGRAMS=ON. eve, vstat, operon revisions need to be the latest ones. You probably also want to pass -DCMAKE_CXX_FLAGS=-march=x86-64-v3 or something similar, in order to get the best performance.

from operon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.