Skip to content

Commit

Permalink
Merge pull request #16 from pierre-24/patch-1
Browse files Browse the repository at this point in the history
Update README with some options for meson
  • Loading branch information
mdewergi authored May 19, 2022
2 parents 60c518a + dfa729d commit 0ac37d5
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 0ac37d5

Please sign in to comment.