IP 159.226.92.86 port 13101
ssh vscode
有限元软件包OpenPFEM:https://gitlab.com/xiegroup/OpenPFEM1.0
特征值软件包PASE:https://gitlab.com/xiegroup/pase1.0
特征值软件包GCGE:https://gitlab.com/xiegroup/gcge1.0
LSSC4
module
git
cmake、make、python、python3
gcc、mpich
blas、lapack (可以通过petsc来安装)
-lblas -llapack
https://www.mcs.anl.gov/petsc/mirror/release-snapshots/petsc-3.17.tar.gz
下载安装包、解压缩
x
wget https://www.mcs.anl.gov/petsc/mirror/release-snapshots/petsc-3.17.tar.gz
tar -xvf petsc-3.17.tar.gz
安装脚本(指定了安装路径)
x
./configure PETSC_ARCH=arch-nodebug \
--prefix=/home/wangzijing/packages/petsc3_17_5 \
--with-debugging=0 \
COPTFLAGS='-O2 -march=native -mtune=native' \
CXXOPTFLAGS='-O2 -march=native -mtune=native' \
FOPTFLAGS='-O2 -march=native -mtune=native' \
--download-fblaslapack \
--download-scalapack \
--with-cc=mpicc \
--with-cxx=mpicxx \
--with-fc=mpifort \
--download-metis \
--download-parmetis \
--download-suitesparse \
--download-superlu_dist \
--download-mumps \
--download-superlu \
--download-hypre \
--with-valgrind=0 --with-openmp
可能出现的错误
x
./configure PETSC_ARCH=arch-nodebug \
--prefix=/home/wangzijing/packages/petsc3_17_5 \
--with-debugging=0 \
COPTFLAGS='-O2 -march=native -mtune=native' \
CXXOPTFLAGS='-O2 -march=native -mtune=native' \
FOPTFLAGS='-O2 -march=native -mtune=native' \
--download-fblaslapack \
--download-scalapack=/home/wangzijing/packages/petsc-3.17.5/arch-nodebug/externalpackages/5bad7487f496c811192334640ce4d3fc5f88144b.tar.gz \
--with-cc=mpicc \
--with-cxx=mpicxx \
--with-fc=mpifort \
--download-metis \
--download-parmetis \
--download-suitesparse \
--download-superlu_dist \
--download-mumps \
--download-superlu \
--with-valgrind=0 --with-openmp
编译(按照提示命令即可)
x
make PETSC_DIR=/home/wangzijing/packages/petsc-3.17.5 PETSC_ARCH=arch-nodebug all
安装(按照提示命令即可)
xxxxxxxxxx
make PETSC_DIR=/home/wangzijing/packages/petsc-3.17.5 PETSC_ARCH=arch-nodebug install
添加路径到bashrc
xxxxxxxxxx
export PETSC_DIR=/home/wangzijing/packages/petsc3_17_5
export PETSC_ARCH=
x
source ~/.bashrc
#注意vscode的“延时性”
https://slepc.upv.es/download/distrib/slepc-3.17.2.tar.gz
下载安装包、解压缩
x
wget https://slepc.upv.es/download/distrib/slepc-3.17.2.tar.gz
tar -xvf slepc-3.17.2.tar.gz
安装脚本
xxxxxxxxxx
export PETSC_DIR=/home/wangzijing/packages/petsc3_17_5
export PETSC_ARCH=
./configure --prefix=/home/wangzijing/packages/slepc3_17_2
编译安装
make SLEPC_DIR=/home/wangzijing/packages/slepc-3.17.2 PETSC_DIR=/home/wangzijing/packages/petsc3_17_5
make SLEPC_DIR=/home/wangzijing/packages/slepc-3.17.2 PETSC_DIR=/home/wangzijing/packages/petsc3_17_5 install