Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

clapack


  • To: vsipl++@xxxxxxxxxxxxxxxx
  • Subject: clapack
  • From: Assem Salama <assem@xxxxxxxxxxxxxxxx>
  • Date: Tue, 21 Mar 2006 09:18:27 -0500

Everyone,
I have added CLAPACK to the repository. I had to change a header file to redefine integer from 64 to 32 bits. I ran make and make check and it seams ok. Attached are cvs diffs and tar of new files.

Assem Salama
Index: INSTALL/psfig.tex
===================================================================
RCS file: /home/cvs/Repository/clapack/INSTALL/psfig.tex,v
retrieving revision 1.1
retrieving revision 1.1.1.1
diff -u -r1.1 -r1.1.1.1
--- INSTALL/psfig.tex	16 Mar 2006 23:11:42 -0000	1.1
+++ INSTALL/psfig.tex	16 Mar 2006 23:11:42 -0000	1.1.1.1
@@ -9,7 +9,7 @@
 % distribute any portion of psfig/tex for profit or as part of any commercial
 % product is specifically reserved for the author.
 %
-% $Header: /home/cvs/Repository/clapack/INSTALL/psfig.tex,v 1.1 2006/03/16 23:11:42 assem Exp $
+% $Header: /home/cvs/Repository/clapack/INSTALL/psfig.tex,v 1.1.1.1 2006/03/16 23:11:42 assem Exp $
 % $Source: /home/cvs/Repository/clapack/INSTALL/psfig.tex,v $
 %
 % Thanks to Greg Hager (GDH) and Ned Batchelder for their contributions
Index: SRC/f2c.h
===================================================================
RCS file: /home/cvs/Repository/clapack/SRC/f2c.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- SRC/f2c.h	16 Mar 2006 23:11:40 -0000	1.1
+++ SRC/f2c.h	21 Mar 2006 13:23:25 -0000	1.2
@@ -7,7 +7,9 @@
 #ifndef F2C_INCLUDE
 #define F2C_INCLUDE
 
-typedef long int integer;
+// Assem: we don't want integer to be 64 bits!!
+//typedef long int integer;
+typedef int integer;
 typedef unsigned long uinteger;
 typedef char *address;
 typedef short int shortint;
Index: GNUmakefile.inc.in
===================================================================
RCS file: /home/cvs/Repository/vpp/vendor/GNUmakefile.inc.in,v
retrieving revision 1.10
diff -u -r1.10 GNUmakefile.inc.in
--- GNUmakefile.inc.in	9 Jan 2006 23:54:07 -0000	1.10
+++ GNUmakefile.inc.in	21 Mar 2006 14:00:16 -0000
@@ -18,6 +18,7 @@
 USE_BUILTIN_FFTW_DOUBLE := @USE_BUILTIN_FFTW_DOUBLE@
 USE_BUILTIN_FFTW_LONG_DOUBLE := @USE_BUILTIN_FFTW_LONG_DOUBLE@
 
+vendor_REF_CLAPACK= vendor/clapack/lapack.a
 vendor_REF_LAPACK = vendor/lapack/lapack.a
 vendor_PRE_LAPACK = vendor/atlas/lib/libprelapack.a
 vendor_USE_LAPACK = vendor/atlas/lib/liblapack.a
@@ -48,14 +49,19 @@
 	@echo "Building ATLAS (see atlas.build.log)"
 	@$(MAKE) -C vendor/atlas build > atlas.build.log 2>&1
 
+$(vendor_REF_CLAPACK):
+	@echo "Building CLAPACK (see clapack.build.log)"
+	@$(MAKE) -C vendor/clapack lapacklib > clapack.build.log 2>&1
+
+
 $(vendor_REF_LAPACK):
 	@echo "Building LAPACK (see lapack.build.log)"
 	@$(MAKE) -C vendor/lapack/SRC all > lapack.build.log 2>&1
 
-$(vendor_USE_LAPACK): $(vendor_PRE_LAPACK) $(vendor_REF_LAPACK)
+$(vendor_USE_LAPACK): $(vendor_PRE_LAPACK) $(vendor_REF_CLAPACK)
 	mkdir -p vendor/atlas/lib/tmp
 	pushd vendor/atlas/lib/tmp; ar x ../../../../$(vendor_PRE_LAPACK); popd
-	cp $(vendor_REF_LAPACK) $(vendor_USE_LAPACK)
+	cp $(vendor_REF_CLAPACK) $(vendor_USE_LAPACK)
 	pushd vendor/atlas/lib/tmp; ar r ../../../../$(vendor_USE_LAPACK); popd
 	rm -rf vendor/atlas/lib/tmp
 

Attachment: new_files.03212006.tar
Description: Unix tar archive