[Trilinos-Users] CMake installation

Nunion m.skates82 at gmail.com
Wed Nov 17 13:36:18 MST 2010


Hello all,

Thanks you for the response.  Will this suffice?  I have also attached the
original file.

cmake \
-D Trilinos_ENABLE_STRONG_C_COMPILE_WARNINGS:BOOL=OFF \
-D CMAKE_INSTALL_PREFIX:PATH="${PWD}" \
-D CMAKE_BUILD_TYPE:STRING=DEBUG \
-D TPL_ENABLE_MPI:BOOL=OFF \
-D Trilinos_ENABLE_ALL_OPTIONAL_PACKAGES:BOOL=ON \
-D Trilinos_ENABLE_Amesos:BOOL=ON \
-D Trilinos_ENABLE_Anasazi:BOOL=ON \
-D Trilinos_ENABLE_AztecOO:BOOL=ON \
-D Trilinos_ENABLE_Belos:BOOL=ON \
-D Trilinos_ENABLE_CTrilinos:BOOL=ON \
-D Trilinos_ENABLE_Didasko:BOOL=ON \
-D Trilinos_ENABLE_Epetra:BOOL=ON \
-D Trilinos_ENABLE_EpetraExt:BOOL=ON \
-D Trilinos_ENABLE_Galeri:BOOL=ON \
-D Trilinos_ENABLE_Intrepid:BOOL=ON \
-D Trilinos_ENABLE_Ifpack:BOOL=ON \
-D Trilinos_ENABLE_Isorropia:BOOL=ON \
-D Trilinos_ENABLE_Komplex:BOOL=ON \
-D Trilinos_ENABLE_Meros:BOOL=ON \
-D Trilinos_ENABLE_Mesquite:BOOL=ON \
-D Trilinos_ENABLE_Moertel:BOOL=ON \
-D Trilinos_ENABLE_Moocho:BOOL=ON \
-D Trilinos_ENABLE_Nox:BOOL=ON \
-D Trilinos_ENABLE_ML:BOOL=ON \
-D Trilinos_ENABLE_Stokhos:BOOL=ON \
-D Trilinos_ENABLE_Teuchos:BOOL=ON \
-D Trilinos_ENABLE_Tpetra:BOOL=ON \
-D Trilinos_ENABLE_TrilinosCouplings:BOOL=ON \
-D Trilinos_ENABLE_Triutils:BOOL=ON \
-D Trilinos_ENABLE_Zoltan:BOOL=ON \
-D EpetraExt_USING_PETSC:BOOL=ON \
-D Trilinos_ENABLE_TESTS:BOOL=ON \
-D TPL_ENABLE_PETSC:BOOL=ON \
-D PETSC_LIBRARY_DIRS:FILEPATH=${PETSC_LIB_PATH} \
-D PETSC_INCLUDE_DIRS:FILEPATH=${PETSC_INCLUDE_PATH} \
-D TPL_PETSC_LIBRARIES:STRING="${PETSC_LIB}" \
-D TPL_PETSC_INCLUDE_DIRS:STRING="${PETSC_INCLUDE_PATH}" \
-D TrilinosCouplings_ENABLE_TESTS:BOOL=ON \
-D TrilinosCouplings_ENABLE_EXAMPLES:BOOL=ON \
-D Trilinos_ENABLE_TESTS:BOOL=ON \
-D ML_ENABLE_TESTS:BOOL=ON \
-D ML_ENABLE_EXAMPLES:BOOL=ON \
-D DART_TESTING_TIMEOUT:STRING=600 \
  ${TRILINOS_HOME}


On Wed, Nov 17, 2010 at 12:24 PM, David Cole <david.cole at kitware.com> wrote:

