Added Landmark profiler

This commit is contained in:
Anthony Scemama 2023-06-30 12:22:26 +02:00
parent ca727440db
commit d53c0e6ea3
19 changed files with 56 additions and 27 deletions

View File

@ -68,6 +68,7 @@ with open(dunetest,'w') as f:
qcaml.gaussian_integrals
qcaml.operators
)
(instrumentation (backend landmarks))
#+end_src
** Modules without implementation

View File

@ -64,6 +64,7 @@ with open(dunetest,'w') as f:
getopt
unix
)
(instrumentation (backend landmarks))
#+end_src
** Modules without implementation

View File

@ -13,11 +13,10 @@
unix
)
(c_names
util
)
(c_flags (:standard)
-Ofast -mtune=native -fPIC
(foreign_stubs
(language c)
(flags (:standard) -Ofast -mtune=native -fPIC)
(names util)
)
)

View File

@ -1,4 +1,4 @@
(lang dune 1.10)
(lang dune 2.7)
(name qcaml)
(generate_opam_files true)
@ -34,6 +34,7 @@ in quantum chemistry.")
zarith
alcotest
domainslib
(landmarks-ppx (and :dev (>= 1.4)))
)
)

View File

@ -3,9 +3,13 @@
ex_integrals
ex_hartree_fock
ex_localization
)
(libraries
)
(libraries
qcaml
unix
))
landmarks
)
(instrumentation (backend landmarks-threads))
)

View File

@ -55,6 +55,7 @@ with open(dunetest,'w') as f:
#+end_src
** Dependencies
(instrumentation (backend landmarks))
#+name: dependencies
#+begin_src elisp
@ -62,6 +63,7 @@ with open(dunetest,'w') as f:
qcaml.common
qcaml.particles
)
(instrumentation (backend landmarks))
#+end_src
** Modules without implementation

View File

@ -9,6 +9,7 @@
qcaml.common
qcaml.particles
)
(instrumentation (backend landmarks))
)

View File

@ -67,6 +67,7 @@ with open(dunetest,'w') as f:
qcaml.gaussian
qcaml.operators
)
(instrumentation (backend landmarks))
#+end_src
** Modules without implementation

View File

@ -12,8 +12,9 @@
qcaml.operators
unix
domainslib
)
landmarks
)
(instrumentation (backend landmarks))
(modules_without_implementation matrix_on_basis)
)

View File

@ -62,6 +62,7 @@ with open(dunetest,'w') as f:
qcaml.common
lacaml
)
(instrumentation (backend landmarks))
#+end_src
** Modules without implementation

View File

@ -61,6 +61,7 @@ with open(dunetest,'w') as f:
(libraries
qcaml.simulation
)
(instrumentation (backend landmarks))
#+end_src
** Modules without implementation

View File

@ -61,6 +61,7 @@ with open(dunetest,'w') as f:
(libraries
qcaml.common
)
(instrumentation (backend landmarks))
#+end_src
** Modules without implementation

View File

@ -63,6 +63,7 @@ with open(dunetest,'w') as f:
trexio
qcaml.common
)
(instrumentation (backend landmarks))
#+end_src
** Modules without implementation

View File

@ -62,6 +62,7 @@ with open(dunetest,'w') as f:
qcaml.simulation
qcaml.mo
)
(instrumentation (backend landmarks))
#+end_src
** Modules without implementation

View File

@ -1,25 +1,18 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
build: [
["dune" "subst"] {pinned}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
["dune" "build" "-p" name "@doc"] {with-doc}
]
maintainer: ["Anthony Scemama <scemama@irsamc.ups-tlse.fr>"]
authors: ["Anthony Scemama <scemama@irsamc.ups-tlse.fr>"]
bug-reports: "https://gitlab.com/scemama/qcaml/issues"
homepage: "https://gitlab.com/scemama/qcaml"
doc: "https://gitlab.com/scemama/qcaml"
license: "LGPL-2.1+ with OCaml linking exception"
dev-repo: "git+https://gitlab.com/scemama/qcaml.git"
synopsis: "QCaml - Quantum chemistry with OCaml"
description: """
QCaml provides a programming framewrok work wave function methods
in quantum chemistry."""
maintainer: ["Anthony Scemama <scemama@irsamc.ups-tlse.fr>"]
authors: ["Anthony Scemama <scemama@irsamc.ups-tlse.fr>"]
license: "LGPL-2.1+ with OCaml linking exception"
homepage: "https://gitlab.com/scemama/qcaml"
doc: "https://gitlab.com/scemama/qcaml"
bug-reports: "https://gitlab.com/scemama/qcaml/issues"
depends: [
"ocaml" {>= "5.0"}
"dune" {>= "1.10"}
"dune" {>= "2.7" & >= "1.10"}
"camlp-streams" {>= "5.0"}
"trexio"
"lacaml"
@ -27,4 +20,21 @@ depends: [
"zarith"
"alcotest"
"domainslib"
"landmarks-ppx" {dev & >= "1.4"}
"odoc" {with-doc}
]
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
dev-repo: "git+https://gitlab.com/scemama/qcaml.git"

View File

@ -42,6 +42,7 @@ with open(dune,'w') as f:
(libraries
{dependencies}
)
(instrumentation (backend landmarks))
<<noimplementation>>
<<c-files>>
)

View File

@ -66,6 +66,7 @@ with open(dunetest,'w') as f:
qcaml.operators
qcaml.ao
)
(instrumentation (backend landmarks))
#+end_src
** Modules without implementation

View File

@ -12,8 +12,8 @@
test_perturbation
))
(alias
(name runtest)
(rule
(alias runtest)
(deps run_tests.exe)
(action (run %{deps} -q --color=always)))

View File

@ -37,6 +37,7 @@ with open("lib/dune",'w') as f:
compiler-libs.toplevel
qcaml
)
(instrumentation (backend landmarks))
)
""")
#+end_src