summaryrefslogtreecommitdiff
path: root/packages/sundials
diff options
context:
space:
mode:
authorDominic Steinitz <dominic@steinitz.org>2018-04-21 08:37:47 +0100
committerDominic Steinitz <dominic@steinitz.org>2018-04-21 08:37:47 +0100
commit630ca19980490a8c0feaed7fc8e9492fa4e21b8a (patch)
tree5b92c509b461de3739a3b4ab30b26c69f6dfec97 /packages/sundials
parentb71790bde9d063e6a0d6802996e24070f5fe3960 (diff)
Improve READMEs etc
Diffstat (limited to 'packages/sundials')
-rw-r--r--packages/sundials/ChangeLog.md6
-rw-r--r--packages/sundials/README.md22
2 files changed, 10 insertions, 18 deletions
diff --git a/packages/sundials/ChangeLog.md b/packages/sundials/ChangeLog.md
index e95dc4e..7b15777 100644
--- a/packages/sundials/ChangeLog.md
+++ b/packages/sundials/ChangeLog.md
@@ -1,5 +1,5 @@
1# Revision history for sundials 1# Revision history for hmatrix-sundials
2 2
3## 0.1.0.0 -- YYYY-mm-dd 3## 0.1.0.0 -- 2018-04-21
4 4
5* First version. Released on an unsuspecting world. 5* First version. Released on an unsuspecting world. Just Runge-Kutta methods to start with.
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 @@
1I think this builds the executable. I haven't tried cleaning 1Currently only an interface to the Runge-Kutta methods:
2everything yet to double check. 2[ARKode](https://computation.llnl.gov/projects/sundials/arkode)
3 3
4``` 4The interface is almost certainly going to change. Sundials gives a
5cabal install 5rich set of "combinators" for controlling the solution of your problem
6cd src 6and 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 7hmatrix-gsl and add extra, richer functions but ultimately upgrade the
8cd .. 8whole interface both for sundials and for gsl.
9ghc src/Main.hs src/helpers.o -lsundials_arkode -o Main
10```
11
12To run you will (on MACos) also need
13
14```
15export 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