[Kratos] Trilinos Mistakes

Riccardo Rossi rrossi en cimne.upc.edu
Mie Jun 19 08:46:26 CEST 2013


Dear Nelson,

please make sure you updated to the latest version of the cmake_modules
directory

also please check carefully for the trilinos install path you give to the
kratos

Riccardo



On Tue, Jun 18, 2013 at 6:44 PM, <maireni en cimne.upc.edu> wrote:

> **
>
> Hi Bui
>
> I use the last version of trilinus. The compilation and the instalation
> was perfect.
>
> However, when compile Kratos apears thi:
>
> **** configuring KratosTrilinosApplication ****
> -- Could NOT find EPETRA (missing:  EPETRA_LIBRARY)
> -- Could NOT find TEUCHOS (missing:  TEUCHOS_LIBRARY)
> -- Could NOT find TRIUTILS (missing:  TRIUTILS_LIBRARY)
> CMake Error at cmake_modules/FindTRILINOS.cmake:221 (MESSAGE):
>   Could not find Trilinos or one of its packages.  Please set the cmake var
>   TRILINOS_ROOT or the environment vars MY_TRILINOS_INC_DIRS and
>   MY_TRILINOS_LIB_DIRS
> Call Stack (most recent call first):
>   applications/trilinos_application/CMakeLists.txt:15 (find_package)
>
> I set in the .basrc the corresponding path:
>
> export LD_LIBRARY_PATH=/usr/local/trilinos-11.2.3/lib:$LD_LIBRARY_PATH
>
>
>
> but no compile yet. Any idea?
>
> Regards
>
> Nelson
>
>
>
>
>
>
>
> On Tue, 18 Jun 2013 17:46:25 +0200, Hoang Giang Bui wrote:
>
>
> Hi
>
> Just a comment, you don't need PyTrilinos to work with kratos. You can
> turn this off by
>
> -D Trilinos_ENABLE_PyTrilinos=OFF \
>
> to your configure script.
>
> Ciao
> Bui
>
>
>
> 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 ‘’ 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
>>
>>
>> _______________________________________________
>> Kratos mailing list
>> Kratos en listas.cimne.upc.edu
>> http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/kratos
>>
>>
>
>
>
> --
> With Best Regards !
> Giang Bui
> To learn and to excel
>
>
>
> _______________________________________________
> Kratos mailing list
> Kratos en listas.cimne.upc.edu
> http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/kratos
>
>


-- 

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/20130619/a473e68a/attachment.htm 


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