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
RevLine 
[12325]1Index: /proj/ice/larour/issm-uci-clean/trunk-jpl/externalpackages/blas/install.sh
2===================================================================
3--- /proj/ice/larour/issm-uci-clean/trunk-jpl/externalpackages/blas/install.sh (revision 12237)
4+++ /proj/ice/larour/issm-uci-clean/trunk-jpl/externalpackages/blas/install.sh (revision 12238)
5@@ -1,27 +0,0 @@
6-#!/bin/bash
7-
8-#Some cleanup
9-rm -rf src install BLAS blas.tgz
10-mkdir install src
11-
12-#Download from ISSM server
13-$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/blas.tgz' 'blas.tgz'
14-
15-#Untar
16-tar -zxvf blas.tgz
17-
18-#Move blas into install directory
19-mv BLAS/* src
20-rm -rf BLAS
21-
22-#install
23-cd src
24-make
25-
26-#Compile
27-cd ../install
28-mkdir lib
29-cd lib
30-cp ../../src/*.a .
31-ln -s blas_LINUX.a blas.a
32-ln -s blas_LINUX.a libblas.a
33Index: /proj/ice/larour/issm-uci-clean/trunk-jpl/externalpackages/blas/install-linux64.sh
34===================================================================
35--- /proj/ice/larour/issm-uci-clean/trunk-jpl/externalpackages/blas/install-linux64.sh (revision 0)
36+++ /proj/ice/larour/issm-uci-clean/trunk-jpl/externalpackages/blas/install-linux64.sh (revision 12238)
37@@ -0,0 +1,28 @@
38+#!/bin/bash
39+
40+#Some cleanup
41+rm -rf src install BLAS blas.tgz
42+mkdir install src
43+
44+#Download from ISSM server
45+$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/blas.tgz' 'blas.tgz'
46+
47+#Untar
48+tar -zxvf blas.tgz
49+
50+#Move blas into install directory
51+mv BLAS/* src
52+rm -rf BLAS
53+
54+#install
55+cd src
56+cp ../configs/linux64/make.inc ./
57+make
58+
59+#Compile
60+cd ../install
61+mkdir lib
62+cd lib
63+cp ../../src/*.a .
64+ln -s blas_LINUX.a blas.a
65+ln -s blas_LINUX.a libblas.a
66
67Property changes on: /proj/ice/larour/issm-uci-clean/trunk-jpl/externalpackages/blas/install-linux64.sh
68___________________________________________________________________
69Added: svn:executable
70 + *
71
72Index: /proj/ice/larour/issm-uci-clean/trunk-jpl/externalpackages/blas/configs/linux64/make.inc
73===================================================================
74--- /proj/ice/larour/issm-uci-clean/trunk-jpl/externalpackages/blas/configs/linux64/make.inc (revision 0)
75+++ /proj/ice/larour/issm-uci-clean/trunk-jpl/externalpackages/blas/configs/linux64/make.inc (revision 12238)
76@@ -0,0 +1,34 @@
77+####################################################################
78+# BLAS make include file. #
79+# March 2007 #
80+####################################################################
81+#
82+SHELL = /bin/sh
83+#
84+# The machine (platform) identifier to append to the library names
85+#
86+PLAT = _LINUX
87+#
88+# Modify the FORTRAN and OPTS definitions to refer to the
89+# compiler and desired compiler options for your machine. NOOPT
90+# refers to the compiler options desired when NO OPTIMIZATION is
91+# selected. Define LOADER and LOADOPTS to refer to the loader and
92+# desired load options for your machine.
93+#
94+FORTRAN = gfortran
95+OPTS = -fPIC -O3
96+DRVOPTS = $(OPTS)
97+NOOPT =
98+LOADER = gfortran
99+LOADOPTS =
100+#
101+# The archiver and the flag(s) to use when building archive (library)
102+# If you system has no ranlib, set RANLIB = echo.
103+#
104+ARCH = ar
105+ARCHFLAGS= cr
106+RANLIB = ranlib
107+#
108+# The location and name of the Reference BLAS library.
109+#
110+BLASLIB = blas$(PLAT).a
Note: See TracBrowser for help on using the repository browser.