[Trilinos-Users] [EXTERNAL] Trilinos error

Yasser Hussein yafayez at yahoo.com
Mon May 13 23:13:35 MDT 2013


Hello All,
Please let me know if anyone has a thought on this. I's appreciate it very much if someone could lend me a hand. I installed everything, so I can arrange an access to my PC online if that would make it easy for you. I look forward to the group feedback, Thanks a million.

Regards,Yasser

--- On Thu, 5/9/13, Yasser Hussein <yafayez at yahoo.com> wrote:

From: Yasser Hussein <yafayez at yahoo.com>
Subject: Re: [EXTERNAL] [Trilinos-Users] Trilinos error
To: "trilinos-users at software.sandia.gov" <trilinos-users at software.sandia.gov>, "Brent MPerschbacher" <bmpersc at sandia.gov>
Date: Thursday, May 9, 2013, 3:55 PM


Dear Brent,
Thanks very much for your feedback. I actually was able to configure/generate Trillion from base sub-directory with no errors.  The only issue is when I was trying to compile one of the examples using Cmake, which I got the below error. Is there any other way to compile the examples other than Cmake. i.e. how can I run one of the examples once Trilinos was correctly configured and built.  I look forward to your thoughts. Thanks in advance.
Sincerely, Yasser
CMake Error at C:/trilinos-11.2.2-Source/cmake/tribits/package_arch/AssertDefined.cmake:59 (MESSAGE):Error, the variable _ENABLE_Triutils is not
 defined!Call Stack (most recent call first):CMakeLists.txt:5 (ASSERT_DEFINED)CMake Error at C:/trilinos-11.2.2-Source/cmake/tribits/package_arch/AssertDefined.cmake:59 (MESSAGE):Error, the variable _ENABLE_EpetraExt is not defined!Call Stack (most recent call first):CMakeLists.txt:6 (ASSERT_DEFINED)CMake Error at C:/trilinos-11.2.2-Source/cmake/tribits/package_arch/AssertDefined.cmake:59 (MESSAGE):Error, the variable _ENABLE_Ifpack is not defined!Call Stack (most recent call first):CMakeLists.txt:7 (ASSERT_DEFINED)

--- On Thu, 5/9/13, Perschbacher, Brent M <bmpersc at sandia.gov> wrote:

From: Perschbacher, Brent M <bmpersc at sandia.gov>
Subject: Re: [EXTERNAL] [Trilinos-Users]
 Trilinos error
To: "Yasser Hussein" <yafayez at yahoo.com>, "trilinos-users at software.sandia.gov" <trilinos-users at software.sandia.gov>
Date: Thursday, May 9, 2013, 12:19 PM



 


Yasser,
  I believe the issue is that you were trying to configure from the example's directory. That isn't how our build system works, many of the necessary calls are skipped by doing that which is why you have so many missing variables. To be able to configure
 Trilinos you always have to point cmake to the top level Trilinos source directory as that is where we do all of the necessary setup for the configure. If you only want to configure a portion of Trilinos you can control that through the package enables like
 Trilinos_ENABLE_Belos.



If you are just wanting to build the Belos examples you can do the following:




Point the cmake configure to the Trilinos base directory (C:/trilinos-11.2.2-Source in your case)Enable only Epetra by setting Trilinos_ENABLE_Belos to ONEnable examples by setting Trilinos_ENABLE_EXAMPLES to ONConfigure (this will configure Epetra and all of its examples and their dependencies)Build the code (possibly just the example you are interested in)
Since you are running on windows I'm going to assume you are using the Visual Studio compilers, if that is wrong please let me know. If you want just that one examle, I'm not entirely sure how to build a single target in Visual Studio since I don't use
 it except in very rare cases. However, I would assume there is a way, you would want to look for a target named something like "Belos_BlockCG". If you can't find that a normal build will build the example you are looking for, but will take a bit longer to
 build since all of the Belos examples will be built.



I hope this helps,



Brent








From: Yasser Hussein <yafayez at yahoo.com>

Date: Wednesday, May 8, 2013 11:55 AM

To: "trilinos-users at software.sandia.gov" <trilinos-users at software.sandia.gov>

Subject: [EXTERNAL] [Trilinos-Users] Trilinos error














I was trying to Cmake the BlockCG algorithm within the GUI "the example is in the below directory: 



C:/trilinos-11.2.2-Source/packages/belos/example/epetra/example/BlockCG



However, I get the following error




CMake Error at C:/trilinos-11.2.2-Source/cmake/tribits/package_arch/AssertDefined.cmake:59 (MESSAGE):
Error, the variable _ENABLE_Triutils is not defined!
Call Stack (most recent call first):
CMakeLists.txt:5 (ASSERT_DEFINED)


CMake Error at C:/trilinos-11.2.2-Source/cmake/tribits/package_arch/AssertDefined.cmake:59 (MESSAGE):
Error, the variable _ENABLE_EpetraExt is not defined!
Call Stack (most recent call first):
CMakeLists.txt:6 (ASSERT_DEFINED)


CMake Error at C:/trilinos-11.2.2-Source/cmake/tribits/package_arch/AssertDefined.cmake:59 (MESSAGE):
Error, the variable _ENABLE_Ifpack is not defined!
Call Stack (most recent call first):
CMakeLists.txt:7 (ASSERT_DEFINED)






Any Advise, let me know...



Thanks,



Yasser













-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://software.sandia.gov/pipermail/trilinos-users/attachments/20130513/1b502c41/attachment.html 


More information about the Trilinos-Users mailing list