Revision af03cba596d2a9ea242804f26c247846d1ee0e34 authored by Vincent Chabannes on 09 February 2021, 14:07:24 UTC, committed by Vincent Chabannes on 09 February 2021, 14:07:24 UTC
1 parent 18b1aa2
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