TAUCS requires either ATLAS or LAPACK for dpotrf() Lapack routine

This commit is contained in:
Laurent Saboret 2007-04-25 14:13:51 +00:00
parent 8d3fe497b1
commit be318c6d5f
14 changed files with 134 additions and 21 deletions

9
.gitattributes vendored
View File

@ -711,9 +711,12 @@ Installation/config/support/S80-QT3MT -text
Installation/config/support/S81-QT3ST -text
Installation/config/support/S82-QT3MSMT -text
Installation/config/support/S83-QT3MSST -text
Installation/config/support/S91-TAUCSWIN -text
Installation/config/support/S92-TAUCS -text
Installation/config/support/S93-TAUCSFREEBSD -text
Installation/config/support/S91a-TAUCSWINLAPACK -text
Installation/config/support/S91b-TAUCSWINATLAS -text
Installation/config/support/S92a-TAUCSLAPACK -text
Installation/config/support/S92b-TAUCSATLAS -text
Installation/config/support/S93a-TAUCSFREEBSDLAPACK -text
Installation/config/support/S93b-TAUCSFREEBSDATLAS -text
Installation/config/support/S96-TAUCSDARWIN -text
Installation/config/support/S98-TAUCSIRIXCC32 -text
Installation/config/support/S99-TAUCSIRIXCC64 -text

View File

@ -4,7 +4,7 @@
# This configuration has been tested with g++ and icpc.
DESCRIPTION = ATLAS/Intel Fortan/Linux
PROVIDES = BLAS
PROVIDES = ATLAS BLAS
CXXFLAGS = -DCGAL_USE_F2C
LDFLAGS =
LIBS = lapack f77blas cblas atlas ifcore imf pthread

View File

@ -4,7 +4,7 @@
# This configuration has been tested with g++ and icpc.
DESCRIPTION = ATLAS for gcc
PROVIDES = BLAS
PROVIDES = ATLAS BLAS
CXXFLAGS = -DCGAL_USE_F2C
LDFLAGS =
LIBS = lapack f77blas cblas atlas g2c

View File

@ -3,7 +3,7 @@
# Note: this configuration has been tested with VisualC++ 7.1.
DESCRIPTION = ATLAS for MS Windows
PROVIDES = BLAS
PROVIDES = ATLAS BLAS
CXXFLAGS = -DCGAL_USE_F2C
LDFLAGS =
LIBS = liblapack libf77blas libcblas libatlas vcf2c

View File

@ -0,0 +1,18 @@
# TAUCS, a Library of Sparse Linear Solvers (http://www.tau.ac.il/~stoledo/taucs/)
# Note: TAUCS requires either ATLAS or LAPACK for dpotrf() Lapack routine.
# Note: this configuration has been tested with VisualC++ 7.1.
DESCRIPTION = MS Windows with LAPACK
PROVIDES = TAUCS
CXXFLAGS =
LDFLAGS =
LIBS = libtaucs libmetis
REQUIRES = BLAS LAPACK DOLLAR_WINDOWS_COMPILER
INCOMPATIBLE =
STDINCLDIRS =
INCLTHING =
STDLIBDIRS =
LIBTHING =
COMPILETESTFLAGS =
# EOF

View File

@ -1,12 +1,13 @@
# TAUCS, a Library of Sparse Linear Solvers (http://www.tau.ac.il/~stoledo/taucs/)
# Note: TAUCS requires either ATLAS or LAPACK for dpotrf() Lapack routine.
# Note: this configuration has been tested with VisualC++ 7.1.
DESCRIPTION = MS Windows
DESCRIPTION = MS Windows with ATLAS
PROVIDES = TAUCS
CXXFLAGS =
LDFLAGS =
LIBS = libtaucs libmetis
REQUIRES = BLAS DOLLAR_WINDOWS_COMPILER
REQUIRES = BLAS ATLAS DOLLAR_WINDOWS_COMPILER
INCOMPATIBLE =
STDINCLDIRS =
INCLTHING =

View File

@ -0,0 +1,18 @@
# TAUCS, a Library of Sparse Linear Solvers (http://www.tau.ac.il/~stoledo/taucs/)
# Note: TAUCS requires either ATLAS or LAPACK for dpotrf() Lapack routine.
# This configuration has been tested with g++, Sun CC and icpc.
DESCRIPTION = Unix with LAPACK
PROVIDES = TAUCS
CXXFLAGS =
LDFLAGS =
LIBS = taucs metis
REQUIRES = BLAS LAPACK
INCOMPATIBLE = DOLLAR_WINDOWS_COMPILER
STDINCLDIRS =
INCLTHING =
STDLIBDIRS =
LIBTHING =
COMPILETESTFLAGS =
# EOF

View File

@ -1,16 +1,18 @@
# TAUCS, a Library of Sparse Linear Solvers (http://www.tau.ac.il/~stoledo/taucs/)
# Note: TAUCS requires either ATLAS or LAPACK for dpotrf() Lapack routine.
# This configuration has been tested with g++, Sun CC and icpc.
DESCRIPTION = Unix
DESCRIPTION = Unix with ATLAS
PROVIDES = TAUCS
CXXFLAGS =
LDFLAGS =
LIBS = taucs metis
REQUIRES = BLAS
REQUIRES = BLAS ATLAS
INCOMPATIBLE = DOLLAR_WINDOWS_COMPILER
STDINCLDIRS =
INCLTHING =
STDLIBDIRS =
LIBTHING =
COMPILETESTFLAGS =
COMPILETESTFLAGS =
# EOF

