ยซ Up

rewriter-perf-Slow dev Error ๐Ÿ”ฅ

Context

# Packages matching: installed
# Name                # Installed # Synopsis
base-bigarray         base
base-threads          base
base-unix             base
conf-findutils        1           Virtual package relying on findutils
conf-gmp              4           Virtual package relying on a GMP lib system installation
coq                   dev         Formal proof management system
dune                  3.1.1       Fast, portable, and opinionated build system
ocaml                 4.12.1      The OCaml compiler (virtual package)
ocaml-base-compiler   4.12.1      Official release 4.12.1
ocaml-config          2           OCaml Switch Configuration
ocaml-options-vanilla 1           Ensure that OCaml is compiled with no special options enabled
ocamlfind             1.9.3       A library manager for OCaml
zarith                1.12        Implements arithmetic and logical operations over arbitrary-precision integers
# opam file:
opam-version: "2.0"
authors: [
  "Google Inc."
  "Massachusetts Institute of Technology"
]
maintainer: "Jason Gross <jgross@mit.edu>"
homepage: "https://github.com/mit-plv/rewriter"
bug-reports: "https://github.com/mit-plv/rewriter/issues"
license: "MIT OR Apache-2.0 OR BSD-1-Clause"
build: [
  [make "-j%{jobs}%" "perf-Slow" "EXTERNAL_PERF_DEPENDENCIES=1" "TIMED=1"]
  [make "-j%{jobs}%" "perf-csv"]
]
install: []
depends: [
  "coq" {>= "8.9~"}
  "conf-time"
  "coq-rewriter"
]
dev-repo: "git+https://github.com/mit-plv/rewriter.git"
synopsis: "Performance Benchmark for Reflective PHOAS rewriting/pattern-matching-compilation framework for simply-typed equalities and let-lifting"
url {
  src: "git+https://github.com/mit-plv/rewriter.git#master"
}

Lint

Command
true
Return code
0

Dry install ๐Ÿœ๏ธ

Dry install with the current Coq version:

Command
opam install -y --show-action coq-rewriter-perf-Slow.dev coq.dev
Return code
0

Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:

Command
true
Return code
0

Install dependencies

Command
opam list; echo; ulimit -Sv 4000000; timeout 4h opam install -y --deps-only coq-rewriter-perf-Slow.dev coq.dev
Return code
0
Duration
20 m 0 s

Install ๐Ÿš€

Command
opam list; echo; ulimit -Sv 16000000; timeout 4h opam install -y coq-rewriter-perf-Slow.dev coq.dev
Return code
7936
Duration
3 h 47 m
Output
# Packages matching: installed
# Name                # Installed # Synopsis
base-bigarray         base
base-threads          base
base-unix             base
conf-findutils        1           Virtual package relying on findutils
conf-gmp              4           Virtual package relying on a GMP lib system installation
conf-time             1           Virtual package relying on the "time" command
conf-which            1           Virtual package relying on which
coq                   dev         Formal proof management system
coq-rewriter          dev         Reflective PHOAS rewriting/pattern-matching-compilation framework for simply-typed equalities and let-lifting, experimental and tailored for use in Fiat Cryptography
dune                  3.1.1       Fast, portable, and opinionated build system
ocaml                 4.12.1      The OCaml compiler (virtual package)
ocaml-base-compiler   4.12.1      Official release 4.12.1
ocaml-config          2           OCaml Switch Configuration
ocaml-options-vanilla 1           Ensure that OCaml is compiled with no special options enabled
ocamlfind             1.9.3       A library manager for OCaml
zarith                1.12        Implements arithmetic and logical operations over arbitrary-precision integers
[NOTE] Package coq is already installed (current version is dev).
The following actions will be performed:
  - install coq-rewriter-perf-Slow dev
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[coq-rewriter-perf-Slow.dev] synchronised from git+https://github.com/mit-plv/rewriter.git#master
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] The compilation of coq-rewriter-perf-Slow failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build make -j4 perf-Slow EXTERNAL_PERF_DEPENDENCIES=1 TIMED=1".
#=== ERROR while compiling coq-rewriter-perf-Slow.dev =========================#
# context              2.0.8 | linux/x86_64 | ocaml-base-compiler.4.12.1 | file:///home/bench/run/opam-coq-archive/extra-dev
# path                 ~/.opam/ocaml-base-compiler.4.12.1/.opam-switch/build/coq-rewriter-perf-Slow.dev
# command              ~/.opam/opam-init/hooks/sandbox.sh build make -j4 perf-Slow EXTERNAL_PERF_DEPENDENCIES=1 TIMED=1
# exit-code            2
# env-file             ~/.opam/log/coq-rewriter-perf-Slow-22169-c743ac.env
# output-file          ~/.opam/log/coq-rewriter-perf-Slow-22169-c743ac.out
### output ###
# [...]
# COQC Plus0Tree/_2_Slow > LOG
# While loading initial state:
# Warning: Native compiler is disabled, -native-compiler ondemand option
# ignored. [native-compiler-disabled,native-compiler]
# Fatal error: out of memory
# Command terminated by signal 6
# src/Rewriter/Rewriter/Examples/PerfTesting/UnderLetsPlus0/_3_Slow.log (real: 8332.10, user: 1258.00, sys: 21.29, mem: 13693536 ko)
# make: *** [/home/bench/.opam/ocaml-base-compiler.4.12.1/.opam-switch/build/coq-rewriter-perf-Slow.dev/src/Rewriter/Rewriter/Examples/PerfTesting/Makefile.generated-files:23: src/Rewriter/Rewriter/Examples/PerfTesting/UnderLetsPlus0/_3_Slow.log] Error 134
# make: *** Waiting for unfinished jobs....
# src/Rewriter/Rewriter/Examples/PerfTesting/Plus0Tree/_2_Slow.log (real: 4851.00, user: 937.38, sys: 2.45, mem: 1753252 ko)
# src/Rewriter/Rewriter/Examples/PerfTesting/Plus0Tree/_0_Slow.log (real: 6268.76, user: 1231.50, sys: 6.39, mem: 3384872 ko)
# src/Rewriter/Rewriter/Examples/PerfTesting/LiftLetsMap/_8_Slow.log (real: 10213.29, user: 2367.01, sys: 4.35, mem: 3481224 ko)
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-rewriter-perf-Slow dev
+- 
- No changes have been performed
# Run eval $(opam env) to update the current shell environment

Installation size

No files were installed.

Uninstall ๐Ÿงน

Command
true
Return code
0
Missing removes
none
Wrong removes
none