debian/ 0000775 0000000 0000000 00000000000 12253507563 007200 5 ustar debian/rules 0000775 0000000 0000000 00000002005 12222631366 010250 0 ustar #!/usr/bin/make -f
%:
dh $@ --parallel
override_dh_auto_build-arch:
make lib
override_dh_auto_build-indep:
for texdocdir in AllInOne FrontTrees ReferenceManual; do \
(cd documentation/$$texdocdir; \
latex main; \
latex main; \
latex main; \
dvips main -o $$texdocdir.ps); \
done
for module in A2 BKL BPG Chv ChvList ChvManager Coords DSTree DV \
DenseMtx Drand EGraph ETree FrontMtx GPart Graph I2Ohash IIheap \
IV IVL Ideq InpMtx Lock MSMD Network PatchAndGoInfo Pencil Perm \
SemiImplMtx SolveMap SubMtx SubMtxList SubMtxManager SymbFac Tree \
Utilities ZV misc MPI MT Eigen LinSol; do \
(cd $$module/doc; \
latex main; \
latex main; \
latex main; \
dvips main -o $$module.ps); \
done
override_dh_auto_install-arch:
install -d debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)
cp -a libspooles* debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)
for headerfile in `find . -name \*.h -print`; do \
install -D $$headerfile debian/tmp/usr/include/spooles/$$headerfile;\
done
debian/changelog 0000664 0000000 0000000 00000006604 12253507563 011060 0 ustar spooles (2.2-10build1) trusty; urgency=medium
* No-change rebuild for libopenmpi1.3 -> libopenmpi1.6 transition.
-- Logan Rosen
The library is available as a gzip'd, tar'd file that contains the
entire source, drivers and LaTeX documentation.
-There are seven Postscript files that contain documentation.
-
-
-
+
+In addition, the following PostScript files document the SPOOLES +modules: +
+
Changes since the 2.0 release.
debian/patches/I2Ohash-64bit.patch 0000664 0000000 0000000 00000004447 12222631366 014037 0 ustar --- spooles-2.2/I2Ohash/src/util.c~ 1998-05-30 18:45:12.000000000 -0400
+++ spooles-2.2/I2Ohash/src/util.c 2008-12-29 02:20:52.000000000 -0500
@@ -20,6 +20,7 @@
void *value
) {
int loc, loc1, loc2 ;
+long int loc3 ;
I2OP *i2op, *j2op, *prev ;
if ( hashtable == NULL ) {
@@ -39,9 +40,10 @@
*/
loc1 = (key1 + 1) % hashtable->nlist ;
loc2 = (key2 + 1) % hashtable->nlist ;
-loc = (loc1*loc2) % hashtable->nlist ;
+loc3 = (long int)loc1*(long int)loc2 % hashtable->nlist ;
+loc =(int) loc3;
#if MYDEBUG > 0
-fprintf(stdout, "\n loc1 = %d, loc2 = %d, loc3 = %d", loc1, loc2, loc) ;
+fprintf(stdout, "\n loc1 = %d, loc2 = %d, loc3 = %ld, loc = %d", loc1, loc2, loc3, loc) ;
fflush(stdout) ;
#endif
/*
@@ -139,6 +141,7 @@
void **pvalue
) {
int loc, loc1, loc2, rc ;
+long int loc3 ;
I2OP *i2op ;
/*
---------------
@@ -158,9 +161,10 @@
#endif
loc1 = (key1 + 1) % hashtable->nlist ;
loc2 = (key2 + 1) % hashtable->nlist ;
-loc = (loc1*loc2) % hashtable->nlist ;
+loc3 = (long int)loc1*(long int)loc2 % hashtable->nlist ;
+loc = (int) loc3 ;
#if MYDEBUG > 0
-fprintf(stdout, "\n loc1 = %d, loc2 = %d, loc3 = %d", loc1, loc2, loc) ;
+fprintf(stdout, "\n loc1 = %d, loc2 = %d, loc3 = %ld, loc = %d", loc1, loc2, loc3, loc) ;
fflush(stdout) ;
#endif
/*
@@ -215,6 +219,7 @@
void **pvalue
) {
int loc, loc1, loc2, rc ;
+long int loc3 ;
I2OP *i2op, *prev ;
/*
---------------
@@ -229,7 +234,8 @@
}
loc1 = (key1 + 1) % hashtable->nlist ;
loc2 = (key2 + 1) % hashtable->nlist ;
-loc = (loc1*loc2) % hashtable->nlist ;
+loc3 = (long int)loc1*(long int)loc2 % hashtable->nlist ;
+loc = (int) loc3 ;
/*
---------------------------------------------------
find the location of the first (key1,key2,*) triple
@@ -294,7 +300,7 @@
count++ ;
i2op = i2op->next ;
}
- measure += count*count ;
+ measure += (double)count*(double)count ;
}
}
measure = sqrt(measure) ;
--- spooles-2.2/I2Ohash/src/IO.c~ 1998-05-30 18:45:12.000000000 -0400
+++ spooles-2.2/I2Ohash/src/IO.c 2008-12-29 02:32:52.000000000 -0500
@@ -41,7 +41,7 @@
i2op->value0, i2op->value1, i2op->value2) ;
i2op = i2op->next ;
}
- measure += count*count ;
+ measure += (double)count*(double)count ;
nfull++ ;
}
}
debian/patches/shared-libs.patch 0000664 0000000 0000000 00000002613 12222631366 014042 0 ustar --- spooles-2.2/makeLib~ 1998-12-16 12:47:58.000000000 -0500
+++ spooles-2.2/makeLib 2008-01-27 14:31:13.000000000 -0500
@@ -64,14 +64,19 @@
$srcname = " \\\n " . $src ;
print $srcname ;
}
+print "\n\n.SUFFIXES: .c .o .lo .a .so" ;
print "\n\nOBJ_FILES = \$\{SRC:.c=.o\}" ;
+print "\n\nLOBJ_FILES = \$\{SRC:.c=.lo\}" ;
print "\n\n" ;
print <<'EOF' ;
.c.o :
- $(PURIFY) $(CC) -c $(CFLAGS) $*.c -o $(OBJ)_$*.o
+ $(PURIFY) $(CC) -c $(CFLAGS) $*.c -o $(OBJ)_$*.o $(MPI_INCLUDE_DIR)
-../../spooles.a : ${OBJ_FILES}
- $(AR) $(ARFLAGS) ../../spooles.a $(OBJ)_*.o
+.c.lo :
+ $(PURIFY) $(CC) -c $(CFLAGS) $*.c -fPIC -DPIC -o $(OBJ)_$*.lo $(MPI_INCLUDE_DIR)
+
+../../libspooles.a : ${OBJ_FILES} ${LOBJ_FILES}
+ $(AR) $(ARFLAGS) ../../libspooles.a $(OBJ)_*.o
rm -f $(OBJ)_*.o
- $(RANLIB) ../../spooles.a
+ $(RANLIB) ../../libspooles.a
EOF
--- spooles-2.2/makefile~ 1999-01-25 15:39:39.000000000 -0500
+++ spooles-2.2/makefile 2008-01-27 14:35:17.000000000 -0500
@@ -123,8 +123,10 @@
cd Utilities ; make lib
cd ZV ; make lib
cd misc ; make lib
-#cd MPI ; make lib
-#cd MT ; make lib
+ cd MPI ; make lib
+ cd MT ; make lib
+ gcc -shared */*/*.lo -Wl,-soname,libspooles.so.2.2 -o libspooles.so.2.2 -lmpi -lpthread -lm
+ ln -s libspooles.so.2.2 libspooles.so
global :
cd A2/src ; make -f makeGlobalLib
debian/patches/makefiles.patch 0000664 0000000 0000000 00000003512 12222631366 013604 0 ustar --- spooles-2.2/Make.inc~ 1999-01-18 16:48:55.000000000 -0500
+++ spooles-2.2/Make.inc 2008-01-27 13:17:26.000000000 -0500
@@ -12,7 +12,7 @@
# for solaris
#
# CC = gcc
- CC = /usr/lang-4.0/bin/cc
+# CC = /usr/lang-4.0/bin/cc
#
# for sgi
#
@@ -28,7 +28,7 @@
#
# OPTLEVEL =
# OPTLEVEL = -g -v
- OPTLEVEL = -O
+ OPTLEVEL = -O2
# OPTLEVEL = -xO5 -v
# OPTLEVEL = -O3
# OPTLEVEL = -O4
@@ -43,7 +43,7 @@
# set any load flags
#
# LDFLAGS = -Wl,+parallel -Wl,+tm,spp2000 # for hp exemplar
- LDFLAGS =
+# LDFLAGS =
#
#---------------------------------------------------------------------
#
@@ -103,7 +103,7 @@
# MPI install library
#
# MPI_INSTALL_DIR =
- MPI_INSTALL_DIR = /usr/local/mpich-1.0.13
+ MPI_INSTALL_DIR = /usr/lib/openmpi
#
#---------------------------------------------------------------------
#
@@ -142,6 +142,6 @@
# MPI include path
#
# MPI_INCLUDE_DIR =
- MPI_INCLUDE_DIR = -I$(MPI_INSTALL_DIR)/include
+ MPI_INCLUDE_DIR = -I/usr/include/mpi
#
#---------------------------------------------------------------------
--- spooles-2.2/MPI/makefile~ 1998-12-17 15:47:44.000000000 +0000
+++ spooles-2.2/MPI/makefile 2008-02-26 00:10:57.000000000 +0000
@@ -2,7 +2,7 @@
cd drivers ; make drivers
lib :
- cd src ; make spoolesMPI.a
+ cd src ; make makeLib
clean :
cd src ; make clean
--- spooles-2.2/MPI/src/makefile~ 1998-12-16 21:54:41.000000000 +0000
+++ spooles-2.2/MPI/src/makefile 2008-02-26 00:08:16.000000000 +0000
@@ -42,3 +42,8 @@
clean :
- rm -f *.a *.o
+
+makeLib :
+ perl ../../makeLib > makeG
+ make -f makeG
+ rm -f makeG
--- spooles-2.2/MT/makefile~ 1998-12-17 15:47:48.000000000 +0000
+++ spooles-2.2/MT/makefile 2008-02-26 00:12:43.000000000 +0000
@@ -2,7 +2,7 @@
cd drivers ; make drivers
lib :
- cd src ; make spoolesMT.a
+ cd src ; make makeLib
clean :
cd src ; make clean
debian/patches/set_CFLAGS_from_ENV.patch 0000664 0000000 0000000 00000001055 12222631366 015211 0 ustar Description: set CFLAGS from environment
Author: Anton Gladky