Ignore:
Timestamp:
08/05/09 13:52:41 (16 years ago)
Author:
Mathieu Morlighem
Message:

minor

File:
1 edited

Legend:

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

    r1548 r1581  
    22
    33#Get number of cpus on current platform
    4 NUMCPUS=`grep -c processor /proc/cpuinfo`;
     4NUMCPUS=$1;
    55
    66#version of netcdf
     
    2525./configure  --prefix="$ISSM_DIR/externalpackages/netcdf/install"
    2626
    27 #Compile netcdf
    28 make -j $NUMCPUS
    29 
    30 #Install
    31 make install
     27#Compile and install netcdf
     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.