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 12:34:54 -0500

Everyone,
Here is a new diff of the files that Jules suggested. They just have some more descriptive comments.

Thanks,
Assem Salama
Index: make.inc.in
===================================================================
RCS file: /home/cvs/Repository/clapack/make.inc.in,v
retrieving revision 1.1
diff -u -r1.1 make.inc.in
--- make.inc.in	21 Mar 2006 13:38:28 -0000	1.1
+++ make.inc.in	21 Mar 2006 17:31:33 -0000
@@ -8,9 +8,10 @@
 #
 #  The machine (platform) identifier to append to the library names
 #
-# leave PLAT empty for now
+# Assem: we are now using configure to make this makefile. PLAT is used
+# as a postfix for the library names. We want the library names to be the same
+# regardless of platform, so, we will leave it empty.
 PLAT =
-#PLAT = _LINUX
 #  
 #  Modify the CC and CFLAGS definitions to refer to the
 #  compiler and desired compiler options for your machine.  NOOPT
@@ -18,9 +19,7 @@
 #  selected.  Define LOADER and LOADOPTS to refer to the loader and
 #  desired load options for your machine.
 #
-#CC        = gcc
-#CFLAGS    = -funroll-all-loops -O3
-#LOADER    = gcc
+# configure will now substitute correct values for these variables
 CC        = @CC@
 CFLAGS    = @CFLAGS@
 LOADER    = $(CC)
@@ -32,9 +31,8 @@
 #  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
+#
+# configure will now fill these in...
 ARCH     = @AR@
 ARCHFLAGS= @ARFLAGS@
 RANLIB   = @RANLIB@
Index: SRC/f2c.h
===================================================================
RCS file: /home/cvs/Repository/clapack/SRC/f2c.h,v
retrieving revision 1.2
diff -u -r1.2 f2c.h
--- SRC/f2c.h	21 Mar 2006 13:23:25 -0000	1.2
+++ SRC/f2c.h	21 Mar 2006 17:31:33 -0000
@@ -8,7 +8,9 @@
 #define F2C_INCLUDE
 
 // Assem: we don't want integer to be 64 bits!!
-//typedef long int integer;
+// integer was originally defined as long int, this causes some problems
+// on 64bit machines because a long int is 64 bits. The FORTRAN 'integer' was
+// originally 32 bits
 typedef int integer;
 typedef unsigned long uinteger;
 typedef char *address;