Download

BEARCLAW is distributed from a svn repository http://coanda.amath.unc.edu/svn/bearclaw. The Trac system is used to manage the project.

Installation

The following assumes that BEARCLAW is to be installed in your home directory, you have an svn client available on your system, and you are using a bash shell.

  cd ~
  svn co http://coanda.amath.unc.edu/svn/bearclaw

  export BEARCLAW=~\bearclaw

export LD_LIBRARY_PATH=$BEARCLAW/hdf/lib

* The support libraries differ on 32bit and 64bit systems.

cd $BEARCLAW/hdf
ln -s lib lib32
ln -s include include32

cd $BEARCLAW/hdf
ln -s lib lib64
ln -s include include64

##################################################################################
# Local installation options
# Set the following paths to reflect your installation. (1-3)
#
# 1. Location of HDF include, module, lib files
HDFINC=$(BEARCLAW)/hdf/include
HDFMOD=$(BEARCLAW)/hdf/lib
HDFLIBS = -L$(BEARCLAW)/hdf/lib -lhdf5_fortran -lhdf5 -lmfhdf -ldf -ljpeg -lz -lsz
#
# 2. Compiler/linker choices for serial/parallel compilation
#
COMPILER = ifort          # Intel Fortran Compiler
LINKER = ifort
MPICOMPILER = mpif90      
MPILINKER = mpif90
#
# 3. Compilation options (Default is normal debugging)
FFLAGS = -g
LFLAGS =
#    Extensive debugging with full run-time checks and profiling
#FFLAGS = -g -qp -zero
#LFLAGS = -qp
#    Extensive optimization
#FFLAGS = -O3 -tpp7 -mp1 -prec_div -pc80 -ip -unroll -w  
#LFLAGS = 

# End of installation options
#####################################################################################

  cd $BEARCLAW/examples/wavebear/2d/advection/example1
  make
  xbear

  dx -image -program advect.net

  cd $BEARCLAW/examples/wavebear/2d/advection/example1/out
  path(path,'~/bearclaw/matlab')
  plothdf2

BEARCLAW: Installing BEARCLAW (last edited 2008-09-25 01:53:30 by cpe-075-177-138-194)