# $Id: base.site,v 1.4 2001/05/10 01:05:58 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/installation.html 
# for information on retrieving them.
#
# If you are lucky, you may have the DEC Alpha math library installed on 
# your machine. The library name is dxml, and it contains both BLAS and Lapack.
#
BLASLAPACK_LIB        = -L/usr/lang/lib64 -llapackvp -lblasvp
#
# Location of X-windows software: on most DEC alpha's these are installed in
# the default location and thus one need not edit the below. If they are not
# in the default location, you would put something like
#
# X11_INCLUDE    = -I/home/freeware1/include/X11
# X11_LIB        = -L/home/freeware1/lib/X11 -lX11
#
X11_INCLUDE    = 
X11_LIB        = 
#
# Location of MPI (Message Passing Interface) software
#
MPI_LIB        = -Wl,-P -L/usr/lang/mpi2/lib64 -lmpi -lmp
MPI_INCLUDE    = -I/usr/lang/mpi2/include64
MPIRUN         = mpirun
#
# The following lines can be used with MPIUNI
#
#MPI_LIB         = ${INSTALL_LIB_DIR}/libmpiuni.a
#MPI_INCLUDE     = -I${PETSC_DIR}/include/mpiuni
#MPIRUN          = ${PETSC_DIR}/bin/mpirun.uni
#
# If you are using the DEC implementation of MPI you can use the following
#
#MPI_LIB        = -lmpi
#MPI_INCLUDE    = 
#MPIRUN         =  dmpirun
#
# ---------------------------------------------------------------------------------------  
#  Locations of optional packages. Comment out those you do not have and change the 
#  values in PCONF below accordingly.
# ---------------------------------------------------------------------------------------  
#
# Optional location of MPE
# If using MPICH version 1.1.2 or higher use the flag -DHAVE_MPE_INITIALIZED_LOGGING
#
#MPE_INCLUDE   = -I/usr/local/mpi/include
#MPE_LIB       = -L/usr/local/mpi/lib/sun4/ch_p4 -lmpe -lpmpi
#
# Optional location of BlockSolve (MPI version)
#
#BLOCKSOLVE_INCLUDE = -I/usr/local/lib/petsc/BlockSolve95/include
#BLOCKSOLVE_LIB     = -L/usr/local/lib/petsc/BlockSolve95/lib/libO/${PETSC_ARCH} -lBS95
#
# Option location where adiC is installed
#
#ADIC_DEFINES    = 
#ADIC_CC         = adiC -a -d gradient
#PETSC_HAVE_ADIC = -DPETSC_HAVE_ADIC
#
# Optional location of PVODE; Alan Hindmarsh's parallel ODE solver
# 
#PVODE_INCLUDE = -I/home/bsmith/libraries/MPI_PVODE/include
#PVODE_LIB     = /home/bsmith/libraries/MPI_PVODE/lib/alpha/libpvode.a
#
# Optional location of ParMetis
#
#PARMETIS_INCLUDE = -I/home/bsmith/libraries/ParMetis.v1.0
#PARMETIS_LIB     = /home/bsmith/libraries/ParMetis.v1.0/libparmetis.a 
#
#
#
# ---------------------------------------------------------------------------------------
#
# PCONF - indicates which OPTIONAL external packages are available at your site
#
# If you have a package then make sure -DHAVE_packagename is indicated below and 
# the locations are appropriately indicated above. If you do not have the package then
# comment out the locations indicated for that package above.
#
#PCONF        = -Wp,-DHAVE_BLOCKSOLVE
#PCONF        = -DHAVE_BLOCKSOLVE  -DHAVE_MPE -DHAVE_PVODE
#EXTERNAL_LIB  = ${BS_LIB}  ${MPE_LIB} ${PVODE_LIB}
#
# ---------------------------------------------------------------------------------------
#
# 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.
#
#DYLIBPATH     = -B dynamic -lsocket
 DYLIBPATH     = -lsocket -lnsl
