# $Id: packages,v 1.23 2001/09/19 16:06:18 bsmith 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${PGI}/linux86/lib -llapack -lblas
#
# Location of MPI (Message Passing Interface) software
#
MPI_HOME       = /home/petsc/soft/linux-rh73-gcc-pgf90/mpich-1.2.5
MPI_LIB        = -L${MPI_HOME}/lib  -lmpich -lpmpich
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 JAVA
# 
#JAVAC            = /home/petsc/software/j2sdk1.4.0-linux/bin/javac
#JAVA             = /home/petsc/software/j2sdk1.4.0-linux/bin/java
JAR              = /home/petsc/software/j2sdk1.4.0-linux/bin/jar
#PETSC_HAVE_JAVA  = -DPETSC_HAVE_JAVA
#
# Matlab location
#
MATLAB_MEX              = /software/linux/com/packages/matlab-r12/bin/mex
MATLAB_CC               = gcc
MATLAB_COMMAND     = matlab
#PETSC_HAVE_MATLAB =  -DPETSC_HAVE_MATLAB
#
#  The Matlab include file have some bugs in them with C++,  they have a 
# #include <stdlib.h> INSIDE an extern "C" {} :-(. You can fix this by moving the 
# the #include <stdio.h> and #include "matrix.h" outside the extern "C" {} in engine.h
# and moving the #include <stddef.h> and #include <stdlib.h> outside the extern "C" {}
# in matrix.h (sigh)
#
#MATLAB_INCLUDE    = -I/software/linux-2/com/packages/matlab-r13.1/extern/include -DV5_COMPAT
#MATLAB_LIB        = ${CLINKER_SLFLAG}/software/linux-2/com/packages/matlab-r13.1/extern/lib/glnx86:/software/linux-2/com/packages/matlab-r13.1/sys/os/glnx86 -L/software/linux-2/com/packages/matlab-r13.1/extern/lib/glnx86 -L/software/linux-2/com/packages/matlab-r13.1/sys/os/glnx86  -leng -lmx -lmat -lut
#
# Location where adiC is installed
#
#ADIC_DEFINES    = 
#ADIC_CC         = adiC -a -d gradient
#PETSC_HAVE_ADIC = -DPETSC_HAVE_ADIC
#
# Location where adifor is installed
#
#ADIFOR_LIB        = /home/derivs/ADIFOR2.0E.lib/lib/libADIntrinsics-Linux86.a
#ADIFOR_FC         = /home/derivs/ADIFOR2.0E/bin/Adifor2.1 AD_PMAX=36 AD_IVARS=X AD_DVARS=F AD_PROG=silly.cmp AD_OUTPUT_DIR=. AD_EXCLUDE_PROCS=PETSCLOGFLOPS
#PETSC_HAVE_ADIFOR = -DPETSC_HAVE_ADIFOR
#
# Location of PVODE; Alan Hindmarsh's parallel ODE solver
# 
#PVODE_INCLUDE = -I/home/petsc/software/sundials/include
#PVODE_LIB     = -L/home/petsc/software/sundials/lib -lcvode.Linux.i686 -lnvecparallel.Linux.i686 -lshared.Linux.i686
#PETSC_HAVE_PVODE = -DPETSC_HAVE_PVODE
#
# 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).
#
#LUSOL_LIB        = /home/petsc/software/lusol/liblusol_linux_pgf90.a
#PETSC_HAVE_LUSOL = -DPETSC_HAVE_LUSOL
#
# Location of the AMG library
#
#RAMG_LIB        = /home/petsc/software/ramg/libramg_linux_pgf90.a
#PETSC_HAVE_RAMG = -DPETSC_HAVE_RAMG
#
#  Location of SPAI;
#
#SPAI_INCLUDE    = -I/home/petsc/software/spai_3.0/lib
#SPAI_LIB        = /home/petsc/software/spai_3.0/lib/${PETSC_ARCH}/libspai.a
#PETSC_HAVE_SPAI = -DPETSC_HAVE_SPAI
#
# BlockSolve
#
#BLOCKSOLVE_INCLUDE    = -I/home/petsc/software/BlockSolve95/include
#BLOCKSOLVE_LIB        = -L/home/petsc/software/BlockSolve95/lib/libO/linux -lBS95
#PETSC_HAVE_BLOCKSOLVE = -DPETSC_HAVE_BLOCKSOLVE
#
