Commit 42fe8119 authored by gsell's avatar gsell
Browse files

cleanup

parent 5e031fda
OPAL (Object Oriented Parallel Accelerator Library)
V 1.1.2 17.9.2008
A fusion of MAD9, CLASSIC (V3.3.1 -> 5.0) MAD9p with the help of IPPL V 1.0 .
Effort started 5/12/2006 by Andreas Adelmann (PSI)
Goto http://amas.web.psi.ch for more information and the documentation.
N E W S
=======
New in 1.1.2:
- much faster now
- Bend
- Gun, SW TW structures fully benchmarked against IMPACT-T
- Cyclotron model ready for: Ring and Injector 2 with neighbouring bunches
- Experimental (only for geeks):
=> iterative solver (needs special configure options)
=> wake fields
=> envelope mode (SW,Solenoids) ok w.r.t. BET
- Many more regression tests
Plans for 1.1.3
- CSR
- Transision from experimental to production
New in 1.1.5
------------
Sort range wake fields and SBend with field gradient.
Thermal emittance most probable close to the ASTRA model.
Iteative solver with simple geometry (not ready for XT3/4 at CSCS due to some
library installation problem).
I N S T A L L A T I O N
=======================
Please check out chapter 2 in the manual for details.
On very often used systems the configure commands are given below
however you have to make sure the individual location of include and
libraries are set right.
FELSIM (PSI)
------------
OPAL/src
./configure --with-blas=mkl --with-lapack=mkl --enable-ml-solver \
--with-classic-includedir=$HOME/svnwork/OPAL/classic/5.0/src --with-classic-libdir=$HOME/svnwork/OPAL/classic/5.0/src \
--with-doom-includedir=$HOME/svnwork/OPAL/doom/ --with-doom-libdir=$HOME/svnwork/OPAL/doom/ \
--with-ippl-includedir=/home2/ineichen/felsim/ippl/src --with-ippl-libdir=/home2/ineichen/felsim/ippl/lib/LINUX \
--with-h5part-includedir=$HOME/svnwork/H5Part/src --with-h5part-libdir=$HOME/svnwork/H5Part/src \
--with-hdf5-includedir=$HDF5HOME/include --with-hdf5-libdir=$HDF5HOME/lib \
--with-trilinos-includedir=/opt/trilinos/trilinos-8.0.7/include --with-trilinos-libdir=/opt/trilinos/trilinos-8.0.7/lib \
--with-libdir="-L/opt/parmetis/parmetis-3.1 -L/opt/intel-mkl/mkl-10.0/lib/em64t -L/opt/intel/intel-10.0/fce-10.0/lib" \
--with-libs="-lz -lm -lfftw3 /home2/ineichen/felsim_build/SuperLU_DIST_2.2/lib/libsuperlu_dist_2.0.a -lifcore -lparmetis -lmetis" \
CXX=mpicxx --no-create --no-recursion
OPAL/classic/5.0/src
./configure --with-ippl-includedir=/home2/ineichen/felsim/ippl/src \
--with-h5part-includedir=/home2/adelmann/svnwork/H5Part/src \
--with-h5part-libdir=/home2/adelmann/svnwork/H5Part/src \
--with-hdf5-includedir=/opt/hdf5/hdf5-1.6.7/include \
--with-hdf5-ibdir=/opt/hdf5/hdf5-1.6.7/lib \
CXX=mpicxx --no-create --no-recursion
OPAL/doom
./configure CC=mpicc --no-create --no-recursion
HORIZON (XT3 @ CSCS)
Andreas Adelmann
AUTOMAKE_OPTIONS = foreign dist-bzip2
EXTRA_DIST = saved_svn_version.txt
bin_PROGRAMS = opal
opal_SOURCES = AbstractObjects/Action.cpp\
AbstractObjects/Attribute.cpp\
AbstractObjects/AttributeBase.cpp\
AbstractObjects/AttributeHandler.cpp\
AbstractObjects/BeamSequence.cpp\
AbstractObjects/Definition.cpp\
AbstractObjects/Directory.cpp\
AbstractObjects/Editor.cpp\
AbstractObjects/Element.cpp\
AbstractObjects/Invalidator.cpp\
AbstractObjects/OpalData.cpp\
AbstractObjects/Object.cpp\
AbstractObjects/ObjectFunction.cpp\
AbstractObjects/PlaceRep.cpp\
AbstractObjects/RangeRep.cpp\
AbstractObjects/Table.cpp\
AbstractObjects/TableRowRep.cpp\
AbstractObjects/ValueDefinition.cpp\
Algebra/QRSolver.cpp\
Algorithms/BeamBeam3D.cpp\
Algorithms/LieMapper.cpp\
Algorithms/MPSplitIntegrator.cpp\
Algorithms/ThickMapper.cpp\
Algorithms/ThickTracker.cpp\
Algorithms/ParallelTTracker.cpp\
Algorithms/ParallelCyclotronTracker.cpp\
Algorithms/ParallelSliceTracker.cpp\
Algorithms/TransportMapper.cpp\
Algorithms/bet/EnvelopeSlice.cpp\
Algorithms/bet/EnvelopeBunch.cpp\
Algorithms/bet/profile.cpp\
Algorithms/bet/math/sort.cpp\
Algorithms/bet/math/integrate.cpp\
Algorithms/bet/math/interpol.cpp\
Algorithms/bet/math/rk.cpp\
Algorithms/bet/math/functions.cpp\
Algorithms/bet/math/linfit.cpp\
Algorithms/bet/math/root.cpp\
Algorithms/bet/math/savgol.cpp\
Algorithms/bet/math/svdfit.cpp\
Algorithms/bet/BetError.cpp\
Aperture/Split.cpp\
Aperture/Aperture.cpp\
Attributes/Attributes.cpp\
Attributes/Bool.cpp\
Attributes/BoolArray.cpp\
Attributes/Place.cpp\
Attributes/Range.cpp\
Attributes/Real.cpp\
Attributes/RealArray.cpp\
Attributes/Reference.cpp\
Attributes/opalstr.cpp\
Attributes/StringArray.cpp\
Attributes/TableRow.cpp\
Attributes/TokenList.cpp\
Attributes/TokenListArray.cpp\
BasicActions/Call.cpp\
BasicActions/Dump.cpp\
BasicActions/Echo.cpp\
BasicActions/Help.cpp\
BasicActions/Option.cpp\
BasicActions/Save.cpp\
BasicActions/Select.cpp\
BasicActions/Show.cpp\
BasicActions/Stop.cpp\
BasicActions/Quit.cpp\
BasicActions/System.cpp\
BasicActions/Title.cpp\
BasicActions/Value.cpp\
BasicActions/What.cpp\
OpalConfigure/Configure.cpp\
Distribution/Distribution.cpp\
Distribution/ranlib.cc\
Distribution/halton1d_sequence.cpp\
Distribution/LaserProfile.cpp\
Editor/Edit.cpp\
Editor/EditCmd.cpp\
Editor/EditCycle.cpp\
Editor/EditEnd.cpp\
Editor/EditFlatten.cpp\
Editor/EditInstall.cpp\
Editor/EditMove.cpp\
Editor/EditParser.cpp\
Editor/EditReflect.cpp\
Editor/EditRemove.cpp\
Editor/EditReplace.cpp\
Editor/EditSelect.cpp\
Elements/AttCell.cpp\
Elements/OpalBeamBeam.cpp\
Elements/OpalBeamBeam3D.cpp\
Elements/OpalBend.cpp\
Elements/OpalCavity.cpp\
Elements/OpalTravelingWave.cpp\
Elements/OpalCCollimator.cpp\
Elements/OpalCyclotron.cpp\
Elements/OpalDrift.cpp\
Elements/OpalECollimator.cpp\
Elements/OpalElement.cpp\
Elements/OpalHKicker.cpp\
Elements/OpalHMonitor.cpp\
Elements/OpalInstrument.cpp\
Elements/OpalKicker.cpp\
Elements/OpalMarker.cpp\
Elements/OpalMonitor.cpp\
Elements/OpalMultipole.cpp\
Elements/OpalOctupole.cpp\
Elements/OpalPatch.cpp\
Elements/OpalProbe.cpp\
Elements/OpalPepperPot.cpp\
Elements/OpalQuadrupole.cpp\
Elements/OpalRBend.cpp\
Elements/OpalRCollimator.cpp\
Elements/OpalSBend.cpp\
Elements/OpalSeparator.cpp\
Elements/OpalSeptum.cpp\
Elements/OpalSextupole.cpp\
Elements/OpalSlit.cpp\
Elements/OpalSolenoid.cpp\
Elements/OpalSRot.cpp\
Elements/OpalVKicker.cpp\
Elements/OpalVMonitor.cpp\
Elements/OpalWire.cpp\
Elements/OpalYRot.cpp\
Elements/OpalBeamline.cpp\
Elements/OpalCyclotronValley.cpp\
Elements/OpalParallelPlate.cpp\
Elements/OpalStripper.cpp\
Errors/AlignBase.cpp\
Errors/AlignHandler.cpp\
Errors/AlignReader.cpp\
Errors/AlignRemover.cpp\
Errors/AlignWriter.cpp\
Errors/Error.cpp\
Errors/ErrorAlign.cpp\
Errors/ErrorCmd.cpp\
Errors/ErrorComp.cpp\
Errors/ErrorEnd.cpp\
Errors/ErrorField.cpp\
Errors/ErrorParser.cpp\
Errors/ErrorPrint.cpp\
Errors/ErrorSave.cpp\
Errors/ErrorSelect.cpp\
Errors/MPBase.cpp\
Errors/MPHandler.cpp\
Errors/MPReader.cpp\
Errors/MPRemover.cpp\
Errors/MPWriter.cpp\
Expressions/AColumn.cpp\
Expressions/ARow.cpp\
Expressions/ATable.cpp\
Expressions/Expressions.cpp\
Expressions/SCell.cpp\
Expressions/SFunction.cpp\
Expressions/SHash.cpp\
Lines/FlatWriter.cpp\
Lines/Line.cpp\
Lines/LineTemplate.cpp\
Lines/Replacer.cpp\
Lines/Sequence.cpp\
Lines/SequenceMember.cpp\
Lines/SequenceParser.cpp\
Lines/SequenceTemplate.cpp\
OpalParser/CompoundStatement.cpp\
OpalParser/IfStatement.cpp\
OpalParser/Macro.cpp\
OpalParser/MacroCmd.cpp\
OpalParser/MacroStream.cpp\
OpalParser/OpalParser.cpp\
OpalParser/WhileStatement.cpp\
Match/AbstractFun.cpp\
Match/AbstractVar.cpp\
Match/ConcreteFun.cpp\
Match/ConcreteVar.cpp\
Match/ConstraintCmd.cpp\
Match/LMDif.cpp\
Match/Match.cpp\
Match/MatchCmd.cpp\
Match/MatchEnd.cpp\
Match/MatchOption.cpp\
Match/MatchParser.cpp\
Match/Migrad.cpp\
Match/Simplex.cpp\
Match/VaryCmd.cpp\
PhysicsActions/Dynamic.cpp\
PhysicsActions/MakeSequence.cpp\
PhysicsActions/SetIntegrator.cpp\
PhysicsActions/Static.cpp\
Solvers/FFTPoissonSolver.cpp\
Solvers/FFTBoxPoissonSolver.cpp\
Solvers/MGPoissonSolver.cpp\
Solvers/RectangularDomain.cpp\
Solvers/EllipticDomain.cpp\
Solvers/TaperDomain.cpp\
Structure/Beam.cpp\
Structure/OpalWake.cpp\
Structure/SurfacePhysics.cpp\
Structure/PriEmissionPhysics.cpp\
Structure/BoundaryGeometry.cpp\
Structure/SecondaryEmissionPhysics.cpp\
Structure/FieldSolver.cpp\
Structure/DataSink.cpp\
Structure/LossDataSink.cpp\
Tables/AttList.cpp\
Tables/AttWriter.cpp\
Tables/CorrectionBase.cpp\
Tables/Eigen.cpp\
Tables/Envelope.cpp\
Tables/Insertion.cpp\
Tables/List.cpp\
Tables/MatrixCmd.cpp\
Tables/Micado.cpp\
Tables/Period.cpp\
Tables/RangeSelector.cpp\
Tables/Selector.cpp\
Tables/Survey.cpp\
Tables/TableTester.cpp\
Tables/ThreadAll.cpp\
Tables/ThreadBpm.cpp\
Tables/Twiss.cpp\
Tables/Twiss3.cpp\
Track/Track.cpp\
Track/TrackCmd.cpp\
Track/TrackEnd.cpp\
Track/TrackParser.cpp\
Track/TrackRun.cpp\
Track/TrackSave.cpp\
Track/TrackStart.cpp\
Utilities/OpalException.cpp\
Utilities/OpalFilter.cpp\
Utilities/NumToStr.cpp\
Utilities/RegularExpression.cpp\
Utilities/Round.cpp\
Utilities/Timer.cpp\
Utilities/TpsWerrf.cpp\
Utilities/Truncate.cpp\
Utilities/OpalSection.cpp\
Utilities/OpalField.cpp\
ValueDefinitions/BoolConstant.cpp\
ValueDefinitions/RealConstant.cpp\
ValueDefinitions/RealVariable.cpp\
ValueDefinitions/RealVector.cpp\
ValueDefinitions/StringConstant.cpp\
Main.cpp
Build Instructions for OPAL 1.1.7
---------------------------------
Replace the path with your one.
Linux felsim01 2.6.18-164.9.1.el5 #1 SMP Tue Dec 15 14:59:21 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
$ module load intel/intel-11.1_64
$ module load mpi/openmpi-1.2.6-intel-10.1
$ module load hdf5/hdf5-1.6.10-intel
$ module load superlu-dist/superlu_dist_2.0
$ module load trilinos/trilinos-10.2.0
Currently Loaded Modulefiles:
urrently Loaded Modulefiles:
1) sge/ge62 3) intel/intel-11.1_64 5) hdf5/hdf5-1.6.10-intel 7) trilinos/trilinos-10.2.0
2) defaultenvironment 4) mpi/openmpi-1.2.6-intel-10.1 6) superlu-dist/superlu_dist_2.0
Version 1.1.7
./configure\
--without-wake-test --without-envelope-solver\
--with-classic-includedir=/home2/adelmann/svnwork/OPAL/classic/5.0/src\
--with-classic-libdir=/home2/adelmann/svnwork/OPAL/classic/5.0/src\
--with-doom-includedir=/home2/adelmann/svnwork/OPAL/doom/\
--with-doom-libdir=/home2/adelmann/svnwork/OPAL/doom/\
--with-ippl-includedir=/home2/adelmann/svnwork/ippl/src\
--with-ippl-libdir=/home2/adelmann/svnwork/ippl/lib/LINUX\
--with-h5part-includedir=/home2/adelmann/svnwork/H5Part/src\
--with-h5part-libdir=/home2/adelmann/svnwork/H5Part/src\
--with-hdf5-includedir=/opt/hdf5/hdf5-1.6.7/include\
--with-hdf5-ibdir=/opt/hdf5/hdf5-1.6.7/lib
Version 1.1.7 with Iterative solver still experimental
./configure\
--without-wake-test --without-envelope-solver\
--with-classic-includedir=/home2/adelmann/svnwork/OPAL/classic/5.0/src\
--with-classic-libdir=/home2/adelmann/svnwork/OPAL/classic/5.0/src\
--with-doom-includedir=/home2/adelmann/svnwork/OPAL/doom/\
--with-doom-libdir=/home2/adelmann/svnwork/OPAL/doom\
--with-ippl-includedir=/home2/ineichen/felsim/ippl/src\
--with-ippl-libdir=/home2/ineichen/felsim/ippl/lib/LINUX\
--with-h5part-includedir=/home2/adelmann/svnwork/H5Part/src\
--with-h5part-libdir=/home2/adelmann/svnwork/H5Part/src\
--with-hdf5-includedir=/opt/hdf5/hdf5-1.6.7/include\
--with-hdf5-libdir=/opt/hdf5/hdf5-1.6.7/lib\
--with-ml-solver\
--with-trilinos-includedir=/opt/trilinos/trilinos-8.0.7/include\
--with-trilinos-libdir=/opt/trilinos/trilinos-8.0.7/lib
BUILDING CONFIGURE FILES FROM SOURCES
There are source files Makefile.am and configure.ac here that can be
used to build configure and Makefile.in. These require GNU
autoconf-2.52 and automake-1.5. autoconf versions prior to 2.50 will
almost certainly NOT work, and earlier versions of automake will also
most likely not work.
To generate the needed files, issue the following command:
autogen.sh
Andreas Adelmann
Villigen PSI Switzerland
11.6.2010
#!/bin/bash
#
mkdir -p config
aclocal --force
libtoolize --force --copy
automake --force --add-missing --copy
autoheader --force
autoconf --force
autoreconf
CXX=mpicxx ./configure --with-classic-includedir=$CLASSIC_ROOT/src --with-classic-libdir=$CLASSIC_ROOT/src \
--with-doom-includedir=$DOOM_ROOT --with-doom-libdir=$DOOM_ROOT \
--with-ippl-includedir=$IPPL_ROOT/src --with-ippl-libdir=$IPPL_ROOT/lib/$IPPL_ARCH \
--with-h5part-includedir=$H5Part/src --with-h5part-libdir=$H5Part/src \
--with-hdf5-includedir=/opt/hdf5/hdf5-1.6.10-openmpi-1.2.6-intel-11.1/include --with-hdf5-libdir=/opt/hdf5/hdf5-1.6.10-openmpi-1.2.6-intel-11.1/lib \
--with-gsl-includedir=/opt/gsl/gsl-1.12/include --with-gsl-libdir=/opt/gsl/gsl-1.12/lib \
--with-libdir="-L/opt/parmetis/parmetis-3.1 -L/opt/intel-mkl/mkl-10.0/lib/em64t" \
--with-libs="-lz -lm -lparmetis -lmetis -lirc" \
--with-blas=mkl --with-lapack=mkl \
--with-trilinos-includedir=/opt/trilinos/trilinos-10.2.0/include --with-trilinos-libdir=/opt/trilinos/trilinos-10.2.0/lib \
--disable-ml-solver
# --enable-ml-solver
#make -j 4
#!/bin/bash
#
mkdir -p config
aclocal --force
libtoolize --force --copy
automake --force --add-missing --copy
autoheader --force
autoconf --force
autoreconf
CXX=mpicxx ./configure \
--with-classic-includedir=$CLASSIC_ROOT/src --with-classic-libdir=$CLASSIC_ROOT/src \
--with-doom-includedir=$DOOM_ROOT --with-doom-libdir=$DOOM_ROOT \
--with-ippl-includedir=$IPPL_ROOT/src --with-ippl-libdir=$IPPL_ROOT/lib/$IPPL_ARCH \
--with-h5part-includedir=$H5Part/src --with-h5part-libdir=$H5Part/src \
--with-hdf5-includedir=$HDF5_INCLUDE_PATH --with-hdf5-libdir=$HDF5_LIBRARY_PATH \
--with-gsl-includedir=$GSL_PREFIX/include --with-gsl-libdir=$GSL_PREFIX/lib \
--with-libdir="-L/opt/parmetis/parmetis-3.1 -L/opt/intel-mkl/mkl-10.0/lib/em64t -L/opt/intel/intel-10.0/fce-10.0/lib" \
--with-libs="-lz -lm -lifcore -lzoltan -lparmetis -lmetis" \
--with-blas=mkl --with-lapack=mkl \
--with-trilinos-includedir=$TRILINOS_INCLUDE_PATH --with-trilinos-libdir=$TRILINOS_LIBRARY_PATH \
--enable-ml-solver
make -j 4
#!/bin/bash
#
mkdir -p config
aclocal --force
libtoolize --force --copy
automake --force --add-missing --copy
autoheader --force
autoconf --force
autoreconf
CXX=mpicxx ./configure --without-wake-test --without-envelope-solver \
--with-classic-includedir=$OPAL_ROOT/classic/5.0/src --with-classic-libdir=$OPAL_ROOT/classic/5.0/src \
--with-doom-includedir=$OPAL_ROOT/doom/ --with-doom-libdir=$OPAL_ROOT/doom/ \
--with-ippl-includedir=$IPPL_ROOT/src --with-ippl-libdir=$IPPL_ROOT/lib/$IPPL_ARCH \
--with-h5part-includedir=$H5Part/src --with-h5part-libdir=$H5Part/src \
--with-hdf5-includedir=$HDF5HOME/include --with-hdf5-libdir=$HDF5HOME/lib \
--with-gsl-includedir=$GSL_PREFIX/include --with-gsl-libdir=$GSL_PREFIX/lib \
--with-libs="-lz -lm"
make -j 10
AC_INIT([OPAL],[1.1.8],[opal@lists.psi.ch])
AC_PROG_CC([mpicc])
AC_PROG_CXX([mpicxx])
AC_CONFIG_AUX_DIR([config])
#disable f77 tests
m4_defun([_LT_AC_LANG_F77_CONFIG], [:])
# library creation
AC_PROG_LIBTOOL
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE
AC_CONFIG_HEADER([./config.h:./config.in])
AM_INIT_AUTOMAKE([opal],[1.1.9])
AC_LANG(C++)
AC_PROG_INSTALL
AC_PATH_PROG(svnversioncommand, svnversion)
if test "X$svnversioncommand" = "X" || test `$svnversioncommand -n '.'` = "exported"; then
AC_DEFINE_UNQUOTED(SVN_VERSION, ["`cat saved_svn_version.txt`"], [repository svn version])
else
AC_DEFINE_UNQUOTED(SVN_VERSION, ["`svnversion -n`"], [repository svn version])
`svnversion -n > saved_svn_version.txt`
fi
CFLAGS="${CFLAGS=}"
CPPFLAGS="${CPPFLAGS=}"
IPPLDEFS="-fpermissive -w -DIPPL_MPI\
-DPARALLEL_IO\
-DMPICH_SKIP_MPICXX\
-DIPPL_DEBUG\
-DIPPL_GCC\
-DIPPL_DONT_POOL\
-DIPPL_USE_XDIV_RNG\
-DIPPL_LINUX\
-DIPPL_NO_STRINGSTREAM\
-DPETE_BITWISE_COPY\
-DIPPL_HAS_TEMPLATED_COMPLEX\
-DIPPL_USE_STANDARD_HEADERS\
-DIPPL_USE_PARTIAL_SPECIALIZATION\
-DIPPL_STDSTL\
-DIPPL_LONGLONG\
-Drestrict=__restrict__ -DNOCTAssert"
# this macro is used to get the arguments supplied
# to the configure script (./configure --enable-debug)
# Check if we have enable debug support.
debug_default="no"
AC_MSG_CHECKING(whether to enable debugging)
AC_ARG_ENABLE(debug, [ --enable-debug=[no/yes] turn on debugging
[default=$debug_default]],, enable_debug=$debug_default)
# Yes, shell scripts can be used
if test "x$enable_debug" = "xyes"; then
CFLAGS="$CFLAGS -g -DDEBUG"
CPPFLAGS="$CPPFLAGS -g -DDEBUG"
AC_MSG_RESULT(yes)
else
CFLAGS="$CFLAGS -O3 "
CPPFLAGS="$CPPFLAGS -O3 "
AC_MSG_RESULT(no)
fi
AC_ARG_WITH(ippl-includedir,
AC_HELP_STRING(
[--with-ippl-includedir=dir],
[ippl include files in dir]
),
[
test X$withvalue != Xno && CPPFLAGS="$CPPFLAGS -I$withval -I$HDF5HOME/include ${IPPLDEFS}"
]
)
AC_ARG_WITH(ippl-libdir,
AC_HELP_STRING(
[--with-ippl-libdir=dir],
[ippl library libippl.a in dir]
),
[
test X$withvalue != Xno && LDFLAGS="$LDFLAGS -L/usr/lib64 -L$withval -L$HDF5HOME/lib"
HAVE_IPPL_=true
]
)
AC_ARG_WITH(classic,
AC_HELP_STRING(
[--with-classic=dir],
[classic files in dir]
),
[
if test X$withvalue != Xno; then
CPPFLAGS="$CPPFLAGS -I$withval"
LDFLAGS="$LDFLAGS -L$withval"
HAVE_CLASSIC_=true
fi
]
)
AC_ARG_WITH(classic-includedir,
AC_HELP_STRING(
[--with-classic-includedir=dir],
[classic include files in dir]
),
[
test X$withvalue != Xno && CPPFLAGS="$CPPFLAGS -I$withval"
]
)
AC_ARG_WITH(classic-libdir,
AC_HELP_STRING(
[--with-classic-libdir=dir],
[classic library libCLASSIC.a in dir]
),
[
test X$withvalue != Xno && LDFLAGS="$LDFLAGS -L$withval"
HAVE_CLASSIC_=true
]
)
AC_ARG_WITH(h5hut,
AC_HELP_STRING(
[--with-h5hut=dir],
[h5hut prefix]
),
[
test X$withvalue != Xno && CPPFLAGS="$CPPFLAGS -I$withval/include"
test X$withvalue != Xno && LDFLAGS="$LDFLAGS -L$withval/lib"
]
)
AC_ARG_WITH(h5hut-includedir,
AC_HELP_STRING(
[--with-h5hut-includedir=dir],
[h5hut include files in dir]
),
[
test X$withvalue != Xno && CPPFLAGS="$CPPFLAGS -I$withval"
]
)
AC_ARG_WITH(h5part-libdir,
AC_HELP_STRING(
[--with-h5hut-libdir=dir],
[h5hut library in dir]
),
[
test X$withvalue != Xno && LDFLAGS="$LDFLAGS -L$withval"
]
)
AC_ARG_WITH(gsl,
AC_HELP_STRING(
[--with-gsl=dir],
[gsl prefix]
),
[
test X$withvalue != Xno && CPPFLAGS="$CPPFLAGS -I$withval/include"
test X$withvalue != Xno && LDFLAGS="$LDFLAGS -L$withval/lib"
]
)
AC_ARG_WITH(gsl-includedir,
AC_HELP_STRING(
[--with-gsl-includedir=dir],
[gsl include files in dir]
),
[
test X$withvalue != Xno && CPPFLAGS="$CPPFLAGS -I$withval"
]
)
AC_ARG_WITH(gsl-libdir,
AC_HELP_STRING(
[--with-gsl-libdir=dir],
[gsl library libgsl.a in dir]