Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F11221392
configure
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
3 KB
Subscribers
None
configure
View Options
#! /bin/sh
#configure script for HiggsBounds
#last modified 13.10.08 KW
#will use Tim's setting (see below) unless it is run with the argument "kwpaths"
# this tells the fortran program where to look to read in tables of experimental data and Higgs branching ratios
chmod u+x ./create_store_pathname.bat
./create_store_pathname.bat > store_pathname.f90
echo
'running configure script...'
1
>
&
2
echo
' * * * '
echo
'Reminder: You must enter the correct paths in the ./configure manually if you'
echo
'wish to use HiggsBounds in conjunction with FeynHiggs or CPsuperH'
echo
'Also, you may need/wish to change the fortran compiler used. '
echo
'The default is gfortran.'
echo
' * * * '
#----------------------------
if
[[
$1
==
"kwpaths"
]]
then
cat configure_kwlaptop makefile.in > makefile
else
cat - makefile.in > makefile
<< _EOF_
# --- variables defined by configure ---
# If you want to edit these variables, change ./configure, not ./makefile
#----------------------------
# Put you favourite compiler and compiler options in here:
F90C = gfortran
F77C = gfortran
F90FLAGS = -fbounds-check -Wall -W
FHINCLUDE = -I/Users/timstefaniak/Work/Codes/FeynHiggs-2.9.4/x86_64-Darwin/include
FHLIBS = -L/Users/timstefaniak/Work/Codes/FeynHiggs-2.9.4/x86_64-Darwin/lib -lFH
#CPSUPERHLIBS = -L/Users/tim/Bonn/CPsuperH2.2 -lcpsuperh2
#other useful gfortran flags:
# -pg can then use gprof ./programname to look at how efficient program is
# -fopenmp switches on parallel processing (see HiggsBounds.F90)
# -O3 sets a high level of optimisation
#F90C = gfortran
#F77C = gfortran
#F90FLAGS = -fbounds-check -Wall -W -fixed-line-length-none
#F90C = g95
#F77C = g95
#F90FLAGS = -fbounds-check -ffree-line-length-huge
#F90C = pgf90
#F77C = pgf90
#F90FLAGS = -C -Ktrap=fp -Mbounds
#F90C = f95
#F77C = f95
#F90FLAGS = -C
#F90C = ifort
#F77C = ifort
#F90FLAGS = -C
#if using the NAG compiler, you need the compiler flag -DNAGf90Fortran
#because the subroutines flush,iargc,getarg need to use modules
#caution: the use of the NAG compiler is unsupported
#------------------------------
# If you wish to use HiggsBounds in conjunction with FeynHiggs or CPsuperH,
# make sure these paths indicate where you've stored these packages on your system,
# for example:
#FHINCLUDE = -I/blah/blah/FeynHiggs-2.6.4/i586-linux/include
#FHLIBS = -L/blah/blah/FeynHiggs-2.6.4/i586-linux/lib -lFH
#CPSUPERHLIBS = -L/blah/blah/CPsuperH2 -lcpsuperh2
# Note that care must be taken to ensure that consistent compilers are used
# If you get error messages similar to
# ... undefined reference to initialize_higgsbounds__...
# and the paths the libraries are correct, it's a good idea to check
# that the same compilers are used for each package.
# (you may be able to work around this
# e.g. if FeynHiggs was compiled with g77 it may be possible to compile HiggsBounds
# with gfortran and add -lg2c to the end of the variable FHLIBS)
#-----------------------------
HBLIBS = -L./ -lHB
EXE = HiggsBounds
#-----------------------------
USECHISQMODS = \$(CHISQMODS)
ADDITIONALDEFINE = -DenableCHISQ
# --- end defs by configure ---
_EOF_
fi
echo
'finished configure script'
1
>
&
2
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Wed, May 14, 10:23 AM (1 d, 11 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5111108
Default Alt Text
configure (3 KB)
Attached To
rHIGGSBOUNDSSVN higgsboundssvn
Event Timeline
Log In to Comment