Hi Recif,
What happens when you import PyTrilinos at the command line? I assume
you get the same problem.
My configuration is like this, I put trilinos in my local area under
/users/wd15/usr/i686/2.6.18-4-k7/4.0
I then have the following environment variables set
$ echo $LD_LIBRARY_PATH
/usr/site/lib:/users/wd15/usr/i686/2.6.18-4-k7/4.0/lib
$ echo $PYTHONPATH
.:/users/wd15/usr/i686/2.6.18-4-k7/4.0/lib/python:
/users/wd15/usr/i686/2.6.18-4-k7/4.0/lib/python2.4/site-packages:
/users/wd15/usr/i686/2.6.18-4-k7/4.0:
/users/wd15/usr/i686/2.6.18-4-k7/4.0/lib/python/gist:
/users/wd15/Documents/python/fipy/trunk/utils:
/users/wd15/Documents/python/fipy/trunk
$ echo $CPATH
/users/wd15/usr/i686/2.6.18-4-k7/4.0/include
$ echo $LIBRARY_PATH
/users/wd15/usr/i686/2.6.18-4-k7/4.0/lib
I can't remember what each of these do or why they point at various places.
Also take a look at
<http://matforge.org/fipy/wiki/SURF2007#CompilingrunningTrilinosontheCTCMSlabmachines>.
This has a few details about environment variables that need to be
set.
On Sun, Feb 8, 2009 at 9:41 AM, Recif <[email protected]> wrote:
>
> Hi,
> I tried to install the trunk version of FiPy via svn on an AMD64 running
> Ubuntu
> 8.04 after installing the other required packages (including TriLinos 9.0),
> and
> the installation of FiPy seemed to go fine. However, when I try to run 'python
> setup.py test' or any of the examples I get the error:
>
> 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."
> 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.
>
> Is there an environment variable I need to set?
> I checked the installation instructions and the mailing list, but could not
> find
> a discussion of this issue. Thanks in advance for your help.
>
> Recif
>
>
>
>
--
Daniel Wheeler