Skip to content

Commit

Permalink
Update README with some options for meson
Browse files Browse the repository at this point in the history
  • Loading branch information
pierre-24 authored May 19, 2022
1 parent 60c518a commit dfa729d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ meson setup build_intel
ninja -C build_intel
```

You may also consider to add the following option to `meson`:

+ `-Dinterface=64` to use 64 bit integers,
+ `-Dstatic=false` to use dynamic libraries (usefull if you get error such as `ld: cannot find -lpthread` at the linking stage of `ninja`),
+ `-Dfortran_link_args=-qopenmp`(useful if you use OneAPI 2021 or latter, and meson ends with `Fortran shared or static library 'mkl_intel_thread' not found`).


To install the `stda` binaries to `/usr/local` use (might require `sudo`)

```bash
Expand Down

0 comments on commit dfa729d

Please sign in to comment.