安装教程:https://www.bilibili.com/video/BV12x411d7Uv?p=5
或者看这里:https://www.dealii.org/current/readme.html
下载地址:https://dealii.43-1.org/downloads/dealii-9.3.0.tar.gz
本来想使用apt装的,但是apt只能装8版本,需要研究一下怎么用apt装9版本:https://launchpad.net/~ginggs/+archive/ubuntu/deal.ii-backports
需要安装hdf5支持 sudo apt-get install libhdf5-serial-dev(此路不通,还是自己下载编译hdf5比较方便https://www.jianshu.com/p/d0db51925797,注意要enable-parallel),然后cmake的时候-DHDF5_DIR=/path/to/hdf5
同时cmake命令也要改:cmake -DCMAKE_INSTALL_PREFIX=/usr/local/ -DHDF5_DIR=/path/to/hdf5 -DDEAL_II_WITH_HDF5=true ..
需要使用测试功能,还需要安装numdiff,安装过程看官网就可以,非常简单
安装Hdf5:https://www.jianshu.com/p/d0db51925797,注意要enable-parallel),然后cmake的时候-DHDF5_DIR=/path/to/hdf5
安装扩展 UMFPACK,从SuiteSparse套装来安装,suitesparse地址:https://github.com/DrTimothyAldenDavis/SuiteSparse,安装的话直接make library,安装包在lib里面。
安装p4est:https://github.com/cburstedde/p4est,看readme的第七步,基本就是bootstrap\configure\make\make install
./configure CFLAGS="-O2 -Wall -Wno-unused-parameter" \
--enable-mpi --disable-shared --prefix=xxx