[Kratos] Trilinos Mistakes

Riccardo Rossi rrossi en cimne.upc.edu
Mar Jun 18 17:08:34 CEST 2013


Nelson,
         me parece que este trilinos es del año de la pera...bajate la
ultima

ciao
Riccardo



On Tue, Jun 18, 2013 at 4:22 PM, Nelson Lafontaine
<inglafontaine en gmail.com>wrote:

>
> 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
>
>


-- 

Dr. Riccardo Rossi, Civil Engineer

Member of Kratos Team

International Center for Numerical Methods in Engineering - CIMNE
Campus Norte, Edificio C1

c/ Gran Capitán s/n

08034 Barcelona, España

Tel:        (+34) 93 401 56 96

Fax:       (+34) 93.401.6517
web:       www.cimne.com
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: http://listas.cimne.upc.edu/pipermail/kratos/attachments/20130618/a9e0c5c4/attachment-0001.htm 


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