|
Last change
on this file since 11413 was 11413, checked in by cborstad, 14 years ago |
|
merged changes 11330:11410 from trunk-jpl
|
-
Property svn:executable
set to
*
|
|
File size:
536 bytes
|
| Rev | Line | |
|---|
| [11386] | 1 | #!/bin/bash
|
|---|
| 2 |
|
|---|
| 3 | #Some cleanup
|
|---|
| 4 | rm -rf install petsc-2.3.2-p3 src
|
|---|
| 5 | mkdir install src
|
|---|
| 6 |
|
|---|
| 7 | #Untar and move petsc to install directory
|
|---|
| 8 | tar -zxvf petsc-2.3.2-p3.tar.gz
|
|---|
| 9 | mv petsc-2.3.2-p3/* install/
|
|---|
| 10 | rm -rf petsc-2.3.2-p3
|
|---|
| 11 |
|
|---|
| 12 | #configure
|
|---|
| 13 | cd 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
|
|---|
| 24 | make
|
|---|
| 25 | make install
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.