[Trilinos-Users] [EXTERNAL] help compiling shared libraries

Roger Ghanem ghanem at usc.edu
Wed Jun 10 15:01:54 EDT 2015


Andrew,

All was good with Trilinos 11.14.  Albany was compiling fine
with:
           -D Trilinos_ENABLE_STKUtil:BOOL=OFF \
           -D Trilinos_ENABLE_STKClassic:BOOL=ON \


The static libraries with Trilinos12. are building fine.
I have not tried compiling Albany yet.

I was compiling the shared library version of Trilinos
to add python functionality, which we found to be quite
useful also.  The make.log file  I sent you was for this
configuration.

Thanks
Roger


On 6/10/15 11:53 AM, Bradley, Andrew Michael wrote:
>
> Hi Roger,
>
>
> We may need multiple people to chime in. I'm seeing some errors having 
> to do with multiple packages.
>
>
> I see at the end of your email that you want to build Albany. I 
> recommend following the guidance here:
>
> https://github.com/gahansen/Albany/wiki/Albany:-Building-Trilinos
>
> In particular, you'll see that Albany uses STK rather than STKClassic. 
> Building Trilinos with both STK and STKClassic is not possible, I'm 
> fairly sure, so you'll want to use the STK flags provided in the link.
>
>
> Cheers,
>
> Andrew
>
>
> ------------------------------------------------------------------------
> *From:* Trilinos-Users <trilinos-users-bounces at trilinos.org> on behalf 
> of Roger G. Ghanem <ghanem at usc.edu>
> *Sent:* Wednesday, June 10, 2015 12:02 PM
> *To:* trilinos-users at trilinos.org
> *Subject:* [EXTERNAL] [Trilinos-Users] help compiling shared libraries
> Dear Trilinos users,
>
> I have attached the cmake configuration file and the make.log file from
> a compilation attempt.
>
> I am compiling on  OSX Yosemite.
> I get the same error whether I am on mac pro or macbook air.
> My environment is as follows:
>
> gcc49 4.9.2_2
> g++-mp-4.9
> boost1.55
> Python 2.7.10
> cmake  3.2.2
> Darwin Kernel Version 14.3.0
> xnu-2782.20.48~5/RELEASE_X86_64 x86_64
>
> *ALSO:
>
> **1.* I compiled the static version successfully (clearly it lacks 
> Python functionality).
>
> *2.* In the shared version, I have to manually edit the two link files:
>
> packages/stk/stk_classic/stk_util/stk_util/environment/CMakeFiles/stkclassic_util_env.dir/link.txt
>
> adding:  ../parallel/libstkclassic_util_parallel.dylib
>
> and
>
> packages/stk/stk_classic//stk_util/stk_util/unit_test_support/CMakeFiles/stkclassic_util_unit_test_support.dir/link.txt
>
> adding: ../util/libstkclassic_util_util.dylib
>
>
> *ALSO:*
> when including MeshingGenie, it compiled properly.  But when I tried 
> to compile
> Albany, I was informed that      MeshingGenieConfig.cmake could not be 
> found.
> Indeed I could not find that file in the build or install directories.
>
>
> Thank you for your help.
> Roger
> -- 
> ---------------------------------
> Roger Ghanem
> 210 KAP Hall
> University of Southern California
> Los Angeles, CA 90089
> Tel: 213 740 9528

-- 
Roger Ghanem
210 KAP Hall
University of Southern California
Los Angeles, CA 90089

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://trilinos.org/pipermail/trilinos-users/attachments/20150610/2c1bee21/attachment.html>


More information about the Trilinos-Users mailing list