Changeset 1514


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

numcpus in slepc

File:
1 edited

Legend:

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

    r1 r1514  
    22
    33#Get number of cpus on current platform
    4 NUMCPUS=`grep -c processor /proc/cpuinfo`;
     4NUMCPUS=$1;
    55
    66#version of slepc
     
    2323cd install
    2424./config/configure.py
    25 make  -j $NUMCPUS
     25if [ -z $NUMCPUS ];
     26then
     27          make
     28else
     29          make  -j $NUMCPUS
     30fi
Note: See TracChangeset for help on using the changeset viewer.