Giter Club home page Giter Club logo

owl's Introduction

Owl - OCaml Scientific and Engineering Computing Build Status

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 owlbarn#394 (comment) (which also shows how to use it within esy).

Troubleshooting

A common source of frustration when installing owl is the possible appearence of linking errors (see for example owlbarn#450). This usually happens when installing owl on ubuntu (where it depends on how openblas is complied and packaged), but could happen in other distributions (see for example https://discuss.ocaml.org/t/owl-undefined-symbols-after-standard-installation/4186/13). The only way we could solve those issues is to recompile openblas and install it manually. You can see how we do it by looking at the Docker files in the repository: https://github.com/owlbarn/owl/blob/master/docker/Dockerfile.ubuntu

Statistics

-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
OCaml                          357          31341          17275         130905
C                              140           5783           9874          69686
C/C++ Header                    91           4897           2784          36291
make                             2              6              5             34
Markdown                         1              6              0             16
-------------------------------------------------------------------------------
SUM:                           591          42033          29938         236932
-------------------------------------------------------------------------------

owl's People

Contributors

ryanrhymes avatar jzstark avatar mseri avatar tachukao avatar mor1 avatar bagmanas avatar mars0i avatar kanisteri avatar pvdhove avatar struktured avatar tptiplea avatar mreppen avatar pveber avatar jotterbach avatar ejaasaari avatar nilsbecker avatar superbobry avatar dc-mak avatar bencatterall avatar despairblue avatar atthecodeface avatar pratapsingh1729 avatar fourchaux avatar rgrinberg avatar vietlq avatar mmottl avatar mcsosa121 avatar paurkedal avatar philipdexter avatar nomaddo avatar

Watchers

James Cloos 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.