Changeset 11905


Ignore:
Timestamp:
04/04/12 13:06:23 (13 years ago)
Author:
habbalf
Message:

Updated install...not ready yet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/externalpackages/petsc-dev/install-Petscdev-linux64.sh

    r11896 r11905  
    11#!/bin/bash
    22
    3 #FH modifying ...used mercurial to get dist (maybe should add pull commands?)
     3# Adapted from petsc 3.2.
     4# Used Mercurial to get code
     5#       hg clone http://petsc.cs.iit.edu/petsc/petsc-dev
     6#       cd petsc-dev
     7#            hg clone http://petsc.cs.iit.edu/petsc/BuildSystem config/BuildSystem
     8
     9# To update (via Mercurial):
     10#      cd petsc-dev
     11#      hg pull -u
     12#      cd config/BuildSystem
     13#      hg pull -u
    414
    515
    6 #Some cleanup
    7 #rm -rf install petsc-3.2-p3 src
    8 #mkdir install src
    9 
    10 #Untar and move petsc to install directory
    11 #tar -zxvf  petsc-3.2-p3.tar.gz
    12 #mv petsc-3.2-p3/* src/
    13 #rm -rf petsc-3.2-p3
     16# configure script
     17# Note: using metis from externalpackages did not work...
     18# for now downloading new metis
     19#   -then rename metis in externalpackages to metis2
    1420
    1521
    16 
    17 #configure
    1822cd src
    1923./config/configure.py \
     
    2529        --with-debugging=0 \
    2630        --with-shared-libraries=0 \
     31        --download-metis=yes \
    2732        --download-mumps=yes \
    2833        --download-scalapack=yes \
     
    3136        --download-f-blas-lapack=yes \
    3237        --download-plapack=yes \
    33         --download-metis=yes \
    3438        --download-parmetis=yes \
    3539        --with-pic=1
Note: See TracChangeset for help on using the changeset viewer.