[Trilinos-Users] PyTrilinos -' Unable to find 'NOX_Epetra_Interface_Required.H'

Bill Spotz wfspotz at sandia.gov
Fri Jan 15 09:45:18 MST 2010


Scott,

As noted elsewhere, we cannot test for every possible combination of  
enabled packages.

My best guess for your current situation would be to enable EpetraExt  
(although I am not sure why disabling it would affect the include  
directories this way).  PyTrilinos.NOX takes advantage of some  
EpetraExt capabilities.

I test PyTrilinos with

     -D Trilinos_ENABLE_ALL_OPTIONAL_PACKAGES:BOOL=ON

This will enable a larger number of packages than you probably want  
(and more than is necessary for PyTrilinos), but I know it works.

On Jan 15, 2010, at 10:33 AM, Askey, Scott A Capt USAF AETC AFIT/ENY  
wrote:

> Or what is a good way to ensure that the makefile for PyTrilinos  
> looks in  ${TRILINOS_HOME}//tril/packages/nox/src-epetra/ for  
> NOX_Epetra_Interface_Jacobian.H    ,   
> NOX_Epetra_Interface_Preconditioner.H  and  
> NOX_Epetra_Interface_Required.H  .
>
> V/R
>
> Scott
> -----Original Message-----
> From: Askey, Scott A Capt USAF AETC AFIT/ENY
> Sent: Thu 1/14/2010 4:17 PM
> To: trilinos-users at software.sandia.gov
> Subject: PyTrilinos -' Unable to find  
> 'NOX_Epetra_Interface_Required.H'
>
> What are some possible solutions to the elusive include file?  The  
> build seems to work if PyTrilinos is not included.
>
> Centos 5.4, python2.4-devel, swig 1.3.40 , numpy 1.0.7, gcc version  
> 4.1.2
>
> V/R
>
> Scott
>
> /work/Downloads/trilinos-10.0.4-Source/pp/packages/PyTrilinos/src/ 
> NOX.Epetra.InterfacePYTHON_wrap.cpp /work/Downloads/trilinos-10.0.4- 
> Source/packages/PyTrilinos/src/NOX.Epetra.Interface.i
> /work/Downloads/trilinos-10.0.4-Source/packages/PyTrilinos/src/ 
> NOX.Epetra.Interface.i:139: Error: Unable to find  
> 'NOX_Epetra_Interface_Required.H'
> /work/Downloads/trilinos-10.0.4-Source/packages/PyTrilinos/src/ 
> NOX.Epetra.Interface.i:145: Error: Unable to find  
> 'NOX_Epetra_Interface_Jacobian.H'
> /work/Downloads/trilinos-10.0.4-Source/packages/PyTrilinos/src/ 
> NOX.Epetra.Interface.i:151: Error: Unable to find  
> 'NOX_Epetra_Interface_Preconditioner.H'
> make[2]: *** [packages/PyTrilinos/src/ 
> NOX.Epetra.InterfacePYTHON_wrap.cpp] Error 1
> make[2]: Leaving directory `/work/Downloads/trilinos-10.0.4-Source/pp'
> make[1]: *** [packages/PyTrilinos/src/CMakeFiles/Interface.dir/all]  
> Error 2
> make[1]: Leaving directory `/work/Downloads/trilinos-10.0.4-Source/pp'
> make: *** [all] Error 2
>
>
> CMAKE SCRIPT:
> #! /bin/sh
>
> EXTRA_ARGS=$@
> rm -rf *txt
>
> cmake \
>  -D TPL_ENABLE_MPI:BOOL=OFF \
>  -D MPI_BASE_DIR:="/work/usr/local" \
>  -DTPL_BLAS_LIBRARIES:STRING="/usr/lib64/libblas.so.3"\
>  -DTPL_LAPACK_LIBRARIES:STRING="/usr/lib64/liblapack.so.3"\
>  -D CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++ \
>  -D CMAKE_BUILD_TYPE:STRING=DEBUG \
>  -D CMAKE_VERBOSE_MAKEFILE:BOOL=TRUE \
>  -D DART_TESTING_TIMEOUT:STRING=600 \
>  -D Trilinos_ENABLE_TESTS:BOOL=ON \
>  -D Trilinos_ENABLE_DEBUG:BOOL=OFF \
>  -D Trilinos_ENABLE_Teuchos:BOOL=ON \
>  -D Trilinos_ENABLE_Epetra:BOOL=ON \
>  -D Trilinos_ENABLE_EpetraExt:BOOL=OFF \
>  -D Trilinos_ENABLE_NOX:BOOL=ON \
>  -D Trilinos_ENABLE_PyTrilinos:BOOL=ON \
>  -D BUILD_SHARED_LIBS:BOOL=ON \
>  -D CMAKE_INSTALL_PREFIX:=/work/usr/local/pytril\
>  $EXTRA_ARGS \
>  ../
>
>
>
> _______________________________________________
> Trilinos-Users mailing list
> Trilinos-Users at software.sandia.gov
> http://software.sandia.gov/mailman/listinfo/trilinos-users

** Bill Spotz                                              **
** Sandia National Laboratories  Voice: (505)845-0170      **
** P.O. Box 5800                 Fax:   (505)284-0154      **
** Albuquerque, NM 87185-0370    Email: wfspotz at sandia.gov **







More information about the Trilinos-Users mailing list