Skip to content

Commit

Permalink
230913.012009.HKT revise README for #53
Browse files Browse the repository at this point in the history
  • Loading branch information
zaikunzhang committed Sep 12, 2023
1 parent d35950e commit cbcfebc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,9 @@ cmake --build build --target install
```
This should create the `primaf` library for Fortran usage, located in the `install/lib/` directory
to be used with the module files in `install/include/prima/mod/`.

In case CMake fails to find your Fortran compiler,
you can indicate it by specifying `-DCMAKE_Fortran_COMPILER=/path/to/your/Fortran/compiler`.
Similarly, set `-DCMAKE_C_COMPILER=/path/to/your/Fortran/compiler` for your C compiler if needed.

Examples on how to use the library from an external code are available in [`fortran/examples/`](https://github.com/libprima/prima/tree/main/fortran/examples).
Below is an illustration with COBYLA.
Expand Down

0 comments on commit cbcfebc

Please sign in to comment.