dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #08702
Re: missing GTS
Garth N. Wells wrote:
>
>
>Hatef Monajemi wrote:
>>
>>
>> Garth N. Wells wrote:
>>
>>
>>>
>>> Hatef Monajemi wrote:
>>>>
>>>> Garth N. Wells wrote:
>>>>
>>>>
>>>>> Hatef Monajemi wrote:
>>>>>> Hi Again,
>>>>>>
>>>>>> I searched in dolfin-dev and found out that others such as Kristen
>>>>>> Kaasbjerg had the same problem :
>>>>>> http://www.mail-archive.com/dolfin-dev@xxxxxxxxxx/msg01160.html
>>>>>>
>>>>>> I would appreciate if anyone can tell me what's wrong with GTS after
>>>>>> moving to scons?? They were talking about a mistake between HAS_GTS
>>>> and
>>>>>> HAVE_GTS_H .The file I have on my machine contains HAS_GTS which I
>>>>>> think is the correct form but still I get a run time error.
>>>>>>
>>>>> Does scons pick up GTS? You should see
>>>>>
>>>>> Found optional package: gts
>>>>>
>>>>> when running scons.
>>>> I Guess Not. the following is what I get after running scons.
>>>>
>>> Look at what scons is reporting at the start. It provides a summary of
>>> what packages have and haven't been found.
>>>
>>> Garth
>> I did what you said and the answer to your question is yes . it CAN
>> find gts at the beginning of the report. What's next?
>>
>
>It sounds suspiciously like libgts is not properly installed. What do
>you see if you do
>
> >pkg-config --libs gts
>
>If this returns what it should, you'll need to dig around in the
>simula-scons files to see what's going wrong. Beyond that, you'll have
>to wait for the scons experts on the list to get back from holiday.
>
>Garth
the output of the command
>pkg-config --libs gts
is :
> -pthread -Wl,--export-dynamic -lgts -lgthread-2.0 -lrt
-lgmodule-2.0 -ldl -lglib-2.0
it seems OK, is not it?
>>>> scons: Reading SConscript files ...
>>>> scons: done reading SConscript files.
>>>> scons: Building targets ...
>>>> c++ -o main.o -c -Wall -pipe -ansi -g -Werror -O2 -fno-strict-aliasing
>>>> -DDEBUG -DNDEBUG -DPACKAGE_VERSION="0.7.2" -DHAS_UMFPACK=1
>>>> -I/usr/include/dolfin/include
>>>> -I/usr/lib/python2.5/site-packages/numpy/core/include
>>>> -I/usr/include/suitesparse -I/usr/include/python2.5
>>>> -I/usr/include/libxml2 main.cpp
>>>> c++ -o demo main.o -L/usr/include/dolfin/lib -L/usr/lib/atlas -ldolfin
>>>> -lblas -lumfpack -lamd -lxml2
>>>> scons: done building targets.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>> Garth
>>>>>
>>>>>> thanks,
>>>>>> Hatef
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Garth N. Wells wrote:
>>>>>>
>>>>>>
>>>>>>> Hatef Monajemi wrote:
>>>>>>>> On Tue, 2008-07-15 at 10:01 +0100, Garth N. Wells wrote:
>>>>>>>>> Hatef Monajemi wrote:
>>>>>>>>>> On Tue, 2008-07-15 at 07:23 +0100, Garth N. Wells wrote:
>>>>>>>>>>> Hatef Monajemi wrote:
>>>>>>>>>>>> Hello,
>>>>>>>>>>>>
>>>>>>>>>>>> I am using IntersectionDetector and its associated function,overlap.
>>>>>>>>>>>> The code compiles without any problem but I get a run time error
>>>>>>>>>>>> saying:"missing GTS". I need to use it since I have to find out which
>>>>>>>>>>>> cell a specific point belongs to.
>>>>>>>>>>>>
>>>>>>>>>>> You need to install GTS.
>>>>>>>>>> I am using Ubuntu linux and as I can see on my machine "libgts-dev" and
>>>>>>>>>> "libgts-0.7-5" are installed. Do I need to install anything else??
>>>>>>>>>>
>>>>>>>>> What do you see if you do
>>>>>>>>>
>>>>>>>>> >pkg-config --print-errors --exists gts
>>>>>>>> I see nothing when I issue the above command which means everything
>>>>>> goes
>>>>>>>> well. Am I supposed to see something?
>>>>>>>>
>>>>>>> Not seeing anything means that you have a pkg-config file for gts. Try
>>>>>>> cloning a new copy of DOLFIN and running scons.
>>>>>>>
>>>>>>> Garth
>>>>>>>
>>>>>>>>> Garth
>>>>>>>>>
>>>>>>>>>> Hatef
>>>>>>>>>>
>>>>>>>>>>> Garth
>>>>>>>>>>>
>>>>>>>>>>>> BTW, in GTSInterface.cpp all the "#ifdef"s written by HAS_GTS which I
>>>>>>>>>>>> think is the correct way instead of HAVE_GTS, isn't it?
>>>>>>>>>>>>
>>>>>>>>>>>> I would appreciate if anyone can help me in this regards.
>>>>>>>>>>>>
>>>>>>>>>>>> Hatef:)
>>>>>>>>>>>>
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> DOLFIN-dev mailing list
>>>>>>>>>>>> DOLFIN-dev@xxxxxxxxxx
>>>>>>>>>>>> http://www.fenics.org/mailman/listinfo/dolfin-dev
>
>