GithubHelp home page GithubHelp logo

mtygesen / verifypn Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tapaal/verifypn

0.0 0.0 0.0 24.2 MB

The engine accepts Petri nets in XML format and verifies a reachability query and aims to provide a fast untimed engine for TAPAAL.

License: GNU General Public License v3.0

Shell 9.44% C++ 66.11% Perl 23.34% C 0.11% Awk 0.04% CMake 0.63% Yacc 0.22% Lex 0.09% HiveQL 0.02% q 0.01%

verifypn's Introduction

VerifyPN

VerifyPN is based on PeTe and aims to provide a fast untimed engine for TAPAAL.

License

VerifyPN is available under the terms of the GNU GPL version 3 or (at your option) any later version. If this license doesn't suit you're welcome to contact us, and purpose an alternative license.

Compilation

Requirements for compilation

cmake >= 3.9
flex >= 2.6.4
bison >= 3.0.5
gmp-static (required only for model checking competition)

sudo apt update
sudo apt install build-essential cmake flex bison git brz

The four distributions of VerifyPN can be compiled as follows

Linux64 and OSX64

bzr branch lp:verifypn
mkdir build && cd  build
cmake .. -DVERIFYPN_Static=ON -DVERIFYPN_MC_Simplification=OFF 

#For mac, one need to enforce that we use the GCC compiler using:
export CC=gcc-11
export CXX=g++-11
#and point to the correct version of flex and bison by adding
#-DBISON_EXECUTABLE=/usr/local/opt/bison/bin/bison -DFLEX_EXECUTABLE=/usr/local/opt/flex/bin/flex 
#to cmake call, e.g. like
cmake -DBISON_EXECUTABLE=/opt/homebrew/opt/bison/bin/bison -DFLEX_EXECUTABLE=/opt/homebrew/opt/flex/bin/flex   ..

Windows 64 cross-compilation with minGW

Install cross-compiler and libs

sudo apt install mingw-w64-x86-64-dev mingw-w64-tools g++-mingw-w64-x86-64
sudo apt install wine wine-binfmt #Needed to run tests compile

To build

mkdir build-win && cd  build-win
cmake .. -DVERIFYPN_Static=ON -DVERIFYPN_MC_Simplification=OFF -DCMAKE_TOOLCHAIN_FILE=../toolchain-x86_64-w64-mingw32.cmake
make

Linux64 - Model Checking Competition

mkdir build
cd  build
cmake .. -DVERIFYPN_Static=OFF -DVERIFYPN_MC_Simplification=ON 
make

Mac 64 compilation

mkdir build
cd build
cmake -DVERIFYPN_MC_Simplification=OFF  -DBISON_EXECUTABLE=/usr/local/opt/bison/bin/bison -DFLEX_EXECUTABLE=/usr/local/opt/flex/bin/flex -DCMAKE_C_COMPILER=/usr/local/bin/gcc-9 -DCMAKE_CXX_COMPILER=/usr/local/bin/g++-9 ..
make

verifypn's People

Contributors

petergjoel avatar srba avatar njulrik avatar simwir avatar niceastvillage avatar malleek avatar jakse avatar ragusaen avatar jespoketheepic avatar viphor avatar lasjen88 avatar mathiasmehl avatar jonasfj avatar yrke avatar fbanne avatar peterhaahrtaankvist avatar esb179 avatar theodor349 avatar alankhorsid avatar emilghenriksen avatar mtygesen avatar todes92 avatar

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.