# $Id: packages,v 1.63 2001/10/10 18:50:03 balay Exp $ 

#
#  This file contains site-specific information.  The definitions below
#  should be changed to match the locations of libraries at your site.
#  The following naming convention is used:
#     XXX_LIB - location of library XXX
#     XXX_INCLUDE - directory for include files needed for library XXX
#
# Location of BLAS and LAPACK.  See ${PETSC_DIR}/docs/intallation.html 
# for information on retrieving them.
#
#BLASLAPACK_LIB = -L/home/petsc/software/blaslapack/linux -lflapack -lfblas
# For static linking use:
#BLASLAPACK_LIB = -Wl,-Bstatic -L/home/petsc/software/mkl-52/lib/32 -lmkl_lapack -lmkl_def -lguide -lpthread
# For dynamic linking use:
#BLASLAPACK_LIB = ${CLINKER_SLFLAG}/home/petsc/software/mkl-52/lib/32 -L/home/petsc/software/mkl-52/lib/32 -lmkl_lapack -lmkl_def -lguide
BLASLAPACK_LIB = ${CLINKER_SLFLAG}/home/petsc/soft/linux-rh73/mkl-52/lib/32 -L/home/petsc/soft/linux-rh73/mkl-52/lib/32 -lmkl_lapack -lmkl_def -lguide -lpthread
#
# Location of MPI (Message Passing Interface) software
#
MPI_HOME       = /home/petsc/soft/linux-rh73/mpich-1.2.4
MPI_LIB        = ${CLINKER_SLFLAG}${MPI_HOME}/lib/shared -L${MPI_HOME}/lib/shared -lmpich -lpmpich  ${MPI_HOME}/lib/libfmpich.a

