[Trilinos-Users] Trilinos-Users Digest, Vol 72, Issue 12

rrossi at cimne.upc.edu rrossi at cimne.upc.edu
Wed Aug 31 12:53:25 MDT 2011


  

Thank you for the answers, 

 however i found a find_trilinos
package in the library "Hermes" and i used it as a base for my own
one... 

if anyone is interested "my" version can be found here:


http://kratos.cimne.upc.es/trac/browser/kratos/cmake_modules 

however
i remark once again that is basically taken from "Hermes" 

thank you
all 

Riccardo 

On Wed, 31 Aug 2011 12:00:02 -0600,
trilinos-users-request at software.sandia.gov wrote: 

> Send
Trilinos-Users mailing list submissions to
>
trilinos-users at software.sandia.gov [10]
> 
> To subscribe or unsubscribe
via the World Wide Web, visit
>
http://software.sandia.gov/mailman/listinfo/trilinos-users [11]
> or,
via email, send a message with subject or body 'help' to
>
trilinos-users-request at software.sandia.gov [12]
> 
> You can reach the
person managing the list at
> trilinos-users-owner at software.sandia.gov
[13]
> 
> When replying, please edit your Subject line so it is more
specific
> than "Re: Contents of Trilinos-Users digest..."
> 
> Today's
Topics:
> 
> 1. Re: does an "official" FindTrilinos.cmake exist?
>
(Trilinos-Users Digest, Vol 72, Issue 11) (Mark Hoemmen)
> 2. Re: does
an "official" FindTrilinos.cmake exist?
> (Trilinos-Users Digest, Vol
72, Issue 11) (Perschbacher, Brent M)
> 
>
----------------------------------------------------------------------
>

> Message: 1
> Date: Tue, 30 Aug 2011 13:55:45 -0600
> From: Mark
Hoemmen 
> Subject: Re: [Trilinos-Users] does an "official"
FindTrilinos.cmake
> exist? (Trilinos-Users Digest, Vol 72, Issue 11)
>
To: 
> Message-ID: 
> Content-Type: text/plain; charset="us-ascii"
> 
>
On Aug 30, 2011, at 12:00 PM, wrote:
>> Message: 1 Date: Mon, 29 Aug
2011 20:19:04 +0200 From: rrossi at cimne.upc.edu [1] Subject:
[Trilinos-Users] does an "official" FindTrilinos.cmake exist? To:
trilinos-users at software.sandia.gov [2] Message-ID: Content-Type:
text/plain; charset="utf-8" Dear list, i am migrating to cmake, and was
hoping to have find a good quality FindTrilinos.cmake. any link could be
very helpful (admittedly i have very limited knowledge of cmake) thanks
in advance Riccardo
> I'm not quite sure what you mean by a "good
quality" FindTrilinos.cmake. I am using vanilla CMake 2.8.4 on my
machine, and the following line works fine in my applications that use
Trilinos: FIND_PACKAGE(Trilinos PATHS
${TRILINOS_PATH}/lib/cmake/Trilinos ${TRILINOS_PATH}) where I set
TRILINOS_PATH manually to the place I installed Trilinos. This sets a
whole bunch of variables, like Trilinos_FOUND, Trilinos_CXX_COMPILER,
etc. Is this helpful? mfh ------------------------------ Message: 2
Date: Tue, 30 Aug 2011 20:33:29 +0000 From: "Perschbacher, Brent M"
Subject: Re: [Trilinos-Users] does an "official" FindTrilinos.cmake
exist? (Trilinos-Users Digest, Vol 72, Issue 11) To:
"trilinos-users at software.sandia.gov [19]" Message-ID: Content-Type:
text/plain; charset="us-ascii" Riccardo, Trilinos does support the
find_package call in cmake. Instead of relying on a FindTrilinos.cmake
file though when you configure/build/install Trilinos there will be a
TrilinosConfig.cmake file created(and installed with Trilinos) that
find_package will use to determine whether it found Trilinos. As for
good, well I'd like to think it is, but I'm sure there is room for
improvement. There is some documentation for using find_package inside
of your project at: http://trilinos.sandia.gov/Finding_Trilinos.txt [22]
There is also an example of a project that uses find_package(Trilinos
...) in Trilinos/demos/buildAgainstTrilinos which is a good example of
how to use all the variables that will be defined. If you have any
questions or suggestions about using find_package for Trilinos please
let me know. Brent On 8/30/11 1:55 PM, "Mark Hoemmen" wrote: 
> 
>> On
Aug 30, 2011, at 12:00 PM, wrote: 
>> 
>>> Message: 1 Date: Mon, 29 Aug
2011 20:19:04 +0200 From: rrossi at cimne.upc.edu [4] Subject:
[Trilinos-Users] does an "official" FindTrilinos.cmake exist? To:
trilinos-users at software.sandia.gov [5] Message-ID: Content-Type:
text/plain; charset="utf-8" Dear list, i am migrating to cmake, and was
hoping to have find a good quality FindTrilinos.cmake. any link could be
very helpful (admittedly i have very limited knowledge of cmake) thanks
in advance Riccardo
>> I'm not quite sure what you mean by a "good
quality" FindTrilinos.cmake. I am using vanilla CMake 2.8.4 on my
machine, and the following line works fine in my applications that use
Trilinos: FIND_PACKAGE(Trilinos PATHS
${TRILINOS_PATH}/lib/cmake/Trilinos ${TRILINOS_PATH}) where I set
TRILINOS_PATH manually to the place I installed Trilinos. This sets a
whole bunch of variables, like Trilinos_FOUND, Trilinos_CXX_COMPILER,
etc. Is this helpful? mfh
_______________________________________________ Trilinos-Users mailing
list Trilinos-Users at software.sandia.gov [8]
http://software.sandia.gov/mailman/listinfo/trilinos-users [9]
>
------------------------------
_______________________________________________ Trilinos-Users mailing
list Trilinos-Users at software.sandia.gov [24]
http://software.sandia.gov/mailman/listinfo/trilinos-users [25] End of
Trilinos-Users Digest, Vol 72, Issue 12
**********************************************

  

