[Kratos] Latest version of the code is not compiling

rrossi en cimne.upc.edu rrossi en cimne.upc.edu
Mar Jun 16 09:19:09 CEST 2015


hi Andreas,

it is some incompatibility with the itsol lib

are u using pastix? because it is incompatble with itsol

in any case try to define
-DEXCLUDE_ITSOL=ON \
so to deactivate it

and see if it compiles with this

cheers
Riccardo

On 2015-06-16 09:11, Mini, Andreas wrote:
> Hi Riccardo,
> 
> I downloaded the full repository into a new folder and tried to
> compile it. I just did this to test, because one of our student hat
> problems. I did not change anything. I also tried boost version 1.58
> but the error remains.
> 
>  Ciao
> 
>  Andreas
> 
>  -------------------------------------------------------
>  Technische Universität München
>  Lehrstuhl für Statik
>  Prof. Dr.-Ing. Kai-Uwe Bletzinger
>  Arcisstr. 21
>  80333 München
> 
>  Tel. +49 (0)89 289 22435
>  Fax +49 (0)89 289 22421
>  Andreas.Mini en tum.de
>  www.st.bgu.tum.de
>  -------------------------------------------------------
> 
> -------------------------
> 
> VON: rougered4 en gmail.com <rougered4 en gmail.com> im Auftrag von Riccardo
> Rossi <rrossi en cimne.upc.edu>
>  GESENDET: Montag, 15. Juni 2015 17:31
>  AN: Mini, Andreas
>  CC: kratos-bounces en listas.cimne.upc.edu; kratos
>  BETREFF: Re: [Kratos] Latest version of the code is not compiling
> 
> Hi Andreas,
> 
> I am a little surprised since we downloaded and compiled the
> ExternalSolversApplication around 1h ago.
> 
> Could you get the clean copy of such application? I guess you did not
> changed it locally right? If so just erase the directory of the app
> and get the clean one. It should be reasonably fast in compiling it
> 
> Cheers
>  Riccardo
> On 15 Jun 2015 17:05, "Mini, Andreas" <andreas.mini en tum.de> wrote:
> 
>> Dear colleagues,
>> 
>> I have downloaded the latest version of the code. Unfortunately it
>> does not compile. I get the following error message:
>> 
>> In file included from
>> 
> /home/mini/compiled_libraries/boost_1_57_0/boost/lexical_cast/detail/converter_lexical.hpp:49:0,
>> from
>> 
> /home/mini/compiled_libraries/boost_1_57_0/boost/lexical_cast/try_lexical_convert.hpp:34,
>> from
>> 
> /home/mini/compiled_libraries/boost_1_57_0/boost/lexical_cast.hpp:32,
>> from
>> 
> /home/mini/compiled_libraries/boost_1_57_0/boost/python/operators.hpp:19,
>> from
>> /home/mini/compiled_libraries/boost_1_57_0/boost/python.hpp:50,
>> from
>> 
> /home/mini/Desktop/KRATOS_TEST/kratos/applications/PFEMapplication/custom_python/add_custom_utilities_to_python.cpp:54:
>> /home/mini/compiled_libraries/boost_1_57_0/boost/array.hpp: In
>> function '<built-in>':
>> /home/mini/compiled_libraries/boost_1_57_0/boost/array.hpp:130:25:
>> warning: array subscript is above array bounds [-Warray-bounds]
>> return elems[i];
>> ^
>> Linking CXX shared library KratosExternalSolversApplication.so
>> custom_external_libraries/ITSOL_2/libitsol.a(auxill.c.o): In
>> function `readhb_c':
>> auxill.c:(.text+0x14fb): undefined reference to `readmtc_'
>> auxill.c:(.text+0x172f): undefined reference to `readmtc_'
>> auxill.c:(.text+0x182b): undefined reference to `csrcsc_'
>> custom_external_libraries/ITSOL_2/libitsol.a(auxill.c.o): In
>> function `readhb_2':
>> auxill.c:(.text+0x1de1): undefined reference to `readmtc_'
>> auxill.c:(.text+0x200d): undefined reference to `readmtc_'
>> auxill.c:(.text+0x255b): undefined reference to `csrcsc_'
>> custom_external_libraries/ITSOL_2/libitsol.a(sets.c.o): In function
>> `coocsc':
>> sets.c:(.text+0x4125): undefined reference to `coocsr_'
>> sets.c:(.text+0x41e2): undefined reference to `coocsr_'
>> collect2: error: ld returned 1 exit status
>> make[2]: ***
>> 
> [applications/ExternalSolversApplication/KratosExternalSolversApplication.so]
>> Error 1
>> make[1]: ***
>> 
> [applications/ExternalSolversApplication/CMakeFiles/KratosExternalSolversApplication.dir/all]
>> Error 2
>> 
>> Thank you for your help.
>> 
>> Ciao
>> 
>> Andreas Mini
>> 
>> -------------------------------------------------------
>> Technische Universität München
>> Lehrstuhl für Statik
>> Prof. Dr.-Ing. Kai-Uwe Bletzinger
>> Arcisstr. 21
>> 80333 München
>> 
>> Tel. +49 (0)89 289 22435 [1]
>> Fax +49 (0)89 289 22421 [2]
>> Andreas.Mini en tum.de
>> www.st.bgu.tum.de [3]
>> -------------------------------------------------------
>> _______________________________________________
>> Kratos mailing list
>> Kratos en listas.cimne.upc.edu
>> http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/kratos [4]
> 
> 
> Links:
> ------
> [1] tel:%2B49%20%280%2989%20289%2022435
> [2] tel:%2B49%20%280%2989%20289%2022421
> [3] http://www.st.bgu.tum.de
> [4] http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/kratos


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