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
|