Changeset 2831 for trunk

Show
Ignore:
Timestamp:
11/20/2008 05:08:18 PM (7 weeks ago)
Author:
guyer
Message:

The SciPy? solvers are not presently useful or adequately tested.
They fail completely with newer versions of SciPy? (ticket:163).
Some day (ticket:167) we'll redo them properly.
This resolves ticket:163.

Location:
trunk/fipy/solvers
Files:
1 removed
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/fipy/solvers/__init__.py

    r2497 r2831  
    1414elif '--Pysparse' in sys.argv[1:]: 
    1515    from fipy.solvers.pysparse import * 
    16 elif '--Scipy' in sys.argv[1:]: 
    17     from fipy.solvers.scipy import * 
    1816else: 
    1917    import os 
     
    2422        elif os.environ['FIPY_SOLVERS'].lower() == 'trilinos': 
    2523            from fipy.solvers.trilinos import * 
    26         elif os.environ['FIPY_SOLVERS'].lower() == 'scipy': 
    27             from fipy.solvers.scipy import * 
    2824        else: 
    2925            raise ImportError, 'Unknown solver package %s' % os.environ['FIPY_SOLVERS'] 
     
    4642                pass 
    4743         
    48         if not foundSolvers: 
    49             try:  
    50                 from fipy.solvers.scipy import * 
    51                 foundSolvers = True 
    52             except: 
    53                 pass 
    54  
    5544        if not foundSolvers: 
    5645            raise ImportError, "Could not import any solver package. If you are using Trilinos, make sure you have all of the necessary Trilinos packages installed - Epetra, EpetraExt, AztecOO, Amesos, ML, and IFPACK."