error: unknown type name 'PetscShell'

Issue #2 resolved
created an issue
PETSc: 3.4.2 
TAO: 2.2.0

The two libraries installed successfully and the environment all ready set.




compiler: /usr/local/Cellar/mpich2/3.0.4/bin/mpicc

linker: /usr/local/Cellar/mpich2/3.0.4/bin/mpicc

petsc4py and NumPy also installed.

When I installed tao4py, it complains that: In file included from src/TAO.c

src/tao4py.TAO.c:591 error: unknown type name 'PetscShell';

I just want to know whether the compiler causes this problem. Thanks.

Comments (8)

  1. Dominique

    FWIW, I saw the same error earlier today. Try installing from the hg repo instead of PyPi:

    pip install hg+

    I think the tao4py hosted on PyPi is for TAO 2.1.

  2. Log in to comment