package owl

  1. Overview
  2. Docs
OCaml Scientific and Engineering Computing

Install

Dune Dependency

Authors

Maintainers

Sources

0.6.0.tar.gz
md5=b78de667bc02e232beb321e0d7e11347
sha512=0bb8dbeef6f762660f1bf5eaf9e4b96a9af3956fadf15a8000f99d9a676a0b6e32870d29d74bc4a87eab6967cc27ecfca82d42b9d9e682b1937dc15121f8f298

Description

Owl: OCaml Scientific and Engineering Computing

Owl is an OCaml numerical library. It supports N-dimensional arrays, both dense and sparse matrix operations, linear algebra, regressions, fast Fourier transforms, and many advanced mathematical and statistical functions (such as Markov chain Monte Carlo methods). Recently, Owl has implemented algorithmic differentiation which essentially makes developing machine learning and neural network algorithms trivial.

Published: 18 Jul 2019

README

Owl - OCaml Scientific and Engineering Computing

Owl is a dedicated system for scientific and engineering computing in the functional programming language OCaml.

This software is currently maintained by Komposio, a Helsinki-based software consulting company.

Visit the project website at ocaml.xyz

Optional features

You can enable optional features by setting the following variables to 1 before compilation:

  • OWL_ENABLE_EXPMODE=1: turn on experiment features like -flto

  • OWL_ENABLE_DEVMODE=1: turn on all the warnings in development

  • OWL_ENABLE_OPENMP=1: turn on OpenMP support in core module and the automatic parameter tuning (AEOS)

  • OWL_CFLAGS allows to change the default flags passed to the C targets, it defaults to

    OWL_CFLAGS="-g -O3 -Ofast -march=native -mfpmath=sse -funroll-loops -ffast-math -DSFMT_MEXP=19937 -msse2 -fno-strict-aliasing -Wno-tautological-constant-out-of-range-compare"`
    
  • OWL_AEOS_CFLAGS allows to change the default flags passed to the C targets when compiling AEOS. It defaults to

    OWL_AEOS_CFLAGS="-g -O3 -Ofast -march=native -funroll-loops -ffast-math -DSFMT_MEXP=19937 -fno-strict-aliasing"
    
  • OWL_DISABLE_LAPACKE_LINKING_FLAG=1 disables the -llapacke flag in the linking options. This is useful when you have lapacke installed on non-standard localtion.

If you are not using opam, you should run make clean before recompiling the library after having changed any of those environment variables.

For examples of use of this feature, you can refer to the Docker.ubuntu and Docker.ubuntu.arm docker files, or to the snippet in https://github.com/owlbarn/owl/issues/394#issuecomment-471364916 (which also shows how to use it within esy).

Dependencies (10)

  1. stdio build
  2. owl-base = version
  3. eigen >= "0.1.0"
  4. dune-configurator
  5. dune >= "1.2.1"
  6. ctypes < "0.17.0"
  7. conf-openblas >= "0.2.0"
  8. base-bigarray
  9. base build
  10. ocaml >= "4.06.0" & < "4.08.0"

Dev Dependencies (1)

  1. alcotest with-test

Used by (12)

  1. gobba >= "0.4.2"
  2. gr < "0.0.2"
  3. molenc = "11.4.0"
  4. owl-ode >= "0.1.0" & < "0.3.0"
  5. owl-ode-odepack < "0.3.0"
  6. owl-ode-sundials < "0.3.0"
  7. owl-opt
  8. owl-opt-lbfgs
  9. owl-plplot < "0.8.0"
  10. owl-top < "0.7.0"
  11. owl-zoo = "0.6.0"
  12. smtml >= "0.3.1"

Conflicts

None

OCaml

Innovation. Community. Security.