TRIQS / triqs_0.x

DEPRECATED -- This is the repository of the older versions of TRIQS
Other
11 stars 9 forks source link

MPI test needed #73

Closed aeantipov closed 11 years ago

aeantipov commented 12 years ago

Hi all, Compiled and installed triqs and passed all the test:

100% tests passed, 0 tests failed out of 86

However, when running this:

from pytriqs.Base.GF_Local import *
from pytriqs.Solvers.Operators import *
from pytriqs.Solvers.HybridizationExpansion import Solver

I get an error:

Traceback (most recent call last):
  File "aim.py", line 3, in 
    from pytriqs.Solvers.HybridizationExpansion import Solver
  File "/Volumes/Users/antipov/_local/lib/python2.6/site-packages/pytriqs/Solvers/HybridizationExpansion/__init__.py", line 28, in 
    import pytriqs.Base.Utility.Parameters as Parameters
  File "/Volumes/Users/antipov/_local/lib/python2.6/site-packages/pytriqs/Base/Utility/Parameters.py", line 24, in 
    import pytriqs.Base.Utility.MPI as MPI
  File "/Volumes/Users/antipov/_local/lib/python2.6/site-packages/pytriqs/Base/Utility/MPI.py", line 30, in 
    from pytriqs.boost.mpi import *
  File "/Volumes/Users/antipov/_local/lib/python2.6/site-packages/pytriqs/boost/__init__.py", line 9, in 
    import mpi
AttributeError: 'NoneType' object attribute '__doc__' is read-only

I'm trying to find the source of the bug - probably it's lack of linking with mpi somewhere

parcollet commented 12 years ago

Looks like #48 again...

-> yes, we would need an mpi test, it is not hard since cmake detect mpirun, etc...