Links:
------
[1]
mailto:rrossi at cimne.upc.edu
[2]
mailto:trilinos-users at software.sandia.gov
[3]
mailto:989fe89c21caa20110809b3b6686117d at cimne.upc.edu
[4]
mailto:rrossi at cimne.upc.edu
[5]
mailto:trilinos-users at software.sandia.gov
[6]
mailto:989fe89c21caa20110809b3b6686117d at cimne.upc.edu
[7]
mailto:trilinos-users-request at software.sandia.gov
[8]
mailto:Trilinos-Users at software.sandia.gov
[9]
http://software.sandia.gov/mailman/listinfo/trilinos-users
[10]
mailto:trilinos-users at software.sandia.gov
[11]
http://software.sandia.gov/mailman/listinfo/trilinos-users
[12]
mailto:trilinos-users-request at software.sandia.gov
[13]
mailto:trilinos-users-owner at software.sandia.gov
[14]
mailto:mhoemme at sandia.gov
[15]
mailto:trilinos-users at software.sandia.gov
[16]
mailto:F39162FA-75E9-428D-A75B-E970F10819DE at sandia.gov
[17]
mailto:trilinos-users-request at software.sandia.gov
[18]
mailto:bmpersc at sandia.gov
[19]
mailto:trilinos-users at software.sandia.gov
[20]
mailto:trilinos-users at software.sandia.gov
[21]
mailto:CA82A538.A576%bmpersc at sandia.gov
[22]
http://trilinos.sandia.gov/Finding_Trilinos.txt
[23]
mailto:mhoemme at sandia.gov
[24]
mailto:Trilinos-Users at software.sandia.gov
[25]
http://software.sandia.gov/mailman/listinfo/trilinos-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://software.sandia.gov/pipermail/trilinos-users/attachments/20110831/6394419a/attachment.html 


More information about the Trilinos-Users mailing list