On Wed, Jan 22, 2014 at 10:37 AM, J Hung <[email protected]> wrote:
> I decided to try it on Ubuntu and got this error
> python -c "from fipy.solvers.scipy import DefaultSolver; \> print
> DefaultSolver" --no-pysparse
> Traceback (most recent call last):
> File "<string>", line 1, in <module>
> File "fipy/__init__.py", line 45, in <module>
> from fipy.boundaryConditions import *
> File "fipy/boundaryConditions/__init__.py", line 2, in <module>
> from fipy.boundaryConditions.fixedFlux import *
> File "fipy/boundaryConditions/fixedFlux.py", line 38, in <module>
> from fipy.tools import numerix
> File "fipy/tools/__init__.py", line 85, in <module>
> serial, parallel = serialComm, parallelComm = _getComms()
> File "fipy/tools/__init__.py", line 72, in _getComms
> serialComm, parallelComm = _parallelImport()
> File "fipy/tools/__init__.py", line 43, in _parallelImport
> from PyTrilinos import Epetra
> ImportError: No module named PyTrilinos
>
> I made a build directory for pytrilinos separate from fipy and a build
> directory for trilinos inside the trilinos directory and did make and
> make install for both, so I don't know why I get this message.
What happens at the python command line when you import "PyTrilinos"?
$ python
>>> import PyTrilinos
Does that work?
>
> On OSX,
>
> $ python -c "import fipy; fipy.test()"
>
> gives
> usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
> or: -c --help [cmd1 cmd2 ...]
> or: -c --help-commands
> or: -c cmd --help
>
> error:invalid command 'egg_info'
Not sure what is going on there. Try
$ python
>>> import fipy
>>> fipy.test()
--
Daniel Wheeler
_______________________________________________
fipy mailing list
[email protected]
http://www.ctcms.nist.gov/fipy
[ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]