View File

@ -0,0 +1,19 @@
# TAUCS, a Library of Sparse Linear Solvers (http://www.tau.ac.il/~stoledo/taucs/)
# FreeBSD requires compat library for ftime().
# Note: TAUCS requires either ATLAS or LAPACK for dpotrf() Lapack routine.
# This configuration has *not* been tested.
DESCRIPTION = FreeBSD with LAPACK
PROVIDES = TAUCS
CXXFLAGS =
LDFLAGS =
LIBS = taucs metis compat
REQUIRES = BLAS LAPACK
INCOMPATIBLE = DOLLAR_WINDOWS_COMPILER
STDINCLDIRS =
INCLTHING =
STDLIBDIRS =
LIBTHING =
COMPILETESTFLAGS =
# EOF

View File

@ -1,12 +1,14 @@
# TAUCS, a Library of Sparse Linear Solvers (http://www.tau.ac.il/~stoledo/taucs/)
# FreeBSD requires compat library for ftime()
# FreeBSD requires compat library for ftime().
# Note: TAUCS requires either ATLAS or LAPACK for dpotrf() Lapack routine.
# This configuration has *not* been tested.
DESCRIPTION = FreeBSD
DESCRIPTION = FreeBSD with ATLAS
PROVIDES = TAUCS
CXXFLAGS =
LDFLAGS =
LIBS = taucs metis compat
REQUIRES = BLAS
REQUIRES = BLAS ATLAS
INCOMPATIBLE = DOLLAR_WINDOWS_COMPILER
STDINCLDIRS =
INCLTHING =

View File

@ -1,13 +1,15 @@
# TAUCS, a Library of Sparse Linear Solvers (http://www.tau.ac.il/~stoledo/taucs/)
# MacOSX requires crypto library for ftime()
# MacOSX requires crypto library for ftime().
# Note: TAUCS requires either ATLAS or LAPACK for dpotrf() Lapack routine.
# This configuration has *not* been tested.
DESCRIPTION = MacOSX
PROVIDES = TAUCS
CXXFLAGS =
LDFLAGS =
LIBS = taucs metis crypto
REQUIRES = BLAS DOLLAR_DARWIN_COMPILER
INCOMPATIBLE =
REQUIRES = BLAS LAPACK DOLLAR_DARWIN_COMPILER
INCOMPATIBLE =
STDINCLDIRS =
INCLTHING =
STDLIBDIRS =

View File

@ -1,4 +1,5 @@
# TAUCS, a Library of Sparse Linear Solvers (http://www.tau.ac.il/~stoledo/taucs/)
# Note: TAUCS requires either ATLAS or LAPACK for dpotrf() Lapack routine.
# This configuration has *not* been tested.
DESCRIPTION = TAUCS for IRIX 32 bits
@ -6,12 +7,12 @@ PROVIDES = TAUCS
CXXFLAGS =
LDFLAGS =
LIBS = taucs metis32
REQUIRES = BLAS
REQUIRES = BLAS LAPACK
INCOMPATIBLE = DOLLAR_WINDOWS_COMPILER
STDINCLDIRS =
INCLTHING =
STDLIBDIRS =
LIBTHING =
COMPILETESTFLAGS =
COMPILETESTFLAGS =
# EOF

View File

@ -1,4 +1,5 @@
# TAUCS, a Library of Sparse Linear Solvers (http://www.tau.ac.il/~stoledo/taucs/)
# Note: TAUCS requires either ATLAS or LAPACK for dpotrf() Lapack routine.
# This configuration has *not* been tested.
DESCRIPTION = TAUCS for IRIX 64 bits
@ -6,12 +7,12 @@ PROVIDES = TAUCS
CXXFLAGS =
LDFLAGS =
LIBS = taucs metis64
REQUIRES = BLAS
REQUIRES = BLAS LAPACK
INCOMPATIBLE = DOLLAR_WINDOWS_COMPILER
STDINCLDIRS =
INCLTHING =
STDLIBDIRS =
LIBTHING =
COMPILETESTFLAGS =
COMPILETESTFLAGS =
# EOF

View File

@ -0,0 +1,46 @@
// Copyright (c) 2007 INRIA Sophia-Antipolis (France).
// All rights reserved.
//
// This file is part of CGAL (www.cgal.org); you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public License as
// published by the Free Software Foundation; version 2.1 of the License.
// See the file LICENSE.LGPL distributed with CGAL.
//
// Licensees holding a valid commercial license may use this file in
// accordance with the commercial license agreement provided with the software.
//
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
//
// $URL$
// $Id$
//
// Author(s) : Laurent Saboret
// Test if the LAPACK subset in ATLAS is available
#include <iostream>
extern "C" {
// Fortran interface taken from ATLAS/interfaces/lapack/F77/src/dpotrf.f
extern void dpotrf_(char *uplo, int *n, double *a, int *lda, int *info);
}
int main()
{
// Call dpotrf_() Lapack routine (Cholesky factorization)
int sn_size = 0;
int lda = 1;
int info;
dpotrf_((char*)"LOWER",
&sn_size,
NULL,
&lda,
&info);
std::cout << "ok for ATLAS" << std::endl;
return 0;
}