[Trilinos-Users] [EXTERNAL] Trilinos Install on Centos 7

Bartlett, Roscoe A rabartl at sandia.gov
Wed Jun 7 21:01:14 EDT 2017


Install instructions are at:

  https://github.com/trilinos/Trilinos/blob/master/INSTALL.rst

(also in the Trilinos base dir too).

If you don't need Netcdf, then do what the error message is telling you to do (i.e. configure with -DTPL_ENABLE_Netcdf=OFF).  If you need Netcdf, then put in the info to find it as per:

    https://trilinos.org/docs/files/TrilinosBuildReference.html#enabling-support-for-an-optional-third-party-library-tpl

-Ross

From: Trilinos-Users [mailto:trilinos-users-bounces at trilinos.org] On Behalf Of Elliott, James John
Sent: Wednesday, June 07, 2017 3:34 PM
To: Justin Fisher <justin0419 at gmail.com>; trilinos-users at trilinos.org
Subject: Re: [Trilinos-Users] [EXTERNAL] Trilinos Install on Centos 7


Apologies, I meant to add:



You do not need Tribits.  Trilinos comes with Tribits inside the source.



The general flow for building Trilinos:



Write a script for configuring,

Create a directory anywhere you wish. (the Xyce example CMake script sets the install location to ARCHDIR)

Run your configure script to create makefiles

make -j (if your system is not very beefy, then use make -j2 or some number to limit the number of parallel compilations that take place.)

ctest (will run unit tests... most if not all *should* pass, if they were built)

make install (which will place the built libraries into ARCHDIR)



________________________________
From: Trilinos-Users <trilinos-users-bounces at trilinos.org<mailto:trilinos-users-bounces at trilinos.org>> on behalf of Justin Fisher <justin0419 at gmail.com<mailto:justin0419 at gmail.com>>
Sent: Wednesday, June 7, 2017 12:13 PM
To: trilinos-users at trilinos.org<mailto:trilinos-users at trilinos.org>
Subject: [EXTERNAL] [Trilinos-Users] Trilinos Install on Centos 7

Hi.

I wonder if anyone can help me? I'm having trouble trying to install Trilinos on Centos 7.

I made a directory inside the source dir called build. Inside that dir I put the enclosed conf.sh

When I run it I get:


TIP: One way to get past the configure failure for the
TPL 'Netcdf' is to simply disable it with:
  -DTPL_ENABLE_Netcdf=OFF
which will disable it and will recursively disable all of the
downstream packages that have required dependencies on it, including
the package 'SEACASExodus' which triggered its enable.
When you reconfigure, just grep the cmake stdout for 'Netcdf'
and then follow the disables that occur as a result to see what impact
this TPL disable has on the configuration of Trilinos.

CMake Error at cmake/tribits/core/package_arch/TribitsProcessEnabledTpl.cmake:127 (MESSAGE):
  ERROR: TPL_Netcdf_NOT_FOUND=TRUE, aborting!
Call Stack (most recent call first):
  cmake/tribits/core/package_arch/TribitsGlobalMacros.cmake:1556 (TRIBITS_PROCESS_ENABLED_TPL)
  cmake/tribits/core/package_arch/TribitsProjectImpl.cmake:209 (TRIBITS_PROCESS_ENABLED_TPLS)
  cmake/tribits/core/package_arch/TribitsProject.cmake:93 (TRIBITS_PROJECT_IMPL)
  CMakeLists.txt:90 (TRIBITS_PROJECT)


-- Configuring incomplete, errors occurred!
See also "/downloads_1/xyce/trilinos-12.6.3-Source/build/CMakeFiles/CMakeOutput.log".

Looking at this web page (is there a new one?) there is mention made of Tribits, but it's not really clear what this is and there's not much online about it that doesn't just circle back to this same page.

https://trilinos.org/oldsite/TrilinosBuildQuickRef.html

I did install TriBITS, but it seems to be a self contained program in that it works directly out of its build folder, so how would Trilinos know where to find it? I don't have any use for TriBITS anyway outside of wanting Trilinos for Xyce.

Any ideas?

--
Kind regards,

Justin Fisher.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://trilinos.org/pipermail/trilinos-users/attachments/20170608/7c30946a/attachment.html>


More information about the Trilinos-Users mailing list