[Kratos] Trilinos Mistakes

Nelson Lafontaine inglafontaine en gmail.com
Mar Jun 18 16:22:01 CEST 2013


Hi frinds
Trying to compile and install trilinos
i have this mistake.

*[ 91%] Building CXX object
packages/PyTrilinos/src/CMakeFiles/EpetraExt.dir/EpetraExtPYTHON_wrap.cpp.o
/home/nelson/compiled_libraries/trilinos-10.2.0-Source/trilinos-build/packages/PyTrilinos/src/EpetraExtPYTHON_wrap.cpp:
In function ‘PyObject* _wrap_CrsGraph_MapColoring___call__(PyObject*,
PyObject*)’:
/home/nelson/compiled_libraries/trilinos-10.2.0-Source/trilinos-build/packages/PyTrilinos/src/EpetraExtPYTHON_wrap.cpp:9019:
error: ‘arg2’ declared as reference but not initialized
/home/nelson/compiled_libraries/trilinos-10.2.0-Source/trilinos-build/packages/PyTrilinos/src/EpetraExtPYTHON_wrap.cpp:9026:
error: ‘result’ declared as reference but not initialized
/home/nelson/compiled_libraries/trilinos-10.2.0-Source/trilinos-build/packages/PyTrilinos/src/EpetraExtPYTHON_wrap.cpp:9042:
error: cannot declare pointer to ‘class Epetra_CrsGraph&’
/home/nelson/compiled_libraries/trilinos-10.2.0-Source/trilinos-build/packages/PyTrilinos/src/EpetraExtPYTHON_wrap.cpp:9042:
error: cannot declare pointer to ‘class Epetra_CrsGraph&’
/home/nelson/compiled_libraries/trilinos-10.2.0-Source/packages/epetra/src/Epetra_MapColoring.h:300:
error: ‘Epetra_MapColoring& Epetra_MapColoring::operator=(const
Epetra_MapColoring&)’ is private
/home/nelson/compiled_libraries/trilinos-10.2.0-Source/trilinos-build/packages/PyTrilinos/src/EpetraExtPYTHON_wrap.cpp:9050:
error: within this context
/home/nelson/compiled_libraries/trilinos-10.2.0-Source/trilinos-build/packages/PyTrilinos/src/EpetraExtPYTHON_wrap.cpp:9082:
error: cannot declare reference to ‘class Epetra_MapColoring&’
/home/nelson/compiled_libraries/trilinos-10.2.0-Source/trilinos-build/packages/PyTrilinos/src/EpetraExtPYTHON_wrap.cpp:9082:
error: new cannot be applied to a reference type
/home/nelson/compiled_libraries/trilinos-10.2.0-Source/trilinos-build/packages/PyTrilinos/src/EpetraExtPYTHON_wrap.cpp:
In function ‘PyObject* _wrap_CrsGraph_MapColoringIndex___call__(PyObject*,
PyObject*)’:
/home/nelson/compiled_libraries/trilinos-10.2.0-Source/trilinos-build/packages/PyTrilinos/src/EpetraExtPYTHON_wrap.cpp:9213:
error: ‘OriginalTypeRef’ was not declared in this scope
/home/nelson/compiled_libraries/trilinos-10.2.0-Source/trilinos-build/packages/PyTrilinos/src/EpetraExtPYTHON_wrap.cpp:9213:
error: expected ‘;’ before ‘arg2’
/home/nelson/compiled_libraries/trilinos-10.2.0-Source/trilinos-build/packages/PyTrilinos/src/EpetraExtPYTHON_wrap.cpp:9220:
error: ‘NewTypeRef’ was not declared in this scope
/home/nelson/compiled_libraries/trilinos-10.2.0-Source/trilinos-build/packages/PyTrilinos/src/EpetraExtPYTHON_wrap.cpp:9220:
error: expected ‘;’ before ‘result’
/home/nelson/compiled_libraries/trilinos-10.2.0-Source/trilinos-build/packages/PyTrilinos/src/EpetraExtPYTHON_wrap.cpp:9236:
error: ‘temp’ was not declared in this scope
/home/nelson/compiled_libraries/trilinos-10.2.0-Source/trilinos-build/packages/PyTrilinos/src/EpetraExtPYTHON_wrap.cpp:9236:
error: expected type-specifier before ‘OriginalTypeRef’
/home/nelson/compiled_libraries/trilinos-10.2.0-Source/trilinos-build/packages/PyTrilinos/src/EpetraExtPYTHON_wrap.cpp:9236:
error: expected ‘>’ before ‘OriginalTypeRef’
/home/nelson/compiled_libraries/trilinos-10.2.0-Source/trilinos-build/packages/PyTrilinos/src/EpetraExtPYTHON_wrap.cpp:9236:
error: expected ‘(’ before ‘OriginalTypeRef’
/home/nelson/compiled_libraries/trilinos-10.2.0-Source/trilinos-build/packages/PyTrilinos/src/EpetraExtPYTHON_wrap.cpp:9236:
error: expected primary-expression before ‘>’ token
/home/nelson/compiled_libraries/trilinos-10.2.0-Source/trilinos-build/packages/PyTrilinos/src/EpetraExtPYTHON_wrap.cpp:9236:
error: expected ‘)’ before ‘;’ token
/home/nelson/compiled_libraries/trilinos-10.2.0-Source/trilinos-build/packages/PyTrilinos/src/EpetraExtPYTHON_wrap.cpp:9237:
error: ‘arg2’ was not declared in this scope
/home/nelson/compiled_libraries/trilinos-10.2.0-Source/trilinos-build/packages/PyTrilinos/src/EpetraExtPYTHON_wrap.cpp:9238:
error: type ‘<type error>’ argument given to ‘delete’, expected pointer
/home/nelson/compiled_libraries/trilinos-10.2.0-Source/trilinos-build/packages/PyTrilinos/src/EpetraExtPYTHON_wrap.cpp:9244:
error: ‘result’ was not declared in this scope
/home/nelson/compiled_libraries/trilinos-10.2.0-Source/trilinos-build/packages/PyTrilinos/src/EpetraExtPYTHON_wrap.cpp:9244:
error: ‘arg2’ was not declared in this scope
/home/nelson/compiled_libraries/trilinos-10.2.0-Source/trilinos-build/packages/PyTrilinos/src/EpetraExtPYTHON_wrap.cpp:9276:
error: expected type-specifier before ‘NewTypeRef’
/home/nelson/compiled_libraries/trilinos-10.2.0-Source/trilinos-build/packages/PyTrilinos/src/EpetraExtPYTHON_wrap.cpp:9276:
error: expected ‘)’ before ‘NewTypeRef’
/home/nelson/compiled_libraries/trilinos-10.2.0-Source/trilinos-build/packages/PyTrilinos/src/EpetraExtPYTHON_wrap.cpp:9276:
error: expected ‘)’ before ‘;’ token
make[2]: ***
[packages/PyTrilinos/src/CMakeFiles/EpetraExt.dir/EpetraExtPYTHON_wrap.cpp.o]
Error 1
make[1]: *** [packages/PyTrilinos/src/CMakeFiles/EpetraExt.dir/all] Error 2
make: *** [all] Error 2
nelson en nelson:~/compiled_librari


*
*Any idea? I am watching the file, but i did not founf any anormal
*
*thing.

*
*regards

*
*Nelson

*

-- 
Ing. Nelson M. Lafontaine
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: http://listas.cimne.upc.edu/pipermail/kratos/attachments/20130618/f2f35685/attachment.htm 


Más información sobre la lista de distribución Kratos