Actually I got it working in Ubuntu, but the parallel implementation
doesn't give expected results, as in different from running in serial. The
parallelization setup seems fine from the command line test on the site. Do
periodic grids work when running in parallel? If not, how could periodic
boundary conditions be implemented?
 On Jan 24, 2014 10:34 AM, "Daniel Wheeler" <[email protected]>
wrote:

> 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 ]
>
_______________________________________________
fipy mailing list
[email protected]
http://www.ctcms.nist.gov/fipy
  [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]

Reply via email to