source:
issm/oecreview/Archive/12221-12240/ISSM-12237-12238.diff@
12325
Last change on this file since 12325 was 12325, checked in by , 13 years ago | |
---|---|
File size: 3.3 KB |
-
TabularUnified proj/ice/larour/issm-uci-clean/trunk-jpl/externalpackages/blas/install.sh
1 #!/bin/bash2 3 #Some cleanup4 rm -rf src install BLAS blas.tgz5 mkdir install src6 7 #Download from ISSM server8 $ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/blas.tgz' 'blas.tgz'9 10 #Untar11 tar -zxvf blas.tgz12 13 #Move blas into install directory14 mv BLAS/* src15 rm -rf BLAS16 17 #install18 cd src19 make20 21 #Compile22 cd ../install23 mkdir lib24 cd lib25 cp ../../src/*.a .26 ln -s blas_LINUX.a blas.a27 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 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 cp ../configs/linux64/make.inc ./ 20 make 21 22 #Compile 23 cd ../install 24 mkdir lib 25 cd lib 26 cp ../../src/*.a . 27 ln -s blas_LINUX.a blas.a 28 ln -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 # 6 SHELL = /bin/sh 7 # 8 # The machine (platform) identifier to append to the library names 9 # 10 PLAT = _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 # 18 FORTRAN = gfortran 19 OPTS = -fPIC -O3 20 DRVOPTS = $(OPTS) 21 NOOPT = 22 LOADER = gfortran 23 LOADOPTS = 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 # 28 ARCH = ar 29 ARCHFLAGS= cr 30 RANLIB = ranlib 31 # 32 # The location and name of the Reference BLAS library. 33 # 34 BLASLIB = blas$(PLAT).a
Note:
See TracBrowser
for help on using the repository browser.