Revision b2863342530d5e590a9a69dfd976f6c67f48dd9c authored by Thomas Saigre on 14 June 2023, 12:39:27 UTC, committed by Thomas Saigre on 14 June 2023, 12:48:16 UTC
1 parent b71939d
Raw File
petsc.sh
#PETSC
cd $petscDir/src
wget -c http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-3.4.3.tar.gz
tar xzf petsc-3.4.3.tar.gz
cd petsc-3.4.3
./configure --with-shared-libraries=1 \
  --with-debugging=0 \
  COPTFLAGS='-O3 -march=p4 -mtune=p4' FOPTFLAGS='-O3 -qarch=p4 -qtune=p4' \
  --prefix=$petscDir \
  --download-umfpack=1 \
  --download-ml \
  --download-metis \
  --download-parmetis \
  --download-blacs \
  --download-scalapack \
  --download-f-blas-lapack \
  --download-mumps \
  --download-pastix \
  --download-ptscotch
make all
make test
make install
back to top