Debian Codegraph @

examples/plugin/README_SuperLU

raw
1 To compile superlu.cpp
2
3 to build ../3rdparty/lib/libsuperlu_3.1.a
4 # Just do :
5 cd ../3rdparty/superlu/
6 make
7 cd -
8 make SuperLu.$suffix_dynamic_lib
9
10 where $suffix_dynamic_lib is "so" "dll" "dylib" depending of you
11 achitechure ( linux, windows, MacOSX)
12
13
14
15 1) download the SuperLu 3.0 package form
16
17 curl http://crd.lbl.gov/~xiaoye/SuperLU/superlu_3.0.tar.gz -o superlu_3.0.tar.gz
18 tar xvfz superlu_3.0.tar.gz
19 go SuperLU_3.0 directory
20 edite make.inc
21 make
22
23
24 to compile the freefem++ load file of SuperLu with freefem do:
25 some find like :
26 ./ff-c++ SuperLU.cpp -I$HOME/work/LinearSolver/SuperLU_3.1/include -L$HOME/work/LinearSolver/SuperLU_3.0/ -lsuperlu_3.0
27 To test
28 FreeFem++ SuperLu.edp
29
30 Gook Luck. F. Hecht