File: README_SuperLU

package info (click to toggle)
freefem%2B%2B 3.47%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 132,088 kB
  • ctags: 19,726
  • sloc: cpp: 138,951; ansic: 22,605; sh: 4,951; makefile: 2,935; fortran: 1,147; perl: 768; awk: 282; php: 182
file content (33 lines) | stat: -rw-r--r-- 718 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
To compile superlu.cpp 

to build ../download/lib/libsuperlu_3.1.a
#  Just do : 
cd ../download/superlu/
make
cd -
make  SuperLu.$suffix_dynamic_lib

where $suffix_dynamic_lib is "so" "dll" "dylib" depending of you
achitechure  ( linux, windows, MacOSX)



1) download the SuperLu 3.0 package form

curl   http://crd.lbl.gov/~xiaoye/SuperLU/superlu_3.0.tar.gz  -o superlu_3.0.tar.gz
tar xvfz superlu_3.0.tar.gz
go SuperLU_3.0 directory
edite make.inc
make 


to compile  the freefem++ load file  of SuperLu with freefem do:
some find like : 
./ff-c++ SuperLU.cpp  -I$HOME/work/LinearSolver/SuperLU_3.1/include -L$HOME/work/LinearSolver/SuperLU_3.0/ -lsuperlu_3.0
To test 
FreeFem++ SuperLu.edp

Gook Luck. F. Hecht