Gentoo Archives: gentoo-science

From: marco restelli <mrestelli@×××××.com>
To: Gentoo List <gentoo-science@l.g.o>
Subject: [gentoo-science] Problem in the configuration files for petsc-3.6.0
Date: Thu, 15 Oct 2015 14:51:20
Message-Id: CAHV2F1LmNQMKQEHgOQgitD31GP7n2gvPNV0QwHC5y1kBsfJg4g@mail.gmail.com
Dear all,
   installing petsc-3.6.0, the configuration file
/usr/include/petsc/conf/variables contains the path (last row)

include ${PETSC_DIR}/${PETSC_ARCH}/lib/petsc/conf/petscvariables

while the correct one should be

include ${PETSC_DIR}/${PETSC_ARCH}/conf/petscvariables

so that it points to the file

/usr/include/petsc/linux-gnu-cxx-opt/conf/petscvariables


I am using

# equery uses petsc
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for sci-mathematics/petsc-3.6.0:
 U I
 + + X               : Add support for X11
 - - afterimage      : Use Afterstep image library (media-libs/libafterimage)
 - - boost           : Use boost (dev-libs/boost)
 - - complex-scalars : Make scalars complex
 + + cxx             : Build support for C++ (bindings, extra
libraries, code generation, ...)
 + - debug           : Enable extra debug codepaths, like asserts and
extra output. If you want to get meaningful backtraces see
https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
 + + doc             : Add extra documentation (API, Javadoc, etc). It
is recommended to enable per package instead of globally
 - - fftw            : Use FFTW library for computing Fourier transforms
 + + fortran         : Add support for fortran
 + + hdf5            : Add support for the Hierarchical Data Format v5
 + + hypre           : Use HYPRE (sci-mathematics/hypre) and for preconditioning
 + + mpi             : Add MPI (Message Passing Interface) layer to
the apps that support it
 + + mumps           : PLEASE FIX MY DESCRIPTION
 + + scotch          : PLEASE FIX MY DESCRIPTION
 + + sparse          : Use suitesparse (sci-libs/suitesparse)
including cholmod (sci-libs/cholmod) for sparse factorization
 - - superlu         : Use superlu (sci-libs/superlu) for preconditioning
 + + threads         : Add threads support for various packages.
Usually pthreads


Marco