Last change
on this file since 20498 was 20498, checked in by Mathieu Morlighem, 9 years ago |
CHG: done with Archive/19101-20495
|
File size:
1.3 KB
|
Rev | Line | |
---|
[20498] | 1 | Index: ../trunk-jpl/externalpackages/petsc/install-3.6-macosx64.sh
|
---|
| 2 | ===================================================================
|
---|
| 3 | --- ../trunk-jpl/externalpackages/petsc/install-3.6-macosx64.sh (revision 0)
|
---|
| 4 | +++ ../trunk-jpl/externalpackages/petsc/install-3.6-macosx64.sh (revision 19400)
|
---|
| 5 | @@ -0,0 +1,34 @@
|
---|
| 6 | +#!/bin/bash
|
---|
| 7 | +set -eu
|
---|
| 8 | +
|
---|
| 9 | +#Some cleanup
|
---|
| 10 | +rm -rf install petsc-3.6.0 src
|
---|
| 11 | +mkdir install src
|
---|
| 12 | +
|
---|
| 13 | +#Download from ISSM server
|
---|
| 14 | +$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-lite-3.6.0.tar.gz' 'petsc-3.6.0.tar.gz'
|
---|
| 15 | +
|
---|
| 16 | +#Untar and move petsc to install directory
|
---|
| 17 | +tar -zxvf petsc-3.6.0.tar.gz
|
---|
| 18 | +mv petsc-3.6.0/* src/
|
---|
| 19 | +rm -rf petsc-3.6.0
|
---|
| 20 | +
|
---|
| 21 | +#configure
|
---|
| 22 | +cd src
|
---|
| 23 | +./config/configure.py \
|
---|
| 24 | + --prefix="$ISSM_DIR/externalpackages/petsc/install" \
|
---|
| 25 | + --with-mpi-dir="$ISSM_DIR/externalpackages/mpich/install" \
|
---|
| 26 | + --PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \
|
---|
| 27 | + --with-debugging=0 \
|
---|
| 28 | + --with-valgrind=0 \
|
---|
| 29 | + --with-x=0 \
|
---|
| 30 | + --with-ssl=0 \
|
---|
| 31 | + --with-shared-libraries=1 \
|
---|
| 32 | + --download-metis=1 \
|
---|
| 33 | + --download-parmetis=1 \
|
---|
| 34 | + --download-mumps=1 \
|
---|
| 35 | + --download-scalapack=1
|
---|
| 36 | +
|
---|
| 37 | +#Compile and intall
|
---|
| 38 | +make
|
---|
| 39 | +make install
|
---|
| 40 |
|
---|
| 41 | Property changes on: ../trunk-jpl/externalpackages/petsc/install-3.6-macosx64.sh
|
---|
| 42 | ___________________________________________________________________
|
---|
| 43 | Added: svn:executable
|
---|
| 44 | + *
|
---|
| 45 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.