⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lapack.diff

📁 LAPACK++ (Linear Algebra PACKage in C++) is a software library for numerical linear algebra that sol
💻 DIFF
📖 第 1 页 / 共 2 页
字号:
diff -u -r -N -w old/LAPACK/BLAS/SRC/Makefile.win32 new/LAPACK/BLAS/SRC/Makefile.win32--- old/LAPACK/BLAS/SRC/Makefile.win32	1970-01-01 01:00:00.000000000 +0100+++ new/LAPACK/BLAS/SRC/Makefile.win32	2004-01-18 05:13:01.000000000 +0100@@ -0,0 +1,214 @@+include ../../make.inc
+
+#######################################################################
+#  This is the makefile to create a library for the BLAS.
+#  The files are grouped as follows:
+#
+#       SBLAS1 -- Single precision real BLAS routines
+#       CBLAS1 -- Single precision complex BLAS routines
+#       DBLAS1 -- Double precision real BLAS routines
+#       ZBLAS1 -- Double precision complex BLAS routines
+#
+#       CB1AUX -- Real BLAS routines called by complex routines
+#       ZB1AUX -- D.P. real BLAS routines called by d.p. complex
+#                 routines
+#
+#      ALLBLAS -- Auxiliary routines for Level 2 and 3 BLAS
+#
+#       SBLAS2 -- Single precision real BLAS2 routines
+#       CBLAS2 -- Single precision complex BLAS2 routines
+#       DBLAS2 -- Double precision real BLAS2 routines
+#       ZBLAS2 -- Double precision complex BLAS2 routines
+#
+#       SBLAS3 -- Single precision real BLAS3 routines
+#       CBLAS3 -- Single precision complex BLAS3 routines
+#       DBLAS3 -- Double precision real BLAS3 routines
+#       ZBLAS3 -- Double precision complex BLAS3 routines
+#
+#  The library can be set up to include routines for any combination
+#  of the four precisions.  To create or add to the library, enter make
+#  followed by one or more of the precisions desired.  Some examples:
+#       make single
+#       make single complex
+#       make single double complex complex16
+#  Alternatively, the command
+#       make
+#  without any arguments creates a library of all four precisions.
+#  The library is called
+#       blas.a
+#
+#  To remove the object files after the library is created, enter
+#       make clean
+#  To force the source files to be recompiled, enter, for example,
+#       make single FRC=FRC
+#
+#---------------------------------------------------------------------
+#
+#  Edward Anderson, University of Tennessee
+#  March 26, 1990
+#  Susan Ostrouchov, Last updated September 30, 1994
+#
+#######################################################################
+
+all: single double complex complex16 dll
+ 
+#---------------------------------------------------------
+#  Comment out the next 6 definitions if you already have
+#  the Level 1 BLAS.
+#---------------------------------------------------------
+SBLAS1 = isamax.o sasum.o saxpy.o scopy.o sdot.o snrm2.o \
+	srot.o srotg.o sscal.o sswap.o
+$(SBLAS1): $(FRC)
+
+CBLAS1 = scasum.o scnrm2.o icamax.o caxpy.o ccopy.o \
+	cdotc.o cdotu.o csscal.o crotg.o cscal.o cswap.o
+$(CBLAS1): $(FRC)
+
+DBLAS1 = idamax.o dasum.o daxpy.o dcopy.o ddot.o dnrm2.o \
+	drot.o drotg.o dscal.o dswap.o
+$(DBLAS1): $(FRC)
+
+ZBLAS1 = dcabs1.o dzasum.o dznrm2.o izamax.o zaxpy.o zcopy.o \
+	zdotc.o zdotu.o zdscal.o zrotg.o zscal.o zswap.o
+$(ZBLAS1): $(FRC)
+
+CB1AUX = isamax.o sasum.o saxpy.o scopy.o snrm2.o sscal.o
+$(CB1AUX): $(FRC)
+
+ZB1AUX = idamax.o dasum.o daxpy.o dcopy.o dnrm2.o dscal.o
+$(ZB1AUX): $(FRC)
+
+#---------------------------------------------------------------------
+#  The following line defines auxiliary routines needed by both the
+#  Level 2 and Level 3 BLAS.  Comment it out only if you already have
+#  both the Level 2 and 3 BLAS.
+#---------------------------------------------------------------------
+ALLBLAS  = lsame.o xerbla.o
+$(ALLBLAS) : $(FRC)
+
+#---------------------------------------------------------
+#  Comment out the next 4 definitions if you already have
+#  the Level 2 BLAS.
+#---------------------------------------------------------
+SBLAS2 = sgemv.o sgbmv.o ssymv.o ssbmv.o sspmv.o \
+	strmv.o stbmv.o stpmv.o strsv.o stbsv.o stpsv.o \
+	sger.o ssyr.o sspr.o ssyr2.o sspr2.o
+$(SBLAS2): $(FRC)
+
+CBLAS2 = cgemv.o cgbmv.o chemv.o chbmv.o chpmv.o \
+	ctrmv.o ctbmv.o ctpmv.o ctrsv.o ctbsv.o ctpsv.o \
+	cgerc.o cgeru.o cher.o chpr.o cher2.o chpr2.o
+$(CBLAS2): $(FRC)
+
+DBLAS2 = dgemv.o dgbmv.o dsymv.o dsbmv.o dspmv.o \
+	dtrmv.o dtbmv.o dtpmv.o dtrsv.o dtbsv.o dtpsv.o \
+	dger.o dsyr.o dspr.o dsyr2.o dspr2.o
+$(DBLAS2): $(FRC)
+
+ZBLAS2 = zgemv.o zgbmv.o zhemv.o zhbmv.o zhpmv.o \
+	ztrmv.o ztbmv.o ztpmv.o ztrsv.o ztbsv.o ztpsv.o \
+	zgerc.o zgeru.o zher.o zhpr.o zher2.o zhpr2.o
+$(ZBLAS2): $(FRC)
+
+#---------------------------------------------------------
+#  Comment out the next 4 definitions if you already have
+#  the Level 3 BLAS.
+#---------------------------------------------------------
+SBLAS3 = sgemm.o ssymm.o ssyrk.o ssyr2k.o strmm.o strsm.o 
+$(SBLAS3): $(FRC)
+
+CBLAS3 = cgemm.o csymm.o csyrk.o csyr2k.o ctrmm.o ctrsm.o \
+	chemm.o cherk.o cher2k.o
+$(CBLAS3): $(FRC)
+
+DBLAS3 = dgemm.o dsymm.o dsyrk.o dsyr2k.o dtrmm.o dtrsm.o
+$(DBLAS3): $(FRC)
+
+ZBLAS3 = zgemm.o zsymm.o zsyrk.o zsyr2k.o ztrmm.o ztrsm.o \
+	zhemm.o zherk.o zher2k.o
+$(ZBLAS3): $(FRC)
+
+
+single: $(SBLAS1) $(ALLBLAS) $(SBLAS2) $(SBLAS3)
+	$(ARCH) $(ARCHFLAGS) $(BLASLIB) $(SBLAS1) $(ALLBLAS) \
+	$(SBLAS2) $(SBLAS3)
+	$(RANLIB) $(BLASLIB)
+
+double: $(DBLAS1) $(ALLBLAS) $(DBLAS2) $(DBLAS3)
+	$(ARCH) $(ARCHFLAGS) $(BLASLIB) $(DBLAS1) $(ALLBLAS) \
+	$(DBLAS2) $(DBLAS3)
+	$(RANLIB) $(BLASLIB)
+
+complex: $(CBLAS1) $(CB1AUX) $(ALLBLAS) $(CBLAS2) $(CBLAS3)
+	$(ARCH) $(ARCHFLAGS) $(BLASLIB) $(CBLAS1) $(CB1AUX) \
+	$(ALLBLAS) $(CBLAS2) $(CBLAS3)
+	$(RANLIB) $(BLASLIB)
+
+complex16: $(ZBLAS1) $(ZB1AUX) $(ALLBLAS) $(ZBLAS2) $(ZBLAS3)
+	$(ARCH) $(ARCHFLAGS) $(BLASLIB) $(ZBLAS1) $(ZB1AUX) \
+	$(ALLBLAS) $(ZBLAS2) $(ZBLAS3)
+	$(RANLIB) $(BLASLIB)
+
+FRC:
+	@FRC=$(FRC)
+
+clean:
+	rm -f *.o
+
+.f.o: 
+	$(FORTRAN) $(OPTS) -c $*.f
+
+
+# dll stuff
+DLLTOOL=dlltool
+DLLWRAP=dllwrap
+WINDRES=windres
+
+DLL_NAME=libblas32.dll
+DLL_EXP_LIB=libblas32.lib
+DLL_EXP_DEF=libblas32.def
+DLL_OBJS= \
+caxpy.o   chpr2.o   dcabs1.o  dsyr.o     izamax.o  sspr.o    zaxpy.o   zhpr.o \
+ccopy.o   crotg.o   dcopy.o   dsyr2.o    lsame.o   sspr2.o   zcopy.o   zhpr2.o \
+cdotc.o   cscal.o   ddot.o    dsyr2k.o   sasum.o   sswap.o   zdotc.o   zrotg.o \
+cdotu.o   csscal.o  dgbmv.o   dsyrk.o    saxpy.o   ssymm.o   zdotu.o   zscal.o \
+cgbmv.o   cswap.o   dgemm.o   dtbmv.o    scasum.o  ssymv.o   zdscal.o  zswap.o \
+cgemm.o   csymm.o   dgemv.o   dtbsv.o    scnrm2.o  ssyr.o    zgbmv.o   zsymm.o \
+cgemv.o   csyr2k.o  dger.o    dtpmv.o    scopy.o   ssyr2.o   zgemm.o   zsyr2k.o \
+cgerc.o   csyrk.o   dnrm2.o   dtpsv.o    sdot.o    ssyr2k.o  zgemv.o   zsyrk.o \
+cgeru.o   ctbmv.o   drot.o    dtrmm.o    sgbmv.o   ssyrk.o   zgerc.o   ztbmv.o \
+chbmv.o   ctbsv.o   drotg.o   dtrmv.o    sgemm.o   stbmv.o   zgeru.o   ztbsv.o \
+chemm.o   ctpmv.o   dsbmv.o   dtrsm.o    sgemv.o   stbsv.o   zhbmv.o   ztpmv.o \
+chemv.o   ctpsv.o   dscal.o   dtrsv.o    sger.o    stpmv.o   zhemm.o   ztpsv.o \
+cher.o    ctrmm.o   dspmv.o   dzasum.o   snrm2.o   stpsv.o   zhemv.o   ztrmm.o \
+cher2.o   ctrmv.o   dspr.o    dznrm2.o   srot.o    strmm.o   zher.o    ztrmv.o \
+cher2k.o  ctrsm.o   dspr2.o   srotg.o   strmv.o   zher2.o   ztrsm.o \
+cherk.o   ctrsv.o   dswap.o   icamax.o   ssbmv.o   strsm.o   zher2k.o  ztrsv.o \
+chpmv.o   dasum.o   dsymm.o   idamax.o   sscal.o   strsv.o   zherk.o \
+chpr.o    daxpy.o   dsymv.o   isamax.o   sspmv.o   xerbla.o  zhpmv.o
+
+
+
+DLL_LDLIBS=-lfrtbegin -lg2c
+DLL_LDFLAGS=-s
+DLL_WRAP_FLAGS=--export-all --output-def $(DLL_EXP_DEF) \
+	--implib $(DLL_EXP_LIB) \
+	--driver-name $(CXX)
+
+
+$(DLL_NAME) $(DLL_EXP_LIB) $(DLL_EXP_DEF): $(DLL_OBJS) exports.o
+	rm -f $(DLL_NAME) $(DLL_EXP_LIB) $(DLL_EXP_DEF) >/dev/null
+	$(DLLWRAP) $(DLL_WRAP_FLAGS) -o $(DLL_NAME) \
+	    $(DLL_OBJS) exports.o $(DLL_LDFLAGS) $(DLL_LDLIBS); \+	    cp $(DLL_NAME) ../../+
+dll: $(DLL_NAME)
+
+exports.o: $(DLL_OBJS)
+	$(DLLTOOL) -e exports.o $(DLL_OBJS)
+
+
+
+
+
+
diff -u -r -N -w old/LAPACK/Makefile.win32 new/LAPACK/Makefile.win32--- old/LAPACK/Makefile.win32	1970-01-01 01:00:00.000000000 +0100+++ new/LAPACK/Makefile.win32	2004-01-18 05:16:20.000000000 +0100@@ -0,0 +1,5 @@++all:+	make -CBLAS/SRC -fMakefile.win32+	make -CSRC -fMakefile.win32+diff -u -r -N -w old/LAPACK/make.inc new/LAPACK/make.inc--- old/LAPACK/make.inc	1999-11-04 20:23:14.000000000 +0100+++ new/LAPACK/make.inc	2004-01-18 05:25:13.000000000 +0100@@ -1,14 +1,17 @@ ####################################################################+#                                                                  #+#  Windows NT makefile (GCC)                                       #+#                                                                  # #  LAPACK make include file.                                       # #  LAPACK, Version 3.0                                             # #  June 30, 1999                                                  # #################################################################### #-SHELL = /bin/sh+HOME = /usr/packages/lapack # #  The machine (platform) identifier to append to the library names #-PLAT = _SUN4SOL2+PLAT = _win32 #   #  Modify the FORTRAN and OPTS definitions to refer to the #  compiler and desired compiler options for your machine.  NOOPT@@ -16,32 +19,29 @@ #  selected.  Define LOADER and LOADOPTS to refer to the loader and  #  desired load options for your machine. #-FORTRAN  = f77-#OPTS     = -O4 -u -f -mt-#OPTS     = -u -f -dalign -native -xO5 -xarch=v8plusa-OPTS     = -u -f -dalign -native -xO5 -xarch=v8plusa+FORTRAN  = g77+OPTS     = -funroll-all-loops -fno-f2c -O3 DRVOPTS  = $(OPTS)-NOOPT    = -u -f-#NOOPT    = -u -f -mt-LOADER   = f77-#LOADOPTS = -mt-LOADOPTS = -f -dalign -native -xO5 -xarch=v8plusa+NOOPT    = +LOADER   = g77+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   = echo+RANLIB   = ranlib # #  The location of the libraries to which you will link.  (The  #  machine-specific, optimized BLAS library should be used whenever #  possible.) #-#BLASLIB      = ../../blas$(PLAT).a-#BLASLIB     = -xlic_lib=sunperf_mt-BLASLIB     = -xlic_lib=sunperf-LAPACKLIB    = lapack$(PLAT).a-TMGLIB       = tmglib$(PLAT).a-EIGSRCLIB    = eigsrc$(PLAT).a-LINSRCLIB    = linsrc$(PLAT).a+#BLASLIB      = ..\..\blas$(PLAT).lib+#BLASLIB      = c:\plsuite\lib\mkl_w.lib+BLASLIB     = libblas32.dll+#BLASLIB     = -L../atlas -latlas+LAPACKLIB    = liblapack32.dll+TMGLIB       = libtmglib.a+EIGSRCLIB    = libeigsrc.a+LINSRCLIB    = liblinsrc.adiff -u -r -N -w old/LAPACK/SRC/Makefile.win32 new/LAPACK/SRC/Makefile.win32--- old/LAPACK/SRC/Makefile.win32	1970-01-01 01:00:00.000000000 +0100+++ new/LAPACK/SRC/Makefile.win32	2004-01-18 05:13:25.000000000 +0100@@ -0,0 +1,355 @@+include ../make.inc
+
+#######################################################################
+#  This is the makefile to create a library for LAPACK.
+#  The files are organized as follows:
+#       ALLAUX -- Auxiliary routines called from all precisions
+#       SCLAUX -- Auxiliary routines called from both REAL and COMPLEX
+#       DZLAUX -- Auxiliary routines called from both DOUBLE PRECISION
+#                 and COMPLEX*16
+#       SLASRC -- Single precision real LAPACK routines
+#       CLASRC -- Single precision complex LAPACK routines
+#       DLASRC -- Double precision real LAPACK routines
+#       ZLASRC -- Double precision complex LAPACK routines
+#
+#  The library can be set up to include routines for any combination
+#  of the four precisions.  To create or add to the library, enter make
+#  followed by one or more of the precisions desired.  Some examples:
+#       make single
+#       make single complex
+#       make single double complex complex16
+#  Alternatively, the command
+#       make
+#  without any arguments creates a library of all four precisions.
+#  The library is called
+#       lapack.a
+#  and is created at the next higher directory level.
+#
+#  To remove the object files after the library is created, enter

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -