Index: /proj/ice/larour/issm-uci-clean/trunk-jpl/externalpackages/blas/install.sh =================================================================== --- /proj/ice/larour/issm-uci-clean/trunk-jpl/externalpackages/blas/install.sh (revision 12237) +++ /proj/ice/larour/issm-uci-clean/trunk-jpl/externalpackages/blas/install.sh (revision 12238) @@ -1,27 +0,0 @@ -#!/bin/bash - -#Some cleanup -rm -rf src install BLAS blas.tgz -mkdir install src - -#Download from ISSM server -$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/blas.tgz' 'blas.tgz' - -#Untar -tar -zxvf blas.tgz - -#Move blas into install directory -mv BLAS/* src -rm -rf BLAS - -#install -cd src -make - -#Compile -cd ../install -mkdir lib -cd lib -cp ../../src/*.a . -ln -s blas_LINUX.a blas.a -ln -s blas_LINUX.a libblas.a Index: /proj/ice/larour/issm-uci-clean/trunk-jpl/externalpackages/blas/install-linux64.sh =================================================================== --- /proj/ice/larour/issm-uci-clean/trunk-jpl/externalpackages/blas/install-linux64.sh (revision 0) +++ /proj/ice/larour/issm-uci-clean/trunk-jpl/externalpackages/blas/install-linux64.sh (revision 12238) @@ -0,0 +1,28 @@ +#!/bin/bash + +#Some cleanup +rm -rf src install BLAS blas.tgz +mkdir install src + +#Download from ISSM server +$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/blas.tgz' 'blas.tgz' + +#Untar +tar -zxvf blas.tgz + +#Move blas into install directory +mv BLAS/* src +rm -rf BLAS + +#install +cd src +cp ../configs/linux64/make.inc ./ +make + +#Compile +cd ../install +mkdir lib +cd lib +cp ../../src/*.a . +ln -s blas_LINUX.a blas.a +ln -s blas_LINUX.a libblas.a Property changes on: /proj/ice/larour/issm-uci-clean/trunk-jpl/externalpackages/blas/install-linux64.sh ___________________________________________________________________ Added: svn:executable + * Index: /proj/ice/larour/issm-uci-clean/trunk-jpl/externalpackages/blas/configs/linux64/make.inc =================================================================== --- /proj/ice/larour/issm-uci-clean/trunk-jpl/externalpackages/blas/configs/linux64/make.inc (revision 0) +++ /proj/ice/larour/issm-uci-clean/trunk-jpl/externalpackages/blas/configs/linux64/make.inc (revision 12238) @@ -0,0 +1,34 @@ +#################################################################### +# BLAS make include file. # +# March 2007 # +#################################################################### +# +SHELL = /bin/sh +# +# The machine (platform) identifier to append to the library names +# +PLAT = _LINUX +# +# Modify the FORTRAN and OPTS definitions to refer to the +# compiler and desired compiler options for your machine. NOOPT +# refers to the compiler options desired when NO OPTIMIZATION is +# selected. Define LOADER and LOADOPTS to refer to the loader and +# desired load options for your machine. +# +FORTRAN = gfortran +OPTS = -fPIC -O3 +DRVOPTS = $(OPTS) +NOOPT = +LOADER = gfortran +LOADOPTS = +# +# The archiver and the flag(s) to use when building archive (library) +# If you system has no ranlib, set RANLIB = echo. +# +ARCH = ar +ARCHFLAGS= cr +RANLIB = ranlib +# +# The location and name of the Reference BLAS library. +# +BLASLIB = blas$(PLAT).a