diff options
Diffstat (limited to 'packages/sundials/README.md')
-rw-r--r-- | packages/sundials/README.md | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/packages/sundials/README.md b/packages/sundials/README.md index 400b36f..2fac5c2 100644 --- a/packages/sundials/README.md +++ b/packages/sundials/README.md | |||
@@ -1,16 +1,8 @@ | |||
1 | I think this builds the executable. I haven't tried cleaning | 1 | Currently only an interface to the Runge-Kutta methods: |
2 | everything yet to double check. | 2 | [ARKode](https://computation.llnl.gov/projects/sundials/arkode) |
3 | 3 | ||
4 | ``` | 4 | The interface is almost certainly going to change. Sundials gives a |
5 | cabal install | 5 | rich set of "combinators" for controlling the solution of your problem |
6 | cd src | 6 | and reporting on how it performed. The idea is to initially mimic |
7 | /nix/store/qrwfai93qhdaj5d4xd34n9bq58slzfxw-gcc-wrapper-6.4.0/bin/gcc -c helpers.c -I/nix/store/dr0yrlmscybjs5ifzw1m063g6xgw5imq-ghc-8.2.2-with-packages/lib/ghc-8.2.2/include | 7 | hmatrix-gsl and add extra, richer functions but ultimately upgrade the |
8 | cd .. | 8 | whole interface both for sundials and for gsl. |
9 | ghc src/Main.hs src/helpers.o -lsundials_arkode -o Main | ||
10 | ``` | ||
11 | |||
12 | To run you will (on MACos) also need | ||
13 | |||
14 | ``` | ||
15 | export DYLD_LIBRARY_PATH=~/.cabal/bin:/nix/store/dr0yrlmscybjs5ifzw1m063g6xgw5imq-ghc-8.2.2-with-packages/lib/ghc-8.2.2/rts | ||
16 | ``` \ No newline at end of file | ||