source: issm/trunk-jpl-damage/externalpackages/petsc/install-2.3.2-win7.sh@ 11413

Last change on this file since 11413 was 11413, checked in by cborstad, 13 years ago

merged changes 11330:11410 from trunk-jpl

  • Property svn:executable set to *
File size: 536 bytes
Line 
1#!/bin/bash
2
3#Some cleanup
4rm -rf install petsc-2.3.2-p3 src
5mkdir install src
6
7#Untar and move petsc to install directory
8tar -zxvf petsc-2.3.2-p3.tar.gz
9mv petsc-2.3.2-p3/* install/
10rm -rf petsc-2.3.2-p3
11
12#configure
13cd install
14./config/configure.py \
15 --with-parallel-no \
16 --prefix="$ISSM_TIER/externalpackages/petsc/install" \
17 --PETSC_ARCH=cygwin-intel \
18 --PETSC_DIR="$ISSM_TIER/externalpackages/petsc/install" \
19 --with-debugging=0 \
20 --with-mpi=0 \
21 --download-c-blas-lapack=1
22
23#Compile petsc and install it
24make
25make install
Note: See TracBrowser for help on using the repository browser.