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.
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'
On 01/21/2014 04:01 PM, Daniel Wheeler wrote:
> On Tue, Jan 21, 2014 at 11:08 AM, Jane Hung <[email protected]> wrote:
>> Is there a way to use Trilinos with windows? PyTrilinos doesn't seem to be
>> compatible.
> I've never built Trilinos on Windows, but it is supported according to
> the docs. You might want to email the Trilinos mailing list if you are
> having problems.
>
>> When I tried to install Fipy with Trilinos on OSX, I can't seem to run
>> anything since even
>> python -c "from fipy import *; fipy.test()" gives an AttributeError
>> and in the diffusion/mesh1D.py file, it gives a NameError (doesn't recognize
>> Grid1D)
> Can you post the complete output from
>
> $ python -c "import fipy; fipy.test()"
>
> Thanks.
>
_______________________________________________
fipy mailing list
[email protected]
http://www.ctcms.nist.gov/fipy
[ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]