Changeset 3216


Ignore:
Timestamp:
03/08/10 12:08:31 (15 years ago)
Author:
Eric.Larour
Message:

New petsc 3 install.

Location:
issm/trunk/externalpackages/petsc
Files:
1 added
1 edited

Legend:

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

    r2069 r3216  
    44NUMCPUS=$1;
    55
    6 #version of petsc
    7 version=`echo *.tar.gz | sed 's/\.tar\.gz//g' | sed 's/petsc-//g'`
     6#available versions
     7#2.3.2-p3
     8#3.0.0-p11
     9
     10#version of petsc?
     11version='2.3.2-p3';
    812
    913#Some cleanup
     
    2529../configure.sh
    2630
     31#symlink some missing stuff.
     32if [[ $version == "3.0.0-p11" ]]
     33then   
     34        cd conf
     35        ln -s ../$ISSM_ARCH/conf/petscrules petscrules
     36        ln -s ../$ISSM_ARCH/conf/petscvariables petscvariables
     37        cd ../
     38        cd include
     39        ln -s ../$ISSM_ARCH/include/petscconf.h petscconf.h
     40        cd ../
     41fi
     42
    2743#Compile petsc and install it
    2844if [ -z $NUMCPUS ];
Note: See TracChangeset for help on using the changeset viewer.