← Back to team overview

dolfin team mailing list archive

Re: MS visual studio C++ 8

 

> Alessio Quaglino wrote:
>>>
>>> Alessio Quaglino wrote:
>>>>>> - I don't know how to set the variable DOLFIN_VERSION present in
>>>>>> init.cpp
>>>>> DOLFIN_VERSION is a #define (see src/kernel/main/dolfin/constants.h).
>>>> Yes sorry, the compiler actually says that the PACKAGE_VERSION
>>>> variable
>>>> is
>>>> undefined.
>>>>
>>>> I managed to compile and link everything (using default BLAS libraries
>>>> and
>>>> I still haven't checked if UMFPACK works), however I still have quite
>>>> big
>>>> problems since my code runs very slowly (compared to linux) and almost
>>>> gets stuck in the lump() routine because it takes ages.
>>>>
>>> Are you using uBLAS or PETSc? If you're using uBLAS, check the compiler
>>> flags and make sure that you have -DNDEBUG. Otherwise, anything to do
>>> with uBLAS will be dead slow.
>>
>> Yes, thanks. It seems VS had the similar flag -NDEBUG which helped quite
>> a
>> lot. I was also wondering if I could use some optimized BLAS like ATLAS.
>
> DOLFIN doesn't use BLAS, but it may be used by libraries which DOLFIN
> uses, such as PETSc and UMFPACK. uBLAS doesn't use BLAS.

Oh, ok. I missed that uBlas and BLAS are actually two different things.
Does this mean that in order to use UMFPACK I have to link ti to BLAS?
I've compiled it without any sort of BLAS but only uBlas and now it
doesn't like the way dolfin calls it (see the other email). Could it be
because of that?

Alessio


> Garth
>
>> Is ATLAS independent from BOOST or do I need to have both installed?
>>
>> Alessio
>>
>>
>>> Garth
>>>
>>>>> It would be helpful if you submitted your fixes as an hg bundle (or a
>>>>> series of small bundles, one for each set of fixes). I'm on parental
>>>>> leave until the end of November so I have limited bandwidth, but
>>>>> someone
>>>>> else should be able to pick it up.
>>>> I signed up to the FEniCS wiki so that I'll be able to add a short
>>>> guide.
>>>>
>>>> Alessio
>>>>
>>>>
>>>>> /Anders
>>>>>
>>>>>
>>>>>> Alessio
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> DOLFIN-dev mailing list
>>>>>> DOLFIN-dev@xxxxxxxxxx
>>>>>> http://www.fenics.org/mailman/listinfo/dolfin-dev
>>>>
>>>>
>>>> _______________________________________________
>>>> DOLFIN-dev mailing list
>>>> DOLFIN-dev@xxxxxxxxxx
>>>> http://www.fenics.org/mailman/listinfo/dolfin-dev
>>>>
>>>
>>>
>>
>>
>> _______________________________________________
>> DOLFIN-dev mailing list
>> DOLFIN-dev@xxxxxxxxxx
>> http://www.fenics.org/mailman/listinfo/dolfin-dev
>>
>
>
>




References