Changeset 6856


Ignore:
Timestamp:
12/29/10 18:22:40 (14 years ago)
Author:
Eric.Larour
Message:

More flexible script, to accomodate version 3 quirks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/externalpackages/petsc/install.sh

    r6739 r6856  
    1010#version of petsc?
    1111#version='3.0.0-p11'
     12#version='3.1-p7'
    1213version='2.3.2-p3'; #default for now! (nightly runs)
    1314
    1415#Some cleanup
    15 rm -rf install petsc-$version
     16rm -rf install petsc-$version src
    1617
    17 #Create install directories
    18 mkdir install
     18#Create src and install directories
     19mkdir install src
    1920
    2021#Untar
     
    2223
    2324#Move petsc to install directory
    24 rm -rf install/*
    25 mv petsc-$version/* install/
     25rm -rf src/*
     26mv petsc-$version/* src/
    2627rm -rf petsc-$version
    2728
    2829#Configure petsc
    29 cd install
     30cd src
    3031../configure.sh
    3132
Note: See TracChangeset for help on using the changeset viewer.