source: issm/oecreview/Archive/12221-12240/ISSM-12237-12238.diff@ 12325

Last change on this file since 12325 was 12325, checked in by Eric.Larour, 13 years ago

11990 to 12321 oec compliance

File size: 3.3 KB
  • TabularUnified proj/ice/larour/issm-uci-clean/trunk-jpl/externalpackages/blas/install.sh

     
    1 #!/bin/bash
    2 
    3 #Some cleanup
    4 rm -rf src install BLAS blas.tgz
    5 mkdir install src
    6 
    7 #Download from ISSM server
    8 $ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/blas.tgz' 'blas.tgz'
    9 
    10 #Untar
    11 tar -zxvf  blas.tgz
    12 
    13 #Move blas into install directory
    14 mv BLAS/* src
    15 rm -rf BLAS
    16 
    17 #install
    18 cd src
    19 make
    20 
    21 #Compile
    22 cd ../install
    23 mkdir lib
    24 cd lib
    25 cp ../../src/*.a .
    26 ln -s blas_LINUX.a blas.a
    27 ln -s blas_LINUX.a libblas.a
  • TabularUnified proj/ice/larour/issm-uci-clean/trunk-jpl/externalpackages/blas/install-linux64.sh

     
     1#!/bin/bash
     2
     3#Some cleanup
     4rm -rf src install BLAS blas.tgz
     5mkdir install src
     6
     7#Download from ISSM server
     8$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/blas.tgz' 'blas.tgz'
     9
     10#Untar
     11tar -zxvf  blas.tgz
     12
     13#Move blas into install directory
     14mv BLAS/* src
     15rm -rf BLAS
     16
     17#install
     18cd src
     19cp ../configs/linux64/make.inc ./
     20make
     21
     22#Compile
     23cd ../install
     24mkdir lib
     25cd lib
     26cp ../../src/*.a .
     27ln -s blas_LINUX.a blas.a
     28ln -s blas_LINUX.a libblas.a
  • TabularUnified proj/ice/larour/issm-uci-clean/trunk-jpl/externalpackages/blas/configs/linux64/make.inc

    Property changes on: /proj/ice/larour/issm-uci-clean/trunk-jpl/externalpackages/blas/install-linux64.sh
    ___________________________________________________________________
    Added: svn:executable
       + *
    
     
     1####################################################################
     2#  BLAS make include file.                                         #
     3#  March 2007                                                      #
     4####################################################################
     5#
     6SHELL = /bin/sh
     7#
     8#  The machine (platform) identifier to append to the library names
     9#
     10PLAT = _LINUX
     11
     12#  Modify the FORTRAN and OPTS definitions to refer to the
     13#  compiler and desired compiler options for your machine.  NOOPT
     14#  refers to the compiler options desired when NO OPTIMIZATION is
     15#  selected.  Define LOADER and LOADOPTS to refer to the loader and
     16#  desired load options for your machine.
     17#
     18FORTRAN  = gfortran
     19OPTS     = -fPIC -O3
     20DRVOPTS  = $(OPTS)
     21NOOPT    =
     22LOADER   = gfortran
     23LOADOPTS =
     24#
     25#  The archiver and the flag(s) to use when building archive (library)
     26#  If you system has no ranlib, set RANLIB = echo.
     27#
     28ARCH     = ar
     29ARCHFLAGS= cr
     30RANLIB   = ranlib
     31#
     32#  The location and name of the Reference BLAS library.
     33#
     34BLASLIB      = blas$(PLAT).a
Note: See TracBrowser for help on using the repository browser.