[Trilinos-Users] [EXTERNAL] Re: Trouble building Trilinos with CLAPACK
Perschbacher, Brent M
bmpersc at sandia.gov
Thu Apr 12 13:34:37 MDT 2012
Chris,
if you are able to compile all the packages you want to use with an llvm
based compiler then you should be fine. The primary reason why I cautioned
against it is that we know that there are several commonly used packages
that do have errors with llvm and I didn't want you to end up stuck on those
kinds of issues. For the most part if a package builds with llvm it also
appears to function correctly so you should be in a good to go until you
need more packages. Hopefully by then though we will have a new release that
works with llvm though.
Brent
On 4/12/12 11:56 AM, "Christian Staudt" <christian.staudt at ira.uka.de> wrote:
> Thank you, Mike, Kermit, Brent and Doug, for the hints.
>
> First, I rebuilt CLAPACK using cmake instead of the makefile supplied. With
> that, the Trilinos build completes without errors.
>
> Now that the LLVM GCC does not seem to have caused the problem, would you
> still advise against using it?
>
> (I am now trying to figure out how to build an application in Eclipse (with
> CDT) against Trilinos.)
>
>
> Chris
>
>
> Am 12.04.2012 um 01:15 schrieb Perschbacher, Brent M:
>
>> Chris,
>> I have a couple suggestions that may help you. First I highly recommend
>> using the cmake build of clapack instead of the provided Makefiles. The
>> biggest reason is that by default the provided Makefiles mangle the blas and
>> lapack library names differently which makes it difficult to link against
>> them. The cmake build by default does not do that. Given that the cmake
>> build for clapack was actually done for the Trilinos project it is generally
>> more likely to work effortlessly with Trilinos.
>>
>> We also know of several issues with the llvm compiler that could be causing
>> you problems. I've actually recently fixed most of the build errors llvm,
>> however we haven't provided a bug release with those changes yet. There is
>> one coming, but in the mean time I would highly recommend using a gcc that
>> does not use llvm as the back end, we currently test against 4.3, 4.4, 4.5
>> and 4.6 so any of those should be pretty safe to use.
>>
>> I hope this helps,
>>
>> Brent
>>
>>
>> On 4/11/12 3:24 PM, "Christian Staudt" <christian.staudt at ira.uka.de> wrote:
>>
>>> Thanks, I'll describe the situation:
>>>
>>> I am running Mac OS X 10.6 on x86, gcc is: i686-apple-darwin10-llvm-gcc-4.2,
>>> gfortran is i686-apple-darwin10-gfortran-4.2.1
>>>
>>> Basically, I am trying to follow the instructions from [1], therefore I have
>>>
>>> - built CLAPACK, using the example make.inc file and running "make",
>>> producing
>>> lapack_OSX.a and blas_OSX.a - no error messages
>>> - run my custom do-configure script [4] in which I have given the location
>>> of
>>> BLAS and LAPACK (correctly?), producing the following output: [3]
>>> - run "make" in the Trilinos target directory, which fails with following
>>> output: [2]
>>>
>>> I see that several tests from the do-configure script have "Failed".
>>> However,
>>> I do not know how to proceed from here.
>>>
>>> Chris
>>>
>>>
>>> [1] https://code.google.com/p/trilinos/wiki/TrilinosHandsOnTutorial
>>>
>>> [2] http://pastebin.com/SaRxYEaE
>>>
>>> [3] http://pastebin.com/XpXuVX3p
>>>
>>> [4] http://pastebin.com/aunLq554
>>>
>>>
>>>
>>>
>>>
>>>
>>> Am 11.04.2012 um 22:05 schrieb Heroux, Michael A:
>>>
>>>> Chris,
>>>>
>>>> What kind of computer system are you running on? Give us a few details
>>>> about your situation.
>>>>
>>>> Thanks.
>>>>
>>>> Mike
>>>>
>>>> On 4/11/12 2:35 PM, "Christian Staudt" <christian.staudt at ira.uka.de> wrote:
>>>>
>>>>> Hello Trilinos users,
>>>>>
>>>>> I'm working on a multigrid scheme for solving linear systems where the
>>>>> system matrix is a graph Laplacian. The project will be based on either
>>>>> PETSc or Trilinos - I am new to both. From what I have read, I gravitate
>>>>> towards Trilinos.
>>>>>
>>>>> However, I have had no success building Trilinos so far. The error I run
>>>>> into during the "make" step is related to CLAPACK. Before I go into more
>>>>> details: Are installation troubleshooting questions/discussions
>>>>> appropriate on this list?
>>>>>
>>>>> Regards
>>>>> Chris
>>>>>
>>>>> _______________________________________________
>>>>> Trilinos-Users mailing list
>>>>> Trilinos-Users at software.sandia.gov
>>>>> http://software.sandia.gov/mailman/listinfo/trilinos-users
>>>>
>>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Trilinos-Users mailing list
>>> Trilinos-Users at software.sandia.gov
>>> http://software.sandia.gov/mailman/listinfo/trilinos-users
>>
>>
>
>
>
> _______________________________________________
> Trilinos-Users mailing list
> Trilinos-Users at software.sandia.gov
> http://software.sandia.gov/mailman/listinfo/trilinos-users
More information about the Trilinos-Users
mailing list