diff options
author | Arun Isaac | 2021-02-26 19:50:45 +0530 |
---|---|---|
committer | Arun Isaac | 2021-02-26 19:50:45 +0530 |
commit | 3e748eab44e600cce290e8a2ec251e63a0f0eeb0 (patch) | |
tree | f8baeb62b1ebb7574e4cdd143c2efa2246107986 | |
parent | 0cfa01c973b6ead3b8a8d4dd84f2d28ece0bac04 (diff) | |
download | nsmc-3e748eab44e600cce290e8a2ec251e63a0f0eeb0.tar.gz nsmc-3e748eab44e600cce290e8a2ec251e63a0f0eeb0.tar.lz nsmc-3e748eab44e600cce290e8a2ec251e63a0f0eeb0.zip |
Document running of examples in README.
* README.org (Usage): New section.
-rw-r--r-- | README.org | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -23,6 +23,18 @@ To build, run the following commands. $ make -C build #+END_SRC +* Usage + +See examples in the /examples/ directory. You can build and run them, +for example, using the following commands. /pre-inst-env/ is a shell +wrapper that sets the necessary environment variables so that headers +and dynamic libraries are found correctly. + +#+BEGIN_SRC shell + $ ./build/pre-inst-env gcc -lgsl -lgslcblas -lnsmc examples/generate-cone-vector.c -o generate-cone-vector + $ ./build/pre-inst-env ./generate-cone-vector +#+END_SRC + * License The source code is free software released under the terms of the [[https://www.gnu.org/licenses/gpl.html][GNU |