> Please send your do-configure script. Sounds like a typo, or trailing
> white space after a line continuation character ("\") to me.
>
>
> On Wed, Nov 17, 2010 at 12:23 PM, Nunion <m.skates82 at gmail.com> wrote:
> > Hello all,
> >
> > This has been a very helpful thread for installing CMake :-)  However, I
> > still seem to get the message,
> >
> > CMake Error: The source directory
> >
> "/home/walker/Desktop/trilinos/trilinos-10.4.1-Source/TrilinosBuild/DART_TESTING_TIMEOUT:STRING=600"
> > does not exist."
> >
> > I have done chmod and deleted some spaces on each line, is there another
> way
> > to get this do-configure script running, if I simply remove this line,
> then
> > the error picks up again at what ever the last line of code is and
> displays
> > "-trilinos (test or setting)" does not exist
> >
> > Thanks!
> >
> > Mark
> >
> > On Tue, Nov 16, 2010 at 3:38 PM, Amir Vahid <av19 at zips.uakron.edu>
> wrote:
> >>
> >> It seems that we don't have them on our system. Do you know the best way
> >> to
> >> get these libraries and install them. I am also in the process of
> >> contacting
> >> ohio supercomputer center. They will inform us soon. However, in the
> >> meanwhile, I wonder if you could tell me the fastest way to get them
> >> installed. Thanks!
> >>
> >> Amir Vahid
> >> Chem Eng Dept
> >> The University of Akron
> >> Akron OH 44325-3906
> >>
> >>
> >> -----Original Message-----
> >> From: Tommy Binford [mailto:tbinford at gmail.com]
> >> Sent: Tuesday, November 16, 2010 4:03 PM
> >> To: Amir Vahid
> >> Cc: trilinos-users at software.sandia.gov; Thornquist, Heidi K
> >> Subject: Re: [Trilinos-Users] CMake installation
> >>
> >> You need to tell Trilinos where your BLAS library is.  The next error
> you
> >> will likely see is a complaint about missing LAPACK.
> >>
> >> Add lines like this to your do-configure script before the EXTRA_ARGS
> >> line.
> >> Change the path below to point to the location of libblas.a and
> >> liblapack.a
> >> on your computer):
> >>
> >> -D TPL_BLAS_LIBRARIES:STRING="-L/path/to/blas/lib -lblas" \ -D
> >> TPL_LAPACK_LIBRARIES:STRING="-L/path/to/lapack/lib -llapack" \
> >>
> >> That should be all you need to successfully configure.
> >>
> >> Best,
> >> Tommy
> >>
> >> On Tue, Nov 16, 2010 at 2:50 PM, Amir Vahid <av19 at zips.uakron.edu>
> wrote:
> >> > Thanks Tommy,
> >> > now, it is working ~ok but it generates the following error:
> >> >
> >> > Getting information for all enabled TPLs ...
> >> >
> >> > -- Processing enabled TPL: BLAS
> >> > --   Searching for library 'blas' ...
> >> > --   Searching for library 'blas_win32' ...
> >> > -- Warning: Could not find a library in the set "blas blas_win32" for
> >> > the TPL BLAS!  Please manually set BLAS_LIBRARY_DIRS and/or
> >> > BLAS_LIBRARY_NAMES or just TPL_BLAS_LIBRARIES to point to the BLAS
> >> libraries!
> >> > CMake Error at cmake/package_arch/TPLDeclareLibraries.cmake:196
> >> > (MESSAGE):
> >> >  Error, could not find the BLAS Library! Please manually set
> >> >  BLAS_LIBRARY_DIRS and/or BLAS_LIBRARY_NAMES or just
> >> > TPL_BLAS_LIBRARIES to
> >> >  point to the BLAS libraries!
> >> > Call Stack (most recent call first):
> >> >  cmake/TPLs/FindTPLBLAS.cmake:3 (TPL_DECLARE_LIBRARIES)
> >> >  cmake/package_arch/PackageArchGlobalMacros.cmake:693 (INCLUDE)
> >> >  CMakeLists.txt:179 (PACKAGE_ARCH_PROCESS_ENABLED_TPLS)
> >>
> >>
> >>
> >> _______________________________________________
> >> Trilinos-Users mailing list
> >> Trilinos-Users at software.sandia.gov
> >> http://software.sandia.gov/mailman/listinfo/trilinos-users
> >>
> >
> >
> > _______________________________________________
> > Trilinos-Users mailing list
> > Trilinos-Users at software.sandia.gov
> > http://software.sandia.gov/mailman/listinfo/trilinos-users
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://software.sandia.gov/pipermail/trilinos-users/attachments/20101117/10a0e2b7/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: do-configure
Type: application/octet-stream
Size: 1697 bytes
Desc: not available
Url : https://software.sandia.gov/pipermail/trilinos-users/attachments/20101117/10a0e2b7/attachment.obj 


More information about the Trilinos-Users mailing list