FreeFem初体验

  |   0 评论   |   0 浏览

背景

FreeFem是一个有限元软件。

FreeFem依赖的库有:ARPACK,BLAS,OpenBLAS,FFTW 3.3.2,Ipopt 3.12.4,Gmm++ 4.2,freeYams,METIS,ParMETIS,Mmg,mshmet,MUMPS,NLopt 2.2.4,ScaLAPACK,Scotch,SuiteSparse,SuperLU,TetGen,PETSc,SLEPc,HTool,HPDDM,BemTool,ParMmg

初体验

编译

下载源码:

https://github.com/FreeFem/FreeFem-sources/archive/refs/tags/v4.9.zip

编译准备:

sudo yum install autoconf automake unzip m4 bison flex patch
sudo yum -y install perl-Digest-MD5

编译:

autoreconf -i
./configure --enable-download --enable-optim --disable-fortran

下载依赖:

./3rdparty/getall -a

结果

ARPACK arpack96.tar.gz done
ARPACK patch.tar.gz done
BLAS blas-3.7.1.tgz done
BLAS cblas.tgz done
OpenBLAS OpenBLAS.tar.gz done
FFTW fftw-3.3.8.tar.gz done
freeYams freeyams.2012.02.05.tgz done
Gmm++ gmm-4.2.tar.gz done
Ipopt Ipopt-3.12.4.tgz done
METIS metis-5.1.0.tar.gz done
ParMETIS ParMetis-4.0.3.tar.gz done
MMG3D mmg3d4.0.tgz done
mshmet mshmet.2012.04.25.tgz done
MUMPS MUMPS_5.0.2.tar.gz done
NLopt nlopt-2.2.4.tar.gz done
ScaLAPACK scalapack-2.1.0.tgz done
Scotch scotch-v6.1.0.tar.gz done
SuiteSparse SuiteSparse-4.4.4.tar.gz done
SuperLU superlu-5.2.2.zip done
TetGen tetgen1.5.1-beta1.tar.gz done
mmg mmg.zip done
parmmg parmmg.zip done
PETSc petsc-3.15.0.tar.gz done
htool htool.zip done
hpddm hpddm.zip done
bemtool bemtool.zip done
Boost boost_for_bemtool.tar.gz done
libpthread-google libpthread-google.tar.gz done

编译依赖:

cd 3rdparty/ff-petsc
make petsc-slepc
cd -
./reconfigure

参考