Giter Site home page Giter Site logo

Use `why3server` about recordflux HOT 3 CLOSED

treiher avatar treiher commented on September 2, 2024
Use `why3server`

from recordflux.

Comments (3)

treiher avatar treiher commented on September 2, 2024

Unfortunately, using why3server -j $(nproc) with gnatprove -j 1 does not sufficiently reduce the required memory.

Failing CI test: https://github.com/Componolit/RecordFlux/actions/runs/3621700551/jobs/6105479206
Used setup: https://github.com/Componolit/RecordFlux/blob/ba411ffdb2b6627125b245e3600442ed36f2d28c/Makefile#L180-L186

from recordflux.

treiher avatar treiher commented on September 2, 2024

With the current configuration, two gnatprove processes are run in parallel. At most, two provers (due to why3server -j 2) and two gnatwhy3 process (due to two parallel gnatprove -j 1) are run in parallel.

I discussed the issue with @kanigsson. We see only two options:

  1. Try to reduce --memlimit to reduce the memory required by gnatwhy3.
  2. Only run one gnatprove instance (no why3server needed).

from recordflux.

treiher avatar treiher commented on September 2, 2024

Reducing --memlimit works. I will create a PR for allowing multiple parallel GNATprove processes. But I do not see an advantage in using a why3server when running GNATprove with -j 1, which restricts GNATprove to just use one gnatwhy3 or one prover in parallel, as parallelization is only achieved by multiple GNATprove processes. So I think it doesn't make sense to follow this route, as long as there is no possibility to limit the number of gnatwhy3 processes independently of the number of parallel provers.

from recordflux.

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.