#Script for building Zoltan only on a 64-bit Linux workstation
#with OpenMPI.
#This script builds only Zoltan from the Zoltan package directory.
#Assuming running script from 
#/Net/local/homes/kddevin/code/zoltan_v3.1/Obj_linux64.
set path=(/usr/local/bin $path)
setenv CFLAGS -m64
setenv CXXFLAGS -m64
setenv CPPFLAGS -m64
setenv FCFLAGS -m64

../configure -C \
  --prefix=/Net/local/homes/kddevin/code/zoltan_v3.1/Obj_linux64 \
  --with-parmetis \
  --with-parmetis-incdir="/Net/local/proj/zoltan/arch/all/src/ParMETIS3_1" \
  --with-parmetis-libdir="/Net/local/proj/zoltan/arch/linux64/lib/openmpi/ParMETIS3_1" \
  --with-scotch \
  --with-scotch-incdir="/Net/local/proj/zoltan/arch/all/src/Scotch5" \
  --with-scotch-libdir="/Net/local/proj/zoltan/arch/linux64/lib/openmpi/Scotch5" \
  --with-gnumake |& tee OUTPUT.C
make everything |& tee OUTPUT.M
make install |& tee OUTPUT.I
