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

Bradley, Andrew Michael ambradl at sandia.gov
Wed Jun 10 15:08:35 EDT 2015


Hi Roger,


When was the previous time you updated Albany? Albany underwent three large transitions, one in about Aug or Sep 2014 (STKClassic -> STK), one on 6 Nov 2014 (Tpetra merge), and one on 24 Feb 2015 (Kokkos merge). In each transition, the build configuration changed.


Andrew


________________________________
From: Roger Ghanem <ghanem at usc.edu>
Sent: Wednesday, June 10, 2015 1:06 PM
To: Bradley, Andrew Michael; trilinos-users at trilinos.org
Subject: Re: [EXTERNAL] [Trilinos-Users] help compiling shared libraries

Anderw,
I updated Albany a couple of weeks ago. I have not been able to compile it since (against Trilinos12).
I have assumed these are troubles with Trilinos.
Roger


On 6/10/15 12:04 PM, Bradley, Andrew Michael wrote:

Hi Roger,


May I ask when you last updated Albany?


Otherwise, I agree: this might be an issue for the PyTrilinos experts.


Thanks,

Andrew


________________________________
From: Roger Ghanem <ghanem at usc.edu><mailto:ghanem at usc.edu>
Sent: Wednesday, June 10, 2015 1:01 PM
To: Bradley, Andrew Michael; trilinos-users at trilinos.org<mailto:trilinos-users at trilinos.org>
Subject: Re: [EXTERNAL] [Trilinos-Users] help compiling shared libraries

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><mailto:trilinos-users-bounces at trilinos.org> on behalf of Roger G. Ghanem <ghanem at usc.edu><mailto:ghanem at usc.edu>
Sent: Wednesday, June 10, 2015 12:02 PM
To: trilinos-users at trilinos.org<mailto: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


--
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/d6f75619/attachment.html>


More information about the Trilinos-Users mailing list