Page MenuHomeHEPForge

No OneTemporary

Index: trunk/Makefile.am
===================================================================
--- trunk/Makefile.am (revision 5884)
+++ trunk/Makefile.am (revision 5885)
@@ -1,104 +1,104 @@
## Makefile.am -- Main Makefile for WHIZARD
##
## Process this file with automake to produce Makefile.in
#
# Copyright (C) 1999-2014 by
# Wolfgang Kilian <kilian@physik.uni-siegen.de>
# Thorsten Ohl <ohl@physik.uni-wuerzburg.de>
# Juergen Reuter <juergen.reuter@desy.de>
# with contributions from
# Christian Speckner <cnspeckn@googlemail.com>
#
# WHIZARD is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# WHIZARD is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
########################################################################
## Use the m4 directory for local Autoconf macros
ACLOCAL_AMFLAGS = -I m4
## Subdirectories to configure
-SUBDIRS = circe1 circe2 omega src share tests \
- scripts libtool-config omega pythia vamp
+SUBDIRS = circe1 circe2 omega vamp pythia src share \
+ tests scripts libtool-config
if !OCAML_AVAILABLE
dist-hook:
rm -rf $(distdir)
mkdir $(distdir)
endif
## Install libtool
libtoolexeclibdir = $(pkglibdir)
nodist_libtoolexeclib_SCRIPTS = libtool
## Extra files in the distribution
dist_noinst_DATA = BUGS EXTENSIONS
## Use the same compiler and compiler flags for distcheck
DISTCHECK_CONFIGURE_FLAGS = F77=$(F77) F77FLAGS="$(F77FLAGS)" FC=$(FC) \
FCFLAGS="$(FCFLAGS)" LIBS="$(LIBS)" --enable-distribution
EXTRA_DISTCHECK_CONFIGURE_FLAGS = \
"--disable-noweb-force" \
"--disable-noweb-force --disable-ocaml" \
"--disable-noweb-force --disable-static" \
"--disable-shower" \
"--enable-shower --enable-mpi" \
"--enable-fc-quadruple --enable-fc-openmp"
extra-distcheck:
@echo "=================================================" >$@.log
@echo "make distcheck with additional configure options:" >>$@.log
for flag in $(EXTRA_DISTCHECK_CONFIGURE_FLAGS); do \
if $(MAKE) $(AM_MAKEFLAGS) \
DISTCHECK_CONFIGURE_FLAGS='$(DISTCHECK_CONFIGURE_FLAGS) '"$$flag" \
distcheck; then \
echo "PASS $$flag" >>$@.log; \
else \
echo "FAIL $$flag" >>$@.log; \
exit 1; \
fi; \
done
@echo "=================================================" >>$@.log
@cat $@.log
@rm -f $@.log
## This is generated by configure
DISTCLEANFILES = VERSION
## Generate O'Mega caches:
install-all-caches:
cd src/omega && $(MAKE) $(AM_MAKEFLAGS) install-all-caches
install-data-hook:
@echo ''
@echo '*******************************************************************'
@echo '* +-------------------------------------------------------------+ *'
@echo '* | CAUTION: | *'
@echo '* | | *'
@echo '* | If you have not already run "make check", then we strongly | *'
@echo '* | recommend you do so. | *'
@echo '* | | *'
@echo '* | WHIZARD has been carefully tested by its authors, but | *'
@echo '* | compilers are all too often released with serious bugs. | *'
@echo '* | WHIZARD tends to explore interesting corners in compilers | *'
@echo '* | and has hit bugs on quite a few occasions. | *'
@echo '* | | *'
@echo '* +-------------------------------------------------------------+ *'
@echo '*******************************************************************'
@echo ''
## Remove backup files
maintainer-clean-local:
-rm -f *~
Index: trunk/src/misc/system_dependencies.f90.in
===================================================================
--- trunk/src/misc/system_dependencies.f90.in (revision 5884)
+++ trunk/src/misc/system_dependencies.f90.in (revision 5885)
@@ -1,290 +1,290 @@
! WHIZARD <<Version>> <<Date>>
!
! Copyright (C) 1999-2014 by
! Wolfgang Kilian <kilian@physik.uni-siegen.de>
! Thorsten Ohl <ohl@physik.uni-wuerzburg.de>
! Juergen Reuter <juergen.reuter@desy.de>
! Christian Speckner <cnspeckn@googlemail.com>
! with contributions by Sebastian Schmidt, Daniel Wiesler, Felix Braam
!
! WHIZARD is free software; you can redistribute it and/or modify it
! under the terms of the GNU General Public License as published by
! the Free Software Foundation; either version 2, or (at your option)
! any later version.
!
! WHIZARD is distributed in the hope that it will be useful, but
! WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! GNU General Public License for more details.
!
! You should have received a copy of the GNU General Public License
! along with this program; if not, write to the Free Software
! Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
module system_dependencies
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! All character strings indented by 7 blanks will be automatically
! split into chunks respecting the FORTRAN line length constraint by
! configure.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
@FC_OPENMP_HEADER@
implicit none
public
! Program version
character(*), parameter :: WHIZARD_VERSION = "@PACKAGE_VERSION@"
character(*), parameter :: WHIZARD_DATE = "@PACKAGE_DATE@"
! System paths
! These are used for testing without existing installation
character(*), parameter :: WHIZARD_TEST_AUX_MODPATH = &
"@BUILDDIR@/src/misc"
character(*), parameter :: WHIZARD_TEST_MODELS_MODPATH = &
"@BUILDDIR@/src/models"
character(*), parameter :: WHIZARD_TEST_OMEGA_MODPATH = &
- "@BUILDDIR@/src/omega/src"
+ "@BUILDDIR@/omega/src"
character(*), parameter :: WHIZARD_TEST_CORE_MODPATH = &
"@BUILDDIR@/src/whizard-core"
character(*), parameter :: WHIZARD_TEST_CORE_LIBPATH = &
"@BUILDDIR@/src/whizard-core"
character(*), parameter :: WHIZARD_TEST_OMEGA_BINPATH = &
- "@BUILDDIR@/src/omega/bin"
+ "@BUILDDIR@/omega/bin"
character(*), parameter :: WHIZARD_TEST_SRC_LIBPATH = &
"@BUILDDIR@/src"
character(*), parameter :: WHIZARD_TEST_HEPMC_LIBPATH = &
"@BUILDDIR@/src/hepmc"
character(*), parameter :: WHIZARD_TEST_HOPPET_LIBPATH = &
"@BUILDDIR@/src/hoppet"
character(*), parameter :: WHIZARD_TEST_MODELPATH = &
"@SRCDIR@/share/models"
character(*), parameter :: WHIZARD_TEST_MODELS_LIBPATH = &
"@BUILDDIR@/src/models"
character(*), parameter :: WHIZARD_TEST_SUSYPATH = &
"@SRCDIR@/share/susy"
character(*), parameter :: WHIZARD_TEST_GMLPATH= &
"@BUILDDIR@/src/gamelan"
character(*), parameter :: WHIZARD_TEST_CUTSPATH = &
"@SRCDIR@/share/cuts"
character(*), parameter :: WHIZARD_TEST_TESTDATAPATH = &
"@SRCDIR@/share/test"
character(*), parameter :: WHIZARD_TEST_TEXPATH = &
"@SRCDIR@/src/feynmf"
character(*), parameter :: WHIZARD_TEST_CIRCE2PATH = &
- "@SRCDIR@/src/circe2/share/data"
+ "@SRCDIR@/circe2/share/data"
character(*), parameter :: WHIZARD_TEST_BEAMSIMPATH = &
"@SRCDIR@/share/beam-sim"
character(*), parameter :: WHIZARD_TEST_MULIPATH = &
"@SRCDIR@/share/muli"
character(*), parameter :: PDF_BUILTIN_TEST_DATAPATH = &
"@SRCDIR@/share/pdf_builtin"
! WHIZARD-specific include flags
character(*), parameter :: WHIZARD_TEST_INCLUDES = &
"-I" // WHIZARD_TEST_MODELS_MODPATH // " " // &
"-I" // WHIZARD_TEST_OMEGA_MODPATH // " " // &
"-I" // WHIZARD_TEST_CORE_MODPATH // " " // &
"-I" // WHIZARD_TEST_AUX_MODPATH
! WHIZARD-specific link flags
character(*), parameter :: WHIZARD_TEST_LDFLAGS = &
"-L" // WHIZARD_TEST_CORE_LIBPATH // " " // &
"-L" // WHIZARD_TEST_SRC_LIBPATH // " " // &
"-L" // WHIZARD_TEST_HEPMC_LIBPATH // " " // &
"-L" // WHIZARD_TEST_HOPPET_LIBPATH // " " // &
"-lwhizard_main -lwhizard -lomega " // &
"@LDFLAGS_HEPMC@ @LDFLAGS_HOPPET@"
! Libtool
character(*), parameter :: WHIZARD_LIBTOOL_TEST = &
"@BUILDDIR@/libtool"
! System paths
! These are used for the installed version
character(*), parameter :: PREFIX = &
"@prefix@"
character(*), parameter :: EXEC_PREFIX = &
"@exec_prefix@"
character(*), parameter :: BINDIR = &
"@bindir@"
character(*), parameter :: LIBDIR = &
"@libdir@"
character(*), parameter :: INCLUDEDIR = &
"@includedir@"
character(*), parameter :: DATAROOTDIR = &
"@datarootdir@"
character(*), parameter :: PKGLIBDIR = LIBDIR // "/whizard"
character(*), parameter :: PKGDATADIR = DATAROOTDIR // "/whizard"
character(*), parameter :: PKGTEXDIR = DATAROOTDIR // "/texmf/whizard"
character(*), parameter :: PKGCIRCE2DIR = DATAROOTDIR // "/circe2"
character(*), parameter :: WHIZARD_AUX_MODPATH = &
PKGLIBDIR // "/mod/misc"
character(*), parameter :: WHIZARD_MODELS_MODPATH = &
PKGLIBDIR // "/mod/models"
character(*), parameter :: WHIZARD_OMEGA_MODPATH = &
INCLUDEDIR // "/omega"
character(*), parameter :: WHIZARD_CORE_MODPATH = &
PKGLIBDIR // "/mod/whizard-core"
character(*), parameter :: WHIZARD_OMEGA_BINPATH = &
BINDIR
character(*), parameter :: WHIZARD_OMEGA_LIBPATH = &
LIBDIR
character(*), parameter :: WHIZARD_MODELPATH = &
PKGDATADIR // "/models"
character(*), parameter :: WHIZARD_MODELS_LIBPATH = &
PKGLIBDIR // "/models"
character(*), parameter :: WHIZARD_SUSYPATH = &
PKGDATADIR // "/susy"
character(*), parameter :: WHIZARD_GMLPATH= &
PKGLIBDIR // "/gamelan"
character(*), parameter :: WHIZARD_TESTDATAPATH = &
PKGDATADIR // "/test"
character(*), parameter :: WHIZARD_CUTSPATH = &
PKGDATADIR // "/cuts"
character(*), parameter :: WHIZARD_TEXPATH = &
PKGTEXDIR
character(*), parameter :: WHIZARD_CIRCE2PATH = &
PKGCIRCE2DIR // "/data"
character(*), parameter :: WHIZARD_BEAMSIMPATH = &
PKGDATADIR // "/beam-sim"
character(*), parameter :: WHIZARD_MULIPATH = &
PKGDATADIR // "/muli"
character(*), parameter :: PDF_BUILTIN_DATAPATH = &
PKGDATADIR // "/pdf_builtin"
! WHIZARD-specific include flags
character(*), parameter :: WHIZARD_INCLUDES = &
"-I" // WHIZARD_MODELS_MODPATH // " " // &
"-I" // WHIZARD_OMEGA_MODPATH // " " // &
"-I" // WHIZARD_CORE_MODPATH // " " // &
"-I" // WHIZARD_AUX_MODPATH
! WHIZARD-specific link flags
character(*), parameter :: WHIZARD_LDFLAGS = &
"-L" // WHIZARD_OMEGA_LIBPATH // " " // &
"-lwhizard_main -lwhizard -lomega " // &
"@LDFLAGS_HEPMC@ @LDFLAGS_HOPPET@"
! Libtool
character(*), parameter :: WHIZARD_LIBTOOL = &
PKGLIBDIR // "/libtool"
! Fortran compiler
character(*), parameter :: DEFAULT_FC = &
"@FC@"
character(*), parameter :: DEFAULT_FCFLAGS = &
"@FCFLAGS_PROFILING@ @FCFLAGS_OPENMP@ @FCFLAGS@"
character(*), parameter :: DEFAULT_FCFLAGS_PIC = &
"@FCFLAGS_PIC@"
character(*), parameter :: DEFAULT_FC_SRC_EXT = &
".@FC_SRC_EXT@"
! Fortran compiler
character(*), parameter :: DEFAULT_CC = &
"@CC@"
character(*), parameter :: DEFAULT_CFLAGS = &
"@CFLAGS@"
character(*), parameter :: DEFAULT_CFLAGS_PIC = &
"@CFLAGS_PIC@"
! Object files
character(*), parameter :: DEFAULT_OBJ_EXT = &
".@OBJ_EXT@"
! Linker
character(*), parameter :: DEFAULT_LD = &
"@LD@"
character(*), parameter :: DEFAULT_LDFLAGS = &
""
character(*), parameter :: DEFAULT_LDFLAGS_SO = "-shared"
character(*), parameter :: DEFAULT_LDFLAGS_STATIC = &
"@LDFLAGS_STATIC@"
character(*), parameter :: DEFAULT_LDFLAGS_HEPMC = &
"@LDFLAGS_HEPMC@"
character(*), parameter :: DEFAULT_LDFLAGS_HOPPET = &
"@LDFLAGS_HOPPET@"
character(*), parameter :: DEFAULT_SHLIB_EXT = ".so"
! Make
character(*), parameter :: DEFAULT_MAKEFLAGS = &
"@DEFAULT_MAKEFLAGS@"
! LHAPDF library
character(*), parameter :: LHAPDF_PDFSETS_PATH = &
"@LHAPDF_PDFSETS_PATH@"
! Available methods for event analysis display
character(*), parameter :: EVENT_ANALYSIS = &
"@EVENT_ANALYSIS@"
character(*), parameter :: EVENT_ANALYSIS_PS = &
"@EVENT_ANALYSIS_PS@"
character(*), parameter :: EVENT_ANALYSIS_PDF = &
"@EVENT_ANALYSIS_PDF@"
! Programs used for event analysis display
character(*), parameter :: PRG_LATEX = &
"@LATEX@"
character(*), parameter :: PRG_MPOST = &
"@MPOST@"
character(*), parameter :: PRG_DVIPS = &
"@DVIPS@"
character(*), parameter :: PRG_PS2PDF = &
"@PS2PDF@"
! Hardwired options for batch-mode processing
character(*), parameter :: OPT_LATEX = &
"-halt-on-error"
character(*), parameter :: OPT_MPOST = &
"@MPOSTFLAG@ -halt-on-error"
! dlopen parameters
integer, parameter :: &
RTLD_LAZY = @RTLD_LAZY_VALUE@ , &
RTLD_NOW = @RTLD_NOW_VALUE@ , &
RTLD_GLOBAL = @RTLD_GLOBAL_VALUE@ , &
RTLD_LOCAL = @RTLD_LOCAL_VALUE@
! Misc
logical, parameter :: LHAPDF_AVAILABLE = @LHAPDF_AVAILABLE_FLAG@
contains
! Subroutines that depend on configure settings
! OpenMP wrapper routines, work independent of OpenMP status
function openmp_is_active () result (flag)
logical :: flag
@FC_OPENMP_ON@ flag = .true.
@FC_OPENMP_OFF@ flag = .false.
end function openmp_is_active
subroutine openmp_set_num_threads (num)
integer, intent(in) :: num
@FC_OPENMP_ON@ call omp_set_num_threads (num)
end subroutine openmp_set_num_threads
function openmp_get_num_threads () result (num)
integer :: num
@FC_OPENMP_ON@ num = omp_get_num_threads ()
@FC_OPENMP_OFF@ num = 1
end function openmp_get_num_threads
function openmp_get_max_threads () result (num)
integer :: num
@FC_OPENMP_ON@ num = omp_get_max_threads ()
@FC_OPENMP_OFF@ num = 1
end function openmp_get_max_threads
function openmp_get_default_max_threads () result (num)
integer :: num
num = @FC_OPENMP_DEFAULT_MAX_THREADS@
end function openmp_get_default_max_threads
end module system_dependencies
Index: trunk/src/whizard-core/Makefile.am
===================================================================
--- trunk/src/whizard-core/Makefile.am (revision 5884)
+++ trunk/src/whizard-core/Makefile.am (revision 5885)
@@ -1,225 +1,225 @@
## Makefile.am -- Makefile for WHIZARD
##
## Process this file with automake to produce Makefile.in
#
# Copyright (C) 1999-2014 by
# Wolfgang Kilian <kilian@physik.uni-siegen.de>
# Thorsten Ohl <ohl@physik.uni-wuerzburg.de>
# Juergen Reuter <juergen.reuter@desy.de>
# with contributions from
# Christian Speckner <cnspeckn@googlemail.com>
#
# WHIZARD is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# WHIZARD is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
########################################################################
## The files in this directory make up the WHIZARD core
## We create a library which is still to be combined with auxiliary libs.
##
noinst_LTLIBRARIES = libwhizard_core.la
libwhizard_core_la_SOURCES = \
unit_tests.f90 \
os_interface.f90 cputime.f90 \
hashes.f90 sprintf_interface.c formats.f90 bytes.f90 md5.f90 \
permutations.f90 sorting.f90 ifiles.f90 \
lexers.f90 syntax_rules.f90 parser.f90 xml.f90 \
user_files.f90 analysis.f90 \
jets.f90 pdg_arrays.f90 subevents.f90 \
user_code_interface.f90 \
variables.f90 expressions.f90 \
models.f90 \
helicities.f90 colors.f90 flavors.f90 quantum_numbers.f90 \
state_matrices.f90 interactions.f90 evaluators.f90 \
polarizations.f90 particles.f90 \
beam_structures.f90 beams.f90 \
sm_qcd.f90 \
sf_aux.f90 sf_mappings.f90 sf_base.f90 \
sf_pdf_builtin.f90 sf_lhapdf.f90 sf_circe1.f90 \
sf_circe2.f90 sf_isr.f90 sf_epa.f90 sf_ewa.f90 \
sf_escan.f90 sf_beam_events.f90 sf_user.f90 \
process_constants.f90 \
phs_base.f90 phs_single.f90 \
mappings.f90 phs_trees.f90 phs_forests.f90 cascades.f90 phs_wood.f90 \
rng_base.f90 rng_tao.f90 selectors.f90 \
mci_base.f90 mci_midpoint.f90 mci_vamp.f90 \
prclib_interfaces.f90 \
prc_core_def.f90 particle_specifiers.f90 \
process_libraries.f90 prclib_stacks.f90 \
prc_test.f90 \
integration_results.f90 \
prc_core.f90 subevt_expr.f90 parton_states.f90 \
processes.f90 process_stacks.f90 \
event_transforms.f90 decays.f90 shower.f90 \
events.f90 prc_omega.f90 prc_template_me.f90 \
hep_common.f90 hep_events.f90 hepmc_interface.f90 \
hoppet_interface.f90 \
eio_data.f90 eio_base.f90 eio_raw.f90 eio_checkpoints.f90 \
eio_lhef.f90 \
eio_hepmc.f90 eio_ascii.f90 eio_stdhep.f90 eio_weights.f90 \
iterations.f90 rt_data.f90 \
blha_config.f90 blha_interface.f90 blha_driver.f90 \
slha_interface.f90 dispatch.f90 \
process_configurations.f90 compilations.f90 integrations.f90 \
event_streams.f90 simulations.f90 \
commands.f90 \
whizard.f90
### Old NLO files
# nlo_setup.f90 dipoles_integrated_qed.f90 dipoles_real_qed.f90\
photon_recombination.f90 \
core_interactions.f90 core_interactions_config.f90
# Adds the whizard-c-interface
EXTRA_libwhizard_core_la_SOURCES = whizard-c-interface.f90
libwhizard_core_la_LIBADD = whizard-c-interface.lo
## This C file has no dependencies
sprintf_interface.c:
## The main program makes up a library on its own.
lib_LTLIBRARIES = libwhizard_main.la
libwhizard_main_la_SOURCES = main.f90
## Omitting this would exclude it from the distribution
dist_noinst_DATA = whizard.nw
## Fortran module dependencies
# The following line just says
# include Makefile.depend
# but in a portable fashion (depending on automake's AM_MAKE_INCLUDE
@am__include@ @am__quote@Makefile.depend@am__quote@
Makefile.depend: $(libwhizard_core_la_SOURCES) $(libwhizard_main_la_SOURCES) $(EXTRA_libwhizard_core_la_SOURCES)
@rm -f $@
for src in $^; do \
module="`basename $$src | sed 's/\.f[90][0358]//'`"; \
grep '^ *use ' $$src \
| grep -v '!NODEP!' \
| sed -e 's/^ *use */'$$module'.lo: /' \
-e 's/, *only:.*//' \
-e 's/, *&//' \
-e 's/, *.*=>.*//' \
-e 's/$$/.lo/' ; \
done > $@
DISTCLEANFILES = Makefile.depend
## Dependency libaux (kinds, constants, strings) and VAMP, CIRCE1, CIRCE2
$(libwhizard_core_la_OBJECTS): \
../misc/kinds.$(FC_MODULE_EXT) \
../misc/constants.$(FC_MODULE_EXT) \
../misc/iso_varying_string.$(FC_MODULE_EXT) \
../misc/system_dependencies.$(FC_MODULE_EXT) \
../misc/limits.$(FC_MODULE_EXT) \
../misc/file_utils.$(FC_MODULE_EXT) \
../misc/diagnostics.$(FC_MODULE_EXT) \
../misc/c_particles.$(FC_MODULE_EXT) \
../misc/lorentz.$(FC_MODULE_EXT) \
../misc/sm_physics.$(FC_MODULE_EXT) \
- ../vamp/src/vamp.$(FC_MODULE_EXT) \
- ../circe1/src/circe1.$(FC_MODULE_EXT) \
- ../circe2/src/circe2.$(FC_MODULE_EXT)
+ ../../vamp/src/vamp.$(FC_MODULE_EXT) \
+ ../../circe1/src/circe1.$(FC_MODULE_EXT) \
+ ../../circe2/src/circe2.$(FC_MODULE_EXT)
## Dependency libshower (kinds, constants, strings) and VAMP
#$(libwhizard_core_la_OBJECTS): \
../shower/shower_module.$(FC_MODULE_EXT) \
../shower/shower_particle.$(FC_MODULE_EXT) \
../shower/shower_basics.$(FC_MODULE_EXT) \
../pdf_builtin/pdf_builtin.$(FC_MODULE_EXT) \
../muli/muli.$(FC_MODULE_EXT)
SUFFIXES = .lo .$(FC_MODULE_EXT)
# Fortran90 module files are generated at the same time as object files
.lo.$(FC_MODULE_EXT):
@:
# touch $@
-AM_FCFLAGS = -I../misc -I../vamp/src -I../shower -I../pdf_builtin -I../muli -I../circe1/src -I../circe2/src -I../fastjet
+AM_FCFLAGS = -I../misc -I../../vamp/src -I../shower -I../pdf_builtin -I../muli -I../../circe1/src -I../../circe2/src -I../fastjet
########################################################################
## Default Fortran compiler options
## Profiling
if FC_USE_PROFILING
AM_FCFLAGS += $(FCFLAGS_PROFILING)
endif
## OpenMP
if FC_USE_OPENMP
AM_FCFLAGS += $(FCFLAGS_OPENMP)
endif
########################################################################
## Non-standard targets and dependencies
## Install the modules used by generated matrix element code
## and by the user code library
execmoddir = $(pkglibdir)/mod/whizard-core
nodist_execmod_HEADERS = \
unit_tests.$(FC_MODULE_EXT) \
os_interface.$(FC_MODULE_EXT) \
user_code_interface.$(FC_MODULE_EXT) \
prclib_interfaces.$(FC_MODULE_EXT)
## (Re)create F90 sources from NOWEB source.
if NOWEB_AVAILABLE
WHIZARD_SRC = $(libwhizard_core_la_SOURCES) $(EXTRA_libwhizard_core_la_SOURCES) main.f90
whizard.stamp: $(srcdir)/whizard.nw
@rm -f whizard.tmp
@touch whizard.tmp
for src in $(WHIZARD_SRC); do \
$(NOTANGLE) -R[[$$src]] $< | $(CPIF) $$src; \
done
@mv -f whizard.tmp whizard.stamp
$(WHIZARD_SRC): whizard.stamp
## Recover from the removal of $@
@if test -f $@; then :; else \
rm -f whizard.stamp; \
$(MAKE) $(AM_MAKEFLAGS) whizard.stamp; \
fi
endif
########################################################################
## Non-standard cleanup tasks
## Remove sources that can be recreated using NOWEB
if NOWEB_AVAILABLE
maintainer-clean-noweb:
-rm -f *.f90 *.c
endif
.PHONY: maintainer-clean-noweb
## Remove those sources also if builddir and srcdir are different
if NOWEB_AVAILABLE
clean-noweb:
test "$(srcdir)" != "." && rm -f *.f90 *.c || true
endif
.PHONY: clean-noweb
## Remove F90 module files
clean-local: clean-noweb
-rm -f whizard.stamp whizard.tmp
-rm -f *.$(FC_MODULE_EXT)
## Remove backup files
maintainer-clean-backup:
-rm -f *~
.PHONY: maintainer-clean-backup
## Register additional clean targets
maintainer-clean-local: maintainer-clean-noweb maintainer-clean-backup
Index: trunk/src/shower/Makefile.am
===================================================================
--- trunk/src/shower/Makefile.am (revision 5884)
+++ trunk/src/shower/Makefile.am (revision 5885)
@@ -1,163 +1,163 @@
## Makefile.am -- Makefile for WHIZARD
##
## Process this file with automake to produce Makefile.in
#
# Copyright (C) 1999-2014 by
# Wolfgang Kilian <kilian@physik.uni-siegen.de>
# Thorsten Ohl <ohl@physik.uni-wuerzburg.de>
# Juergen Reuter <juergen.reuter@desy.de>
# with contributions from
# Christian Speckner <cnspeckn@googlemail.com>
# Sebastian Schmidt, Daniel Wiesler
#
# WHIZARD is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# WHIZARD is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
########################################################################
## The files in this directory end up in an auxiliary libtool library.
if SHOWER_AVAILABLE
noinst_LTLIBRARIES = libshower.la
else
noinst_LTLIBRARIES = libshower_dummy.la
endif
## If shower is enabled, pythia is enabled automatically
AM_FFLAGS =
AM_FCFLAGS =
if FC_IS_NAG
AM_FFLAGS += -dcfuns -w
AM_FCFLAGS += -dcfuns -w
endif
libshower_la_SOURCES = \
pythia_up.f shower_base.f90 shower_partons.f90 \
shower_core.f90 shower_topythia.f90 mlm_matching.f90 \
ckkw_pseudo_weights.f90 ckkw_matching.f90
libshower_dummy_la_SOURCES = shower_dummy.f90
## Omitting this would exclude it from the distribution
dist_noinst_DATA = shower.nw
## Fortran module dependencies
# The following line just says
# include Makefile.depend
# but in a portable fashion (depending on automake's AM_MAKE_INCLUDE
@am__include@ @am__quote@Makefile.depend@am__quote@
Makefile.depend: $(libshower_la_SOURCES)
@rm -f $@
for src in $^; do \
module="`basename $$src | sed 's/\.f[90][0358]//'`"; \
grep '^ *use ' $$src \
| grep -v '!NODEP!' \
| sed -e 's/^ *use */'$$module'.lo: /' \
-e 's/, *only:.*//' \
-e 's/, *&//' \
-e 's/, *.*=>.*//' \
-e 's/$$/.lo/' ; \
done > $@
DISTCLEANFILES = Makefile.depend
## Dependency libaux (kinds, strings)
## (tao_random_numbers will be removed when switching to rng_factory)
$(libshower_la_OBJECTS): \
../misc/kinds.$(FC_MODULE_EXT) \
../misc/constants.$(FC_MODULE_EXT) \
../misc/file_utils.$(FC_MODULE_EXT) \
../misc/diagnostics.$(FC_MODULE_EXT) \
../misc/lorentz.$(FC_MODULE_EXT) \
-../vamp/src/tao_random_numbers.$(FC_MODULE_EXT)
+../../vamp/src/tao_random_numbers.$(FC_MODULE_EXT)
-libshower_la_LIBADD = ../pythia/libpythia_wo.la
+libshower_la_LIBADD = ../../pythia/libpythia_wo.la
SUFFIXES = .lo .$(FC_MODULE_EXT)
# Fortran90 module files are generated at the same time as object files
.lo.$(FC_MODULE_EXT):
@:
# touch $@
-AM_FCFLAGS += -I../misc -I../vamp/src/ -I../pythia
+AM_FCFLAGS += -I../misc -I../../vamp/src/ -I../../pythia
########################################################################
## Default Fortran compiler options
## Profiling
if FC_USE_PROFILING
AM_FFLAGS += $(FCFLAGS_PROFILING)
AM_FCFLAGS += $(FCFLAGS_PROFILING)
endif
## OpenMP
if FC_USE_OPENMP
AM_FFLAGS += $(FCFLAGS_OPENMP)
AM_FCFLAGS += $(FCFLAGS_OPENMP)
endif
########################################################################
## (Re)create F90 sources from NOWEB source.
if NOWEB_AVAILABLE
SHOWER_SRC = $(libshower_la_SOURCES) $(libshower_dummy_la_SOURCES)
shower.stamp: $(srcdir)/shower.nw
@rm -f shower.tmp
@touch shower.tmp
for src in $(SHOWER_SRC); do \
$(NOTANGLE) -R[[$$src]] $< | $(CPIF) $$src; \
done
@mv -f shower.tmp shower.stamp
$(SHOWER_SRC): shower.stamp
## Recover from the removal of $@
@if test -f $@; then :; else \
rm -f shower.stamp; \
$(MAKE) $(AM_MAKEFLAGS) shower.stamp; \
fi
endif
########################################################################
## Non-standard cleanup tasks
## Remove sources that can be recreated using NOWEB
if NOWEB_AVAILABLE
maintainer-clean-noweb:
-rm -f *.f90 *.f
endif
.PHONY: maintainer-clean-noweb
## Remove those sources also if builddir and srcdir are different
if NOWEB_AVAILABLE
clean-noweb:
test "$(srcdir)" != "." && rm -f *.f90 *.f || true
endif
.PHONY: clean-noweb
## Remove F90 module files
clean-local: clean-noweb
-rm -f shower.stamp shower.tmp
-rm -f *.$(FC_MODULE_EXT)
## Remove backup files
maintainer-clean-backup:
-rm -f *~
.PHONY: maintainer-clean-backup
## Register additional clean targets
maintainer-clean-local: maintainer-clean-noweb maintainer-clean-backup
Index: trunk/tests/Makefile.am
===================================================================
--- trunk/tests/Makefile.am (revision 5884)
+++ trunk/tests/Makefile.am (revision 5885)
@@ -1,654 +1,654 @@
## Makefile.am -- Makefile for executable WHIZARD test scripts
##
## Process this file with automake to produce Makefile.in
##
########################################################################
#
# Copyright (C) 1999-2014 by
# Wolfgang Kilian <kilian@physik.uni-siegen.de>
# Thorsten Ohl <ohl@physik.uni-wuerzburg.de>
# Juergen Reuter <juergen.reuter@desy.de>
# with contributions from
# Christian Speckner <cnspeckn@googlemail.com>
#
# WHIZARD is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# WHIZARD is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
########################################################################
WHIZARD_DRIVER = run_whizard.sh
UNIT_TESTS = \
analysis.run \
pdg_arrays.run \
expressions.run \
beams.run \
polarizations.run \
md5.run \
cputime.run \
lexers.run \
parser.run \
color.run \
os_interface.run \
evaluators.run \
formats.run \
sorting.run \
state_matrices.run \
interactions.run \
xml.run \
sm_qcd.run \
models.run \
particles.run \
beam_structures.run \
sf_aux.run \
sf_mappings.run \
sf_base.run \
sf_pdf_builtin.run \
sf_isr.run \
sf_epa.run \
sf_ewa.run \
sf_circe1.run \
sf_circe2.run \
sf_beam_events.run \
sf_escan.run \
phs_base.run \
phs_single.run \
phs_forests.run \
phs_wood.run \
rng_base.run \
rng_tao.run \
selectors.run \
mci_base.run \
mci_midpoint.run \
mci_vamp.run \
prclib_interfaces.run \
particle_specifiers.run \
process_libraries.run \
prclib_stacks.run \
slha_interface.run \
prc_test.run \
prc_template_me.run \
subevt_expr.run \
processes.run \
process_stacks.run \
cascades.run \
event_transforms.run \
decays.run \
shower.run \
events.run \
eio_data.run \
eio_base.run \
eio_raw.run \
eio_checkpoints.run \
eio_lhef.run \
eio_ascii.run \
eio_weights.run \
iterations.run \
rt_data.run \
dispatch.run \
process_configurations.run \
event_streams.run \
integrations.run \
simulations.run
UNIT_TESTS_REQ_GAMELAN = \
commands.run
UNIT_TESTS_REQ_EV_ANA = \
phs_wood_vis.run \
prc_omega_diags.run \
integrations_history.run
TESTS_REQ_FASTJET = \
analyze_4.run
UNIT_TESTS_REQ_FASTJET = \
jets.run
UNIT_TESTS_REQ_HEPMC = \
eio_hepmc.run
UNIT_TESTS_REQ_STDHEP = \
eio_stdhep.run
UNIT_TESTS_REQ_OCAML = \
prc_omega.run \
compilations.run \
compilations_static.run
TESTS_DEFAULT = \
empty.run \
fatal.run \
structure_1.run \
structure_2.run \
structure_3.run \
structure_4.run \
structure_5.run \
structure_6.run \
structure_7.run \
structure_8.run \
vars.run \
extpar.run \
testproc_1.run \
testproc_2.run \
testproc_3.run \
testproc_4.run \
testproc_5.run \
testproc_6.run \
testproc_7.run \
testproc_8.run \
testproc_9.run \
testproc_10.run \
rebuild_1.run \
susyhit.run \
helicity.run \
libraries_4.run
XFAIL_TESTS_DEFAULT =
TESTS_USER_STRFUN = \
user_strfun.run
TESTS_REQ_OCAML = \
libraries_1.run \
libraries_2.run \
libraries_3.run \
rebuild_2.run \
rebuild_3.run \
defaultcuts.run \
cuts.run \
model_test.run \
qedtest_1.run \
qedtest_2.run \
qedtest_3.run \
qedtest_4.run \
qedtest_5.run \
qedtest_6.run \
qedtest_7.run \
qedtest_8.run \
qedtest_9.run \
qedtest_10.run \
beam_setup_1.run \
beam_setup_2.run \
beam_setup_3.run \
beam_setup_4.run \
qcdtest_1.run \
qcdtest_2.run \
qcdtest_3.run \
qcdtest_4.run \
qcdtest_5.run \
observables_1.run \
event_weights_1.run \
event_weights_2.run \
reweight_1.run \
reweight_2.run \
reweight_3.run \
reweight_4.run \
reweight_5.run \
reweight_6.run \
reweight_7.run \
analyze_1.run \
analyze_2.run \
colors.run \
colors_hgg.run \
alphas.run \
jets_xsec.run \
lhef_1.run \
lhef_2.run \
lhef_3.run \
lhef_4.run \
lhef_5.run \
lhef_6.run \
fatal_beam_decay.run \
smtest_1.run \
smtest_2.run \
smtest_3.run \
smtest_4.run \
smtest_5.run \
smtest_6.run \
smtest_7.run \
smtest_8.run \
smtest_9.run \
smtest_10.run \
smtest_11.run \
smtest_12.run \
smtest_13.run \
smtest_14.run \
smtest_15.run \
mssmtest.run \
show_1.run \
show_2.run \
show_3.run \
show_4.run \
multi_comp_1.run \
multi_comp_2.run \
multi_comp_3.run \
multi_comp_4.run \
flvsum_1.run \
pdf_builtin.run \
ep_1.run \
ep_2.run \
ep_3.run \
circe1_1.run \
circe1_2.run \
circe1_3.run \
circe1_4.run \
circe1_5.run \
circe1_6.run \
circe1_7.run \
circe1_8.run \
circe1_9.run \
circe1_photons_1.run \
circe1_photons_2.run \
circe1_photons_3.run \
circe1_photons_4.run \
circe1_photons_5.run \
circe1_errors_1.run \
circe2_1.run \
circe2_2.run \
ewa_1.run \
ewa_2.run \
ewa_3.run \
ewa_4.run \
ilc.run \
beam_events_1.run \
beam_events_2.run \
beam_events_3.run \
energy_scan_1.run \
restrictions.run \
process_log.run \
user_cuts.run \
$(TESTS_USER_STRFUN)
XFAIL_TESTS_REQ_OCAML = \
colors_hgg.run \
user_cuts.run \
$(TESTS_USER_STRFUN)
TESTS_REQ_HEPMC = \
hepmc.run \
hepmc_1.run \
hepmc_2.run \
hepmc_3.run \
hepmc_4.run
UNIT_TESTS_REQ_LHAPDF = \
sf_lhapdf.run
TESTS_REQ_LHAPDF = \
lhapdf5.run
XFAIL_TESTS_REQ_LHAPDF =
TESTS_REQ_STDHEP = \
stdhep_1.run \
stdhep_2.run \
stdhep_3.run
XFAIL_TESTS_REQ_STDHEP =
TESTS_STATIC = \
static_1.run
XFAIL_TESTS_STATIC =
TESTS_REQ_SHOWER = \
parton_shower_1.run \
parton_shower_2.run \
parton_shower_3.run \
parton_shower_4.run \
mlm_matching_fsr.run \
mlm_matching_isr.run
XFAIL_TESTS_REQ_SHOWER =
TESTS_REQ_EV_ANA = \
analyze_3.run
XFAIL_TESTS_REQ_EV_ANA =
TESTS_EXTENDED = \
sm_ext.run \
mssm_ext.run \
nmssm_ext.run
XFAIL_TESTS_EXTENDED =
TESTS_REQ_GAMELAN = #\
$(TESTS_REQ_OCAML) \
$(TESTS_EXTENDED)
TEST_DRIVERS_RUN = \
$(UNIT_TESTS) \
$(UNIT_TESTS_REQ_GAMELAN) \
$(UNIT_TESTS_REQ_HEPMC) \
$(UNIT_TESTS_REQ_FASTJET) \
$(UNIT_TESTS_REQ_LHAPDF) \
$(UNIT_TESTS_REQ_STDHEP) \
$(UNIT_TESTS_REQ_OCAML) \
$(TESTS_DEFAULT) \
$(TESTS_REQ_OCAML) \
$(TESTS_REQ_LHAPDF) \
$(TESTS_REQ_HEPMC) \
$(TESTS_REQ_FASTJET) \
$(TESTS_REQ_STDHEP) \
$(TESTS_REQ_SHOWER) \
$(TESTS_REQ_EV_ANA) \
$(TESTS_STATIC) \
$(TESTS_EXTENDED)
TEST_DRIVERS_SH = $(TEST_DRIVERS_RUN:.run=.sh)
########################################################################
TESTS =
XFAIL_TESTS =
UNIT_TESTS += $(UNIT_TESTS_REQ_GAMELAN)
UNIT_TESTS += $(UNIT_TESTS_REQ_FASTJET)
UNIT_TESTS += $(UNIT_TESTS_REQ_HEPMC)
UNIT_TESTS += $(UNIT_TESTS_REQ_LHAPDF)
UNIT_TESTS += $(UNIT_TESTS_REQ_STDHEP)
UNIT_TESTS += $(UNIT_TESTS_REQ_OCAML)
UNIT_TESTS += $(UNIT_TESTS_REQ_EV_ANA)
# Temporarily, only the new unit tests are executed
if DEFAULT_CHECKS
TESTS += $(UNIT_TESTS)
TESTS += $(TESTS_DEFAULT)
XFAIL_TESTS += $(XFAIL_TESTS_DEFAULT)
TESTS += $(TESTS_REQ_OCAML)
XFAIL_TESTS += $(XFAIL_TESTS_REQ_OCAML)
TESTS += $(TESTS_REQ_HEPMC)
XFAIL_TESTS += $(XFAIL_TESTS_REQ_HEPMC)
TESTS += $(TESTS_REQ_FASTJET)
XFAIL_TESTS += $(XFAIL_TESTS_REQ_FASTJET)
TESTS += $(TESTS_REQ_LHAPDF)
XFAIL_TESTS += $(XFAIL_TESTS_REQ_LHAPDF)
TESTS += $(TESTS_REQ_STDHEP)
XFAIL_TESTS += $(XFAIL_TESTS_REQ_STDHEP)
TESTS += $(TESTS_REQ_SHOWER)
XFAIL_TESTS += $(XFAIL_TESTS_REQ_SHOWER)
TESTS += $(TESTS_REQ_EV_ANA)
XFAIL_TESTS += $(XFAIL_TESTS_REQ_EV_ANA)
TESTS += $(TESTS_STATIC)
XFAIL_TESTS += $(XFAIL_TESTS_STATIC)
endif DEFAULT_CHECKS
if EXT_NUM_CHECKS
TESTS += $(TESTS_EXTENDED)
XFAIL_TESTS += $(XFAIL_TESTS_EXTENDED)
endif EXT_NUM_CHECKS
mssm_ext.run: $(EXTENDED_MSSM_TEST_DRIVERS)
echo '#! /bin/sh' >$@
for driver in $(EXTENDED_MSSM_TEST_DRIVERS); do \
echo ./$$driver; \
done >>$@
chmod +x $@
nmssm_ext.run: $(EXTENDED_NMSSM_TEST_DRIVERS)
echo '#! /bin/sh' >$@
for driver in $(EXTENDED_NMSSM_TEST_DRIVERS); do \
echo ./$$driver; \
done >>$@
chmod +x $@
EXTENDED_MSSM_TEST_DRIVERS = \
mssm_ext-ee.run mssm_ext-ee2.run \
mssm_ext-en.run mssm_ext-tn.run \
mssm_ext-uu.run mssm_ext-uu2.run mssm_ext-uuckm.run \
mssm_ext-dd.run mssm_ext-dd2.run mssm_ext-ddckm.run \
mssm_ext-bb.run mssm_ext-bt.run mssm_ext-tt.run \
mssm_ext-ug.run mssm_ext-dg.run \
mssm_ext-aa.run mssm_ext-wa.run mssm_ext-za.run \
mssm_ext-ww.run mssm_ext-wz.run mssm_ext-zz.run \
mssm_ext-gg.run mssm_ext-ga.run mssm_ext-gw.run mssm_ext-gz.run
EXTENDED_NMSSM_TEST_DRIVERS = \
nmssm_ext-aa.run nmssm_ext-bb1.run nmssm_ext-bb2.run \
nmssm_ext-bt.run nmssm_ext-dd1.run \
nmssm_ext-dd2.run nmssm_ext-ee1.run \
nmssm_ext-ee2.run nmssm_ext-en.run \
nmssm_ext-ga.run nmssm_ext-gg.run \
nmssm_ext-gw.run nmssm_ext-gz.run \
nmssm_ext-qg.run nmssm_ext-tn.run \
nmssm_ext-tt1.run nmssm_ext-tt2.run \
nmssm_ext-uu1.run nmssm_ext-uu2.run \
nmssm_ext-wa.run nmssm_ext-ww1.run nmssm_ext-ww2.run \
nmssm_ext-wz.run nmssm_ext-za.run
EXTENDED_MSSM_TEST_DRIVERS_SH = $(EXTENDED_MSSM_TEST_DRIVERS:.run=.sh)
EXTENDED_NMSSM_TEST_DRIVERS_SH = $(EXTENDED_NMSSM_TEST_DRIVERS:.run=.sh)
EXTRA_DIST = $(TEST_DRIVERS_SH) \
$(EXTENDED_MSSM_TEST_DRIVERS_SH) \
$(EXTENDED_NMSSM_TEST_DRIVERS_SH)
########################################################################
# VPATH = $(top_builddir)/share/tests:$(top_srcdir)/share/tests:$(srcdir)
VPATH = $(srcdir)
SUFFIXES = .sh .run
.sh.run:
@rm -f $@
@if test -f $(top_builddir)/share/tests/$*.sin; then \
$(SED) 's|@script@|$(top_builddir)/share/tests/$*|g' $< > $@; \
elif test -f $(top_srcdir)/share/tests/$*.sin; then \
$(SED) 's|@script@|$(top_srcdir)/share/tests/$*|g' $< > $@; \
else \
echo "$*.sin not found!" 1>&2; \
exit 2; \
fi
chmod +x $@
structure_2.run: structure_2_inc.sin
structure_2_inc.sin: $(top_builddir)/share/tests/structure_2_inc.sin
cp $< $@
testproc_3.run: testproc_3.phs
testproc_3.phs: $(top_builddir)/share/tests/testproc_3.phs
cp $< $@
static_1.run: static_1.exe.sin
static_1.exe.sin: $(top_builddir)/share/tests/static_1.exe.sin
cp $< $@
sf_beam_events.run: test_beam_events.dat
test_beam_events.dat: $(top_builddir)/share/beam-sim/test_beam_events.dat
cp $< $@
commands.run: sps1ap_decays.slha
sps1ap_decays.slha: $(top_builddir)/share/susy/sps1ap_decays.slha
cp $< $@
susyhit.run: susyhit.in
user_cuts.run: user_cuts.f90
user_strfun.run: user_strfun.f90
user_cuts.f90: $(top_builddir)/share/tests/user_cuts.f90
cp $< $@
user_strfun.f90: $(top_builddir)/share/tests/user_strfun.f90
cp $< $@
model_test.run: tdefs.mod tglue.mod threeshl.mod tscript.mod
tdefs.mod: $(top_builddir)/src/models/threeshl_bundle/tdefs.$(FC_MODULE_EXT)
cp $< $@
tglue.mod: $(top_builddir)/src/models/threeshl_bundle/tglue.$(FC_MODULE_EXT)
cp $< $@
tscript.mod: $(top_builddir)/src/models/threeshl_bundle/tscript.$(FC_MODULE_EXT)
cp $< $@
threeshl.mod: $(top_builddir)/src/models/threeshl_bundle/threeshl.$(FC_MODULE_EXT)
cp $< $@
TEST.mdl: $(top_srcdir)/share/tests/TEST.mdl
cp $< $@
WT_OMEGA_CACHE_SUFFIX=vertices
WT_OCAML_NATIVE_EXT=opt
if OCAML_AVAILABLE
qedtest_1.run qedtest_2.run qedtest_3.run qedtest_4.run qedtest_5.run qedtest_6.run: omega_QED.$(WT_OMEGA_CACHE_SUFFIX)
-OMEGA_QED = $(top_builddir)/src/omega/bin/omega_QED.$(WT_OCAML_NATIVE_EXT)
+OMEGA_QED = $(top_builddir)/omega/bin/omega_QED.$(WT_OCAML_NATIVE_EXT)
omega_QED.$(WT_OMEGA_CACHE_SUFFIX): $(OMEGA_QED)
$(OMEGA_QED) -initialize .
qcdtest_1.run qcdtest_2.run: omega_QCD.$(WT_OMEGA_CACHE_SUFFIX)
-OMEGA_QCD = $(top_builddir)/src/omega/bin/omega_QCD.$(WT_OCAML_NATIVE_EXT)
+OMEGA_QCD = $(top_builddir)/omega/bin/omega_QCD.$(WT_OCAML_NATIVE_EXT)
omega_QCD.$(WT_OMEGA_CACHE_SUFFIX): $(OMEGA_QCD)
$(OMEGA_QCD) -initialize .
endif OCAML_AVAILABLE
if MPOST_AVAILABLE
$(TESTS_REQ_GAMELAN): gamelan.sty
$(UNIT_TESTS_REQ_GAMELAN): gamelan.sty
gamelan.sty: $(top_builddir)/src/gamelan/gamelan.sty
cp $< $@
$(top_builddir)/src/gamelan/gamelan.sty:
$(MAKE) -C $(top_builddir)/src/gamelan gamelan.sty
endif
susyhit.in: $(top_builddir)/share/tests/susyhit.in
cp $< $@
BUILT_SOURCES = \
TESTFLAG \
STDHEP_FLAG \
HEPMC_FLAG \
FASTJET_FLAG \
LHAPDF5_FLAG \
LHAPDF6_FLAG \
GAMELAN_FLAG \
EVENT_ANALYSIS_FLAG \
OCAML_FLAG \
SHOWER_FLAG \
STATIC_FLAG \
ref-output \
err-output
# If this file is found in the working directory, WHIZARD
# will use the paths for the uninstalled version (source/build tree),
# otherwise it uses the installed version
TESTFLAG:
touch $@
STDHEP_FLAG:
if STDHEP_AVAILABLE
touch $@
endif
FASTJET_FLAG:
if FASTJET_AVAILABLE
touch $@
endif
HEPMC_FLAG:
if HEPMC_AVAILABLE
touch $@
endif
LHAPDF5_FLAG:
if LHAPDF5_AVAILABLE
touch $@
endif
LHAPDF6_FLAG:
if LHAPDF6_AVAILABLE
touch $@
endif
GAMELAN_FLAG:
if MPOST_AVAILABLE
touch $@
endif
OCAML_FLAG:
if OCAML_AVAILABLE
touch $@
endif
SHOWER_FLAG:
if SHOWER_AVAILABLE
touch $@
endif
EVENT_ANALYSIS_FLAG:
if EVENT_ANALYSIS_AVAILABLE
touch $@
endif
STATIC_FLAG:
if STATIC_AVAILABLE
touch $@
endif
# The reference output files are in the source directory. Copy them here.
if FC_QUAD
ref-output: $(top_srcdir)/share/tests/ref-output
mkdir -p ref-output
for f in $</*.ref; do cp $$f $@; done
for f in $</../ref-output-quad/*.ref; do cp $$f $@; done
else
ref-output: $(top_srcdir)/share/tests/ref-output
mkdir -p ref-output
for f in $</*.ref; do cp $$f $@; done
for f in $</../ref-output-double/*.ref; do cp $$f $@; done
endif
# The output files from self tests go here.
err-output:
mkdir -p err-output
## installcheck runs the test scripts with the TESTFLAG removed.
installcheck-local: notestflag check-am
notestflag:
rm -f TESTFLAG
.PHONY: notestflag
## Remove generated files
clean-local:
rm -f gamelan.sty TEST.mdl
rm -f TESTFLAG GAMELAN_FLAG STDHEP_FLAG
rm -f OCAML_FLAG FASTJET_FLAG HEPMC_FLAG LHAPDF5_FLAG
rm -f EVENT_ANALYSIS_FLAG SHOWER_FLAG LHAPDF6_FLAG
rm -f STATIC_FLAG static_1.exe
rm -f *.run *.log slha_test.out
rm -f *.f90 *.c *.$(FC_MODULE_EXT) *.o *.la
rm -f *.makefile
rm -rf err-output
rm -rf ref-output
rm -f *.sin
rm -f *.phs *.vg *.vgb *.evt *.evx *.lhe *.hepmc *.dat *.debug
rm -f *.tmp *.hepevt *.hepevt.verb *.lha *.lha.verb
rm -f prc_omega_diags_1_p_i1_diags.out prc_omega_diags_1_p_i1_diags.toc
rm -f *.stdhep *.up.stdhep *.[1-9] *.[1-9][0-9] *.[1-9][0-9][0-9]
rm -f *.tex *.mp *.mpx *.t[1-9] *.t[1-9][0-9] *.t[1-9][0-9][0-9]
rm -f *.ltp *.aux *.dvi *.ps *.pdf so_test.*
rm -f *.tbl sps1ap_decays.slha bar structure_6[a-b].out
rm -f slhaspectrum.in suspect2.out suspect2_lha.out
rm -f susyhit.in susyhit_slha.out suspect2_lha.in
rm -f *.$(WT_OMEGA_CACHE_SUFFIX)
## Remove backup files
maintainer-clean-local: maintainer-clean-fc
-rm -f *~
.PHONY: maintainer-clean-local

File Metadata

Mime Type
text/x-diff
Expires
Tue, Nov 19, 8:40 PM (1 d, 1 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3806117
Default Alt Text
(44 KB)

Event Timeline