Download petsc from here.
untar the file to petsc
1)
Edit .bashrc
#petsc
export PETSC_DIR=/home/arfeen/soft/petsc-3.2-p5
export PATH=$PATH:$PETSC_DIR
2)
chmod 777 -R petsc
3)
cd petsc
4)
./configure --download-f2cblaslapack=1 --with-mpi-dir=/opt/mpich2
note: for extra performance use the configuring option,
--with-debugging=no
5)
make all
6)
make test
Comment here if u are facing problems in PETSc installation.
No comments:
Post a Comment