summaryrefslogtreecommitdiff
path: root/math/petsc/files
diff options
context:
space:
mode:
Diffstat (limited to 'math/petsc/files')
-rw-r--r--math/petsc/files/patch-bmake__common__rules.shared.basic13
-rw-r--r--math/petsc/files/patch-config_configure.py11
-rw-r--r--math/petsc/files/patch-makefile40
-rw-r--r--math/petsc/files/patch-python_PETSc_packages_spooles.py12
-rw-r--r--math/petsc/files/patch-src__mat__impls__aij__seq__umfpack__umfpack.c34
-rw-r--r--math/petsc/files/patch-src__mat__impls__rowbs__mpi__mpirowbs.h13
-rw-r--r--math/petsc/files/pkg-message.in5
7 files changed, 0 insertions, 128 deletions
diff --git a/math/petsc/files/patch-bmake__common__rules.shared.basic b/math/petsc/files/patch-bmake__common__rules.shared.basic
deleted file mode 100644
index f64f611487b7..000000000000
--- a/math/petsc/files/patch-bmake__common__rules.shared.basic
+++ /dev/null
@@ -1,13 +0,0 @@
---- bmake/common/rules.shared.basic.orig 2007-05-23 19:30:02.000000000 -0400
-+++ bmake/common/rules.shared.basic 2012-06-15 00:43:31.000000000 -0400
-@@ -10,6 +10,10 @@
- shared_solaris2: shared_solaris
- shared_solaris2_gnu: shared_solaris_gnu
-
-+shared_freebsd10: shared_freebsd
-+shared_freebsd9: shared_freebsd
-+shared_freebsd8: shared_freebsd
-+shared_freebsd7: shared_freebsd
- shared_freebsd6: shared_freebsd
- shared_freebsd5: shared_freebsd
- shared_freebsd4: shared_freebsd
diff --git a/math/petsc/files/patch-config_configure.py b/math/petsc/files/patch-config_configure.py
deleted file mode 100644
index e5be99315905..000000000000
--- a/math/petsc/files/patch-config_configure.py
+++ /dev/null
@@ -1,11 +0,0 @@
---- ./config/configure.py.orig Sat Sep 2 02:24:13 2006
-+++ ./config/configure.py Sat Sep 2 23:23:33 2006
-@@ -97,7 +97,7 @@
- print ' *** Do not run configure as root, or using sudo. ***'
- print ' ***** That should be reserved for installation *****'
- print '================================================================================='
-- sys.exit(3)
-+ #sys.exit(3)
-
- # Check for broken cygwin
- if chkcygwin():
diff --git a/math/petsc/files/patch-makefile b/math/petsc/files/patch-makefile
deleted file mode 100644
index 22d6f88e3d34..000000000000
--- a/math/petsc/files/patch-makefile
+++ /dev/null
@@ -1,40 +0,0 @@
---- makefile.orig Sat Sep 2 03:57:37 2006
-+++ makefile Sat Sep 2 23:20:34 2006
-@@ -6,6 +6,7 @@
- ALL: all
- LOCDIR = ./
- DIRS = src include
-+DOCS_DIR = ${INSTALL_DIR}/../share/doc/petsc
- CFLAGS =
- FFLAGS =
-
-@@ -21,7 +22,7 @@
- echo " Do not run configure as root, or using sudo.";\
- echo " That should be reserved for installation";\
- echo "********************************************************************"; \
-- exit 1; fi
-+ fi
- @${OMAKE} PETSC_ARCH=${PETSC_ARCH} chkpetsc_dir
- -@${OMAKE} all_build 2>&1 | tee make_log_${PETSC_ARCH}
- -@egrep -i "( error | error:)" make_log_${PETSC_ARCH} > /dev/null; if [ "$$?" = "0" ]; then \
-@@ -261,14 +262,14 @@
- -@if [ "${INSTALL_DIR}" = "${PETSC_DIR}" ]; then \
- echo "You did not set a directory to install to";\
- else \
-- echo Installing PETSc documentation at ${INSTALL_DIR};\
-- if [ ! -d `dirname ${INSTALL_DIR}` ]; then \
-- ${MKDIR} `dirname ${INSTALL_DIR}` ; \
-+ echo Installing PETSc documentation at ${DOCS_DIR};\
-+ if [ ! -d `dirname ${DOCS_DIR}` ]; then \
-+ ${MKDIR} `dirname ${DOCS_DIR}` ; \
- fi;\
-- if [ ! -d ${INSTALL_DIR} ]; then \
-- ${MKDIR} ${INSTALL_DIR} ; \
-+ if [ ! -d ${DOCS_DIR} ]; then \
-+ ${MKDIR} ${DOCS_DIR} ; \
- fi;\
-- cp -fr docs ${INSTALL_DIR};\
-+ cp -fr docs/* ${DOCS_DIR};\
- ${RM} -fr docs/tex;\
- fi;
- # ------------------------------------------------------------------
diff --git a/math/petsc/files/patch-python_PETSc_packages_spooles.py b/math/petsc/files/patch-python_PETSc_packages_spooles.py
deleted file mode 100644
index 9184ce43136b..000000000000
--- a/math/petsc/files/patch-python_PETSc_packages_spooles.py
+++ /dev/null
@@ -1,12 +0,0 @@
---- ./python/PETSc/packages/spooles.py.orig Thu Aug 11 01:08:42 2005
-+++ ./python/PETSc/packages/spooles.py Sun Aug 21 23:04:09 2005
-@@ -11,7 +11,8 @@
- self.download = ['ftp://ftp.mcs.anl.gov/pub/petsc/externalpackages/spooles-2.2.tar.gz']
- self.functions = ['InpMtx_init']
- self.includes = ['MPI/spoolesMPI.h']
-- self.liblist = [[os.path.join('MPI','src','spoolesMPI.a'),'spooles.a']]
-+ # FreeBSD: MPI is included in our spooles.a
-+ # self.liblist = [[os.path.join('MPI','src','spoolesMPI.a'),'spooles.a']]
- self.libdir = ''
- self.includedir = ''
- return
diff --git a/math/petsc/files/patch-src__mat__impls__aij__seq__umfpack__umfpack.c b/math/petsc/files/patch-src__mat__impls__aij__seq__umfpack__umfpack.c
deleted file mode 100644
index 030e253cb259..000000000000
--- a/math/petsc/files/patch-src__mat__impls__aij__seq__umfpack__umfpack.c
+++ /dev/null
@@ -1,34 +0,0 @@
---- src/mat/impls/aij/seq/umfpack/umfpack.c.orig 2013-03-30 09:30:52.000000000 -0400
-+++ src/mat/impls/aij/seq/umfpack/umfpack.c 2013-03-30 09:32:20.000000000 -0400
-@@ -153,7 +153,7 @@
- PetscErrorCode ierr;
- int m=A->rmap.n,n=A->cmap.n,*ai=mat->i,*aj=mat->j,status,*ra,idx;
- PetscScalar *av=mat->a;
-- const char *strategy[]={"AUTO","UNSYMMETRIC","SYMMETRIC","2BY2"},
-+ const char *strategy[]={"AUTO","UNSYMMETRIC","SYMMETRIC"},
- *scale[]={"NONE","SUM","MAX"};
- PetscTruth flg;
-
-@@ -189,14 +189,12 @@
- case 0: lu->Control[UMFPACK_STRATEGY] = UMFPACK_STRATEGY_AUTO; break;
- case 1: lu->Control[UMFPACK_STRATEGY] = UMFPACK_STRATEGY_UNSYMMETRIC; break;
- case 2: lu->Control[UMFPACK_STRATEGY] = UMFPACK_STRATEGY_SYMMETRIC; break;
-- case 3: lu->Control[UMFPACK_STRATEGY] = UMFPACK_STRATEGY_2BY2; break;
- }
- }
- ierr = PetscOptionsReal("-mat_umfpack_dense_col","Control[UMFPACK_DENSE_COL]","None",lu->Control[UMFPACK_DENSE_COL],&lu->Control[UMFPACK_DENSE_COL],PETSC_NULL);CHKERRQ(ierr);
- ierr = PetscOptionsReal("-mat_umfpack_dense_row","Control[UMFPACK_DENSE_ROW]","None",lu->Control[UMFPACK_DENSE_ROW],&lu->Control[UMFPACK_DENSE_ROW],PETSC_NULL);CHKERRQ(ierr);
- ierr = PetscOptionsReal("-mat_umfpack_amd_dense","Control[UMFPACK_AMD_DENSE]","None",lu->Control[UMFPACK_AMD_DENSE],&lu->Control[UMFPACK_AMD_DENSE],PETSC_NULL);CHKERRQ(ierr);
- ierr = PetscOptionsReal("-mat_umfpack_block_size","Control[UMFPACK_BLOCK_SIZE]","None",lu->Control[UMFPACK_BLOCK_SIZE],&lu->Control[UMFPACK_BLOCK_SIZE],PETSC_NULL);CHKERRQ(ierr);
-- ierr = PetscOptionsReal("-mat_umfpack_2by2_tolerance","Control[UMFPACK_2BY2_TOLERANCE]","None",lu->Control[UMFPACK_2BY2_TOLERANCE],&lu->Control[UMFPACK_2BY2_TOLERANCE],PETSC_NULL);CHKERRQ(ierr);
- ierr = PetscOptionsReal("-mat_umfpack_fixq","Control[UMFPACK_FIXQ]","None",lu->Control[UMFPACK_FIXQ],&lu->Control[UMFPACK_FIXQ],PETSC_NULL);CHKERRQ(ierr);
- ierr = PetscOptionsReal("-mat_umfpack_aggressive","Control[UMFPACK_AGGRESSIVE]","None",lu->Control[UMFPACK_AGGRESSIVE],&lu->Control[UMFPACK_AGGRESSIVE],PETSC_NULL);CHKERRQ(ierr);
-
-@@ -291,7 +289,6 @@
- ierr = PetscViewerASCIIPrintf(viewer," Control[UMFPACK_DENSE_ROW]: %g\n",lu->Control[UMFPACK_DENSE_ROW]);CHKERRQ(ierr);
- ierr = PetscViewerASCIIPrintf(viewer," Control[UMFPACK_AMD_DENSE]: %g\n",lu->Control[UMFPACK_AMD_DENSE]);CHKERRQ(ierr);
- ierr = PetscViewerASCIIPrintf(viewer," Control[UMFPACK_BLOCK_SIZE]: %g\n",lu->Control[UMFPACK_BLOCK_SIZE]);CHKERRQ(ierr);
-- ierr = PetscViewerASCIIPrintf(viewer," Control[UMFPACK_2BY2_TOLERANCE]: %g\n",lu->Control[UMFPACK_2BY2_TOLERANCE]);CHKERRQ(ierr);
- ierr = PetscViewerASCIIPrintf(viewer," Control[UMFPACK_FIXQ]: %g\n",lu->Control[UMFPACK_FIXQ]);CHKERRQ(ierr);
- ierr = PetscViewerASCIIPrintf(viewer," Control[UMFPACK_AGGRESSIVE]: %g\n",lu->Control[UMFPACK_AGGRESSIVE]);CHKERRQ(ierr);
-
diff --git a/math/petsc/files/patch-src__mat__impls__rowbs__mpi__mpirowbs.h b/math/petsc/files/patch-src__mat__impls__rowbs__mpi__mpirowbs.h
deleted file mode 100644
index 4deb3db1d37b..000000000000
--- a/math/petsc/files/patch-src__mat__impls__rowbs__mpi__mpirowbs.h
+++ /dev/null
@@ -1,13 +0,0 @@
---- src/mat/impls/rowbs/mpi/mpirowbs.h.orig Sat Oct 2 09:13:29 2004
-+++ src/mat/impls/rowbs/mpi/mpirowbs.h Tue Oct 5 21:58:07 2004
-@@ -5,8 +5,8 @@
- #include "src/mat/matimpl.h"
-
- EXTERN_C_BEGIN
--#include "BSsparse.h"
--#include "BSprivate.h"
-+#include <BSsparse.h>
-+#include <BSprivate.h>
- EXTERN_C_END
-
- /*
diff --git a/math/petsc/files/pkg-message.in b/math/petsc/files/pkg-message.in
deleted file mode 100644
index 9e26616e140e..000000000000
--- a/math/petsc/files/pkg-message.in
+++ /dev/null
@@ -1,5 +0,0 @@
-===================================================
-Before using PETSc, you'll have to set PETSC_DIR to
-%%PETSC_DIR%%
-and eventually PETSC_ARCH to %%PETSC_ARCH%%.
-===================================================