Changeset 1519


Ignore:
Timestamp:
08/03/09 14:53:32 (16 years ago)
Author:
seroussi
Message:

new rules in petsc

Location:
issm/trunk/externalpackages/petsc
Files:
1 edited
4 moved

Legend:

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

    r1060 r1519  
    22
    33#Get number of cpus on current platform
    4 NUMCPUS=`grep -c processor /proc/cpuinfo`;
     4NUMCPUS=$1;
    55
    66#version of petsc
     
    2525../configure.sh
    2626
    27 #Compile petsc
    28 make  -j $NUMCPUS
    29 
    30 #Install
    31 make install
     27#Compile petsc and install it
     28if [ -z $NUMCPUS ];
     29then
     30          make
     31          make install
     32else
     33          make  -j $NUMCPUS
     34          make  -j $NUMCPUS install
     35fi
Note: See TracChangeset for help on using the changeset viewer.