MPI_INCLUDE    = -I${MPI_HOME}/include
MPIRUN         =  ${MPI_HOME}/bin/mpirun
#
# ----------------------------------------------------------------------------------------  
#  Locations of OPTIONAL packages. Comment out those you do not have.
# ----------------------------------------------------------------------------------------  
#
# Location of X-windows software
#
X11_INCLUDE    =
X11_LIB        = -L/usr/X11R6/lib -lX11
PETSC_HAVE_X11 = -DPETSC_HAVE_X11
#
# Location of MPE
# If using MPICH version 1.1.2 or higher use the flag -DPETSC_HAVE_MPE_INITIALIZED_LOGGING
#
#MPE_INCLUDE   = -I/home/petsc/mpich-1.1.1/mpe
#MPE_LIB       = -L/home/petsc/mpich-1.1.1/lib/LINUX/ch_p4 -lmpe -lpmpich
#MPE_INCLUDE   =
#MPE_LIB       = -L${MPI_HOME}/lib/shared -lmpe
#PETSC_HAVE_MPE = -DPETSC_HAVE_MPE
#
# Location of BlockSolve (MPI version)
#
#BLOCKSOLVE_INCLUDE     = -I/home/petsc/software/BlockSolve95/include
#BLOCKSOLVE_LIB         =  -L/home/petsc/software/BlockSolve95/lib/libO/${PETSC_ARCH} -lBS95
#PETSC_HAVE_BLOCKSOLVE = -DPETSC_HAVE_BLOCKSOLVE
#
# Location where adiC is installed
#
#ADIC_DEFINES    = 
#ADIC_CC         = adiC -a -d gradient
#PETSC_HAVE_ADIC = -DPETSC_HAVE_ADIC
#
# Location of PVODE; Alan Hindmarsh's parallel ODE solver
# 
#PVODE_INCLUDE = -I/home/petsc/software/MPI_PVODE/include
#PVODE_LIB     = /home/petsc/software/MPI_PVODE/lib/linux/libpvode.a
#PETSC_HAVE_PVODE = -DPETSC_HAVE_PVODE
#
# Location of ParMetis
#
#PARMETIS_INCLUDE    = -I/home/petsc/soft/linux-rh73/ParMetis-3.0
#PARMETIS_LIB        = -L/home/petsc/soft/linux-rh73/ParMetis-3.0 -lparmetis -lmetis
#PETSC_HAVE_PARMETIS = -DPETSC_HAVE_PARMETIS
#
#
# Location of the LUSOL sparse LU factorization code (part of MINOS)
# developed by Michael Saunders, saunders@stanford.edu at the
# Systems Optimization Laboratory, Stanford University.
#  http://www.sbsi-sol-optimize.com/
# Uses the two files mi25bfac.f and mi15blas.f (or LUSOL.f LUSOL_BLAS.f
# depending on how they are named)
#
#PETSC_HAVE_LUSOL     = -DPETSC_HAVE_LUSOL
#LUSOL_LIB
#
# SuperLU-DIST
#
#SUPERLU_DIST_INCLUDE    = -I/home/petsc/soft/linux-rh73/SuperLU_DIST_2.0/SRC                     
#SUPERLU_DIST_LIB        = /home/petsc/soft/linux-rh73/SuperLU_DIST_2.0/superlu_linux.a
#PETSC_HAVE_SUPERLU_DIST = -DPETSC_HAVE_SUPERLU_DIST
#
# SuperLU
#
#SUPERLU_INCLUDE         = -I/home/petsc/soft/linux-rh73/SuperLU_3.0/SRC 
#SUPERLU_LIB             = /home/petsc/soft/linux-rh73/SuperLU_3.0/superlu_linux_g.a
#PETSC_HAVE_SUPERLU      = -DPETSC_HAVE_SUPERLU 
#
# SPOOLES, SPOOLES_MPI
#
#SPOOLES_INCLUDE       = -I/home/petsc/soft/linux-rh73/spooles-2.2
#SPOOLES_LIB           = /home/petsc/soft/linux-rh73/spooles-2.2/MPI/src/spoolesMPI.a /home/petsc/soft/linux-rh73/spooles-2.2/spooles.a 
#PETSC_HAVE_SPOOLES    = -DPETSC_HAVE_SPOOLES
#
# DSCPACK
#
#DSCPACK_INCLUDE    = -I/home/petsc/soft/linux-rh73/DSCPACK1.0/DSC_LIB
#DSCPACK_LIB        = /home/petsc/soft/linux-rh73/DSCPACK1.0/DSC_LIB/dsclibdbl.a
#PETSC_HAVE_DSCPACK = -DPETSC_HAVE_DSCPACK
#
# UMFPACK
#
#UMFPACK_INCLUDE    = -I/home/petsc/soft/linux-rh73/umfpack
#UMFPACK_LIB        = /home/petsc/soft/linux-rh73/umfpack/umfpack.a
#PETSC_HAVE_UMFPACK = -DPETSC_HAVE_UMFPACK
#
#  Location of Trilinos
#
#TRILINOS_INCLUDE    = -I/home/alice/software/Trilinos/src/petra_esi -I/home/alice/software/Trilinos/src/petra
#PETSC_HAVE_TRILINOS = -DPETSC_HAVE_TRILINOS
#TRILINOS_LIB        = -L/home/alice/software/Trilinos/lib/LINUX.MPI -lpetraesi -lpetra -lmachdep
#
#
#  Location of hypre
#
#HYPRE_INCLUDE    = -I/home/petsc/soft/linux-rh73/hypre-1.6.0/include
#HYPRE_LIB        = -L/home/petsc/soft/linux-rh73/hypre-1.6.0/lib  -lHYPRE_parcsr_ls -lHYPRE_DistributedMatrix -lHYPRE_parcsr_mv  -lHYPRE_FEI -lHYPRE_seq_mv -lHYPRE_IJ_mv -lkrylov -lHYPRE_DistributedMatrixPilutSolver -lHYPRE_utilities  -lHYPRE_MatrixMatrix -lHYPRE_ParaSails -lHYPRE_Euclid -lHYPRE_parcsr_ls -lHYPRE_DistributedMatrix -lHYPRE_parcsr_mv  -lHYPRE_FEI -lHYPRE_seq_mv -lHYPRE_IJ_mv -lkrylov -lHYPRE_DistributedMatrixPilutSolver -lHYPRE_utilities  -lHYPRE_MatrixMatrix -lHYPRE_ParaSails -lHYPRE_Euclid 

#PETSC_HAVE_HYPRE = -DPETSC_HAVE_HYPRE
#
# Parallel Net-CDF
#
#PNETCDF_INCLUDE    = -I/home/petsc/soft/linux-rh73/parallel-netcdf-0.8.6/include
#PNETCDF_LIB        = -L/home/petsc/soft/linux-rh73/parallel-netcdf-0.8.6/lib -lpnetcdf
#PETSC_HAVE_PNETCDF = -DPETSC_HAVE_NETCDF
#
# HDF
#
#HDF4_INCLUDE      = -I/home/petsc/soft/linux-rh73/HDF4.1r5/include
#HDF4_LIB          = -L/home/petsc/soft/linux-rh73/HDF4.1r5/lib -lmfhdf -ldf -lz -ljpeg
#PETSC_HAVE_HDF4   = -DPETSC_HAVE_HDF4

#
# ------------------------------------------------------------------------------
# If you are using shared version of any external libraries you must make this
# point to the directories where all your shared libraries are stored.
#
#C_DYLIBPATH     = ${CLINKER_SLFLAG}/home/petsc/software/BlockSolve95/lib/libO/linux
#F_DYLIBPATH     = ${FLINKER_SLFLAG}/home/petsc/software/BlockSolve95/lib/libO/linux
