cent升级g++9
-
yum install centos-release-scl -y yum install devtoolset-9 -y source /opt/rh/devtoolset-9/enable
OpenMPI aclocal
cd /usr/local wget https://ftp.gnu.org/gnu/automake/automake-1.15.tar.gz --no-check-certificate tar -xzf automake-1.15.tar.gz cd aclocal-1.15 ./configure --prefix=/usr/local/automake make make install export PATH=/usr/local/automake/bin:$PATH
cd openmpi-4.1.2 autogen.pl ./makeOPENMPI
yum install blas-devel lapack-devel
wget https://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-lite-3.17.2.tar.gz --no-check-certificate ./makePETSC -hypre=http://dyfluid.com/hyper-2.24.0.tar.gz