Changeset 2604


Ignore:
Timestamp:
11/04/09 11:51:04 (15 years ago)
Author:
Mathieu Morlighem
Message:

Fixed Bamg compilation

File:
1 edited

Legend:

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

    r2602 r2604  
    22#bamg has been developed by Frederic Hecht: http://www.ann.jussieu.fr/~hecht/
    33#available on http://www.ann.jussieu.fr/~hecht/ftp/bamg/
     4
     5#Get number of cpus
     6NUMCPUS=$1;
    47
    58#Bamg name
     
    1922rm -rf bamg
    2023
     24#patch Mesh2.h
     25cd install
     26patch Mesh2.h ../Mesh2.h.patch
     27
    2128#compile
    22 HOSTTYPE="linux";
    23 cd install
    24 make
     29source ../configure.sh
     30if [ -z $NUMCPUS ];
     31then
     32        make
     33else
     34        make -j $NUMCPUS
     35fi
Note: See TracChangeset for help on using the changeset viewer.