# $Id: packages,v 1.6 2001/10/10 18:49:15 balay Exp $ 
#
# Location of BLAS and LAPACK.  See ${PETSC_DIR}/docs/intallation.html 
# for information on retrieving them.
#
SOFT_HOME=/soft/apps/packages/petsc-packages/linux-rh72-intel

BLASLAPACK_LIB = /soft/com/packages/intel-7/mkl/lib/32/libmkl_lapack.a \
  ${CLINKER_SLFLAG}/soft/com/packages/intel-7/mkl/lib/32 \
  -L/soft/com/packages/intel-7/mkl/lib/32 -lmkl -lguide -lpthread

#
# Location of MPI (Message Passing Interface) software
#
MPI_HOME       = /soft/apps/packages/mpich-gm-1.2.5..9-pre6-gm-1.6.3-intel-7.0
MPI_LIB        = -L${MPI_HOME}/lib  -lmpich -lgm
MPI_INCLUDE    = -I${MPI_HOME}/include
MPIRUN         =  ${MPI_HOME}/bin/mpirun -machinefile ${PETSC_DIR}/maint/hosts.local
#
# ----------------------------------------------------------------------------------------  
#  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 - which is part of MPICH
#
#MPE_INCLUDE   = 
#MPE_LIB       =  -lmpe
#PETSC_HAVE_MPE = -DPETSC_HAVE_MPE
#
# SPOOLES, SPOOLES_MPI
#
#SPOOLES_INCLUDE       = -I${SOFT_HOME}/spooles-2.2
#SPOOLES_LIB           = ${SOFT_HOME}/spooles-2.2/MPI/src/spoolesMPI.a ${SOFT_HOME}/spooles-2.2/spooles.a
#PETSC_HAVE_SPOOLES    = -DPETSC_HAVE_SPOOLES
#
#
#  Location of hypre
#
#HYPRE_INCLUDE    = -I/soft/apps/packages/petsc-packages/linux-rh72-intel/hypre-1.6.0/include
#HYPRE_LIB        = -L/soft/apps/packages/petsc-packages/linux-rh72-intel/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
#
# Location of SPAI;
#
#SPAI_INCLUDE    = -I/soft/apps/packages/petsc-packages/linux-rh72-intel/spai_3.0/lib
#SPAI_LIB        = -L/soft/apps/packages/petsc-packages/linux-rh72-intel/spai_3.0/lib -lspai
#PETSC_HAVE_SPAI = -DPETSC_HAVE_SPAI
#
# SuperLU
#
#SUPERLU_DIST_INCLUDE    = -I/soft/apps/packages/petsc-packages/linux-rh72-intel/SuperLU_DIST_2.0/SRC
#SUPERLU_DIST_LIB        = -L/soft/apps/packages/petsc-packages/linux-rh72-intel/SuperLU_DIST_2.0 -lsuperlu_linux-rh72-intel
#PETSC_HAVE_SUPERLU_DIST = -DPETSC_HAVE_SUPERLU_DIST

#
# MUMPS (requires SCALAPACK & BLACS)
# Note: BLACS has cross links between libraries - so hast to be listed twice.
#
#MUMPS_INCLUDE    = -I/soft/apps/packages/petsc-packages/linux-rh72-intel/MUMPS_4.2_beta/include
#MUMPS_LIB        = -L/soft/apps/packages/petsc-packages/linux-rh72-intel/MUMPS_4.2_beta/lib -ldmumps -lpord -L/soft/apps/packages/petsc-packages/linux-rh72-intel/SCALAPACK -lscalapack  -L/soft/apps/packages/petsc-packages/linux-rh72-intel/BLACS/LIB -lblacs_MPI-LINUX-0 -lblacsF77init_MPI-LINUX-0 -lblacs_MPI-LINUX-0 -lblacsF77init_MPI-LINUX-0
#PETSC_HAVE_MUMPS = -DPETSC_HAVE_MUMPS 

#
