forked from alisw/AliRoot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LHAPDF veraion 5.9.1 https://alice.its.cern.ch/jira/browse/ALIROOT-5648 extension .F -> .f .F deleted correction roll back of previous commit extension .F matters for preprocessor directives external declaration added removed since there are problems on certain platforms. extension changed Cmake for new lhapdf version Fix for include path for Fortran file LHAPDF5.9.1 always requires -DCTEQ flag Remove Pydat1 common block from lhaglue Set ill-formed small numbers to 0 The LHgrid files contains some very small values, which should be 0. If the value exponent is a negative number with three digits the exponential notation is dropped. This seems to be harmless, except when running pre-compiled code on grid.
- Loading branch information
Showing
118 changed files
with
107,489 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,131 @@ | ||
# -*- mode: cmake -*- | ||
|
||
#--------------------------------------------------------------------------------# | ||
# Package File for lhapdf # | ||
# Author : Johny Jose ([email protected]) # | ||
# Variables Defined : # | ||
# # | ||
# SRCS - C++ source files # | ||
# HDRS - C++ header files # | ||
# DHDR - ROOT Dictionary Linkdef header file # | ||
# CSRCS - C source files # | ||
# CHDRS - C header files # | ||
# EINCLUDE - Include directories # | ||
# EDEFINE - Compiler definitions # | ||
# ELIBS - Extra libraries to link # | ||
# ELIBSDIR - Extra library directories # | ||
# PACKFFLAGS - Fortran compiler flags for package # | ||
# PACKCXXFLAGS - C++ compiler flags for package # | ||
# PACKCFLAGS - C compiler flags for package # | ||
# PACKSOFLAGS - Shared library linking flags # | ||
# PACKLDFLAGS - Module linker flags # | ||
# PACKBLIBS - Libraries to link (Executables only) # | ||
# EXPORT - Header files to be exported # | ||
# CINTHDRS - Dictionary header files # | ||
# CINTAUTOLINK - Set automatic dictionary generation # | ||
# ARLIBS - Archive Libraries and objects for linking (Executables only) # | ||
# SHLIBS - Shared Libraries and objects for linking (Executables only) # | ||
#--------------------------------------------------------------------------------# | ||
|
||
set ( SRCS AliStructFuncType.cxx lhapdf-5.9.1/src/version.cxx lhapdf-5.9.1/src/getdatapath.cxx) | ||
|
||
set ( HDRS AliStructFuncType.h) | ||
|
||
set ( DHDR lhapdfLinkDef.h) | ||
|
||
set_property(DIRECTORY PROPERTY INCLUDE_DIRECTORIES "") | ||
set ( EINCLUDE LHAPDF/lhapdf-5.9.1 LHAPDF/lhapdf-5.9.1/include LHAPDF/lhapdf-5.9.1/src) | ||
|
||
set ( CSRCS lhapdf-5.9.1/src/binreloc.c ) | ||
|
||
set ( FSRCS | ||
lhapdf-5.9.1/src/alphas.f | ||
lhapdf-5.9.1/src/commoninit.f | ||
lhapdf-5.9.1/src/description.f | ||
lhapdf-5.9.1/src/eks98.f | ||
lhapdf-5.9.1/src/eksarp.f | ||
lhapdf-5.9.1/src/eps08.f | ||
lhapdf-5.9.1/src/eps09.f | ||
lhapdf-5.9.1/src/EVLCTEQ.f | ||
lhapdf-5.9.1/src/EVLNNPDF.f | ||
lhapdf-5.9.1/src/evolution.f | ||
lhapdf-5.9.1/src/inputPDF.F | ||
lhapdf-5.9.1/src/LHpdflib.F | ||
lhapdf-5.9.1/src/parameter.F | ||
lhapdf-5.9.1/src/QCDNUM.F | ||
lhapdf-5.9.1/src/QCDparams.f | ||
lhapdf-5.9.1/src/Smrst.f | ||
lhapdf-5.9.1/src/Sqcdnum.f | ||
lhapdf-5.9.1/src/Szeus.f | ||
lhapdf-5.9.1/src/uncertainties.f | ||
lhapdf-5.9.1/src/wrapNNPDF.f | ||
lhapdf-5.9.1/src/wrapNNPDF20grid.f | ||
lhapdf-5.9.1/src/wrapNNPDF20qedgrid.f | ||
lhapdf-5.9.1/src/wrapNNPDFgrid.f | ||
lhapdf-5.9.1/src/wrapa02m.f | ||
lhapdf-5.9.1/src/wrapabfkwpi.f | ||
lhapdf-5.9.1/src/wrapabkm09.f | ||
lhapdf-5.9.1/src/wrapabm11.f | ||
lhapdf-5.9.1/src/wrapacfgpg.f | ||
lhapdf-5.9.1/src/wrapct12.f | ||
lhapdf-5.9.1/src/wrapcteq5.f | ||
lhapdf-5.9.1/src/wrapcteq6.f | ||
lhapdf-5.9.1/src/wrapcteq65.f | ||
lhapdf-5.9.1/src/wrapcteq6lg.f | ||
lhapdf-5.9.1/src/wrapdgg.f | ||
lhapdf-5.9.1/src/wrapdog.f | ||
lhapdf-5.9.1/src/wrapEVLCTEQ.f | ||
lhapdf-5.9.1/src/wrapevolve.F | ||
lhapdf-5.9.1/src/wrapgjr.f | ||
lhapdf-5.9.1/src/wrapgrv.f | ||
lhapdf-5.9.1/src/wrapgrvg.f | ||
lhapdf-5.9.1/src/wrapgrvpi.f | ||
lhapdf-5.9.1/src/wrapgsg96.f | ||
lhapdf-5.9.1/src/wrapgsg.f | ||
lhapdf-5.9.1/src/wraph1.f | ||
lhapdf-5.9.1/src/wraphera.f | ||
lhapdf-5.9.1/src/wrapheragrid.f | ||
lhapdf-5.9.1/src/wraphkn.f | ||
lhapdf-5.9.1/src/wraplacg.f | ||
lhapdf-5.9.1/src/wrapowpi.f | ||
lhapdf-5.9.1/src/wrapmrst.f | ||
lhapdf-5.9.1/src/wrapmrst2006.f | ||
lhapdf-5.9.1/src/wrapmrst98.f | ||
lhapdf-5.9.1/src/wrapmrstqed.f | ||
lhapdf-5.9.1/src/wrapQCDNUM3.f | ||
lhapdf-5.9.1/src/wrapQCDNUM4.f | ||
lhapdf-5.9.1/src/wrapQCDNUM.F | ||
lhapdf-5.9.1/src/wrapsasg.f | ||
lhapdf-5.9.1/src/wrapmstw.f | ||
lhapdf-5.9.1/src/wrapsmrspi.f | ||
lhapdf-5.9.1/src/wrapwhitg.f | ||
lhapdf-5.9.1/src/wrapzeus.f | ||
lhapdf-5.9.1/src/lhaglue.f | ||
lhapdf-5.9.1/src/wrapUSER.f | ||
lhapdf-5.9.1/src/wrapusergrid.f | ||
lhapdf-5.9.1/src/wrapXNN.f | ||
) | ||
|
||
if( ALICE_TARGET STREQUAL "solarisCC5") | ||
set ( PACKFFLAGS "${FFLAGS} -free") | ||
elseif( ALICE_TARGET STREQUAL "linuxx8664icc") | ||
set ( PACKFFLAGS "${FFLAGS} -nofixed" ) | ||
else() | ||
set ( PACKFFLAGS "${FFLAGS} -ffree-form") | ||
endif( ALICE_TARGET STREQUAL "solarisCC5") | ||
|
||
set ( PACKFFLAGS "${PACKFFLAGS} -DCTEQ") | ||
|
||
set( PACKCXXFLAGS "${CXXFLAGS} -DDEFAULTPREFIXPATH=\\\"NONE\\\" -DDEFAULTLHAPATH=\\\"${ALICE_ROOT}/LHAPDF/PDFsets\\\"" ) | ||
|
||
|
||
set ( EXPORT AliStructFuncType.h) | ||
|
||
#--------------------------------------------------------------------------------# | ||
# install PDF data | ||
install ( DIRECTORY PDFsets | ||
DESTINATION LHAPDF | ||
PATTERN ".svn" EXCLUDE | ||
PATTERN ".d" EXCLUDE | ||
PATTERN ".so" EXCLUDE) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
//#ifndef LHAPDF_FORTRANWRAPPERS_H | ||
//#define LHAPDF_FORTRANWRAPPERS_H | ||
|
||
/* Define to dummy `main' function (if any) required to link to the Fortran | ||
libraries. */ | ||
//#undef FC_DUMMY_MAIN | ||
|
||
/* Define if F77 and FC dummy `main' functions are identical. */ | ||
//#undef FC_DUMMY_MAIN_EQ_F77 | ||
|
||
/* Define to a macro mangling the given C identifier (in lower and upper | ||
case), which must not contain underscores, for linking with Fortran. */ | ||
//#undef FC_FUNC | ||
|
||
/* As FC_FUNC, but for C identifiers containing underscores. */ | ||
//#undef FC_FUNC_ | ||
|
||
//#endif | ||
|
||
/* include/LHAPDF/FortranWrappers.h. Generated from FortranWrappers.h.in by configure. */ | ||
/* Define to dummy `main' function (if any) required to link to the Fortran | ||
libraries. */ | ||
/* #undef FC_DUMMY_MAIN */ | ||
|
||
/* Define if F77 and FC dummy `main' functions are identical. */ | ||
/* #undef FC_DUMMY_MAIN_EQ_F77 */ | ||
|
||
/* Define to a macro mangling the given C identifier (in lower and upper | ||
case), which must not contain underscores, for linking with Fortran. */ | ||
#define FC_FUNC(name,NAME) name ## _ | ||
|
||
/* As FC_FUNC, but for C identifiers containing underscores. */ | ||
#define FC_FUNC_(name,NAME) name ## _ | ||
|
||
/* As FC_FUNC, but for C identifiers containing underscores. */ | ||
#define FC_FUNC_(name,NAME) name ## _ | ||
|
||
/* LHAPDF version string */ | ||
#define PACKAGE_VERSION "5.9.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#ifndef LHAPDF_FORTRANWRAPPERS_H | ||
#define LHAPDF_FORTRANWRAPPERS_H | ||
|
||
/* Define to dummy `main' function (if any) required to link to the Fortran | ||
libraries. */ | ||
#undef FC_DUMMY_MAIN | ||
|
||
/* Define if F77 and FC dummy `main' functions are identical. */ | ||
#undef FC_DUMMY_MAIN_EQ_F77 | ||
|
||
/* Define to a macro mangling the given C identifier (in lower and upper | ||
case), which must not contain underscores, for linking with Fortran. */ | ||
#undef FC_FUNC | ||
|
||
/* As FC_FUNC, but for C identifiers containing underscores. */ | ||
#undef FC_FUNC_ | ||
|
||
#endif |
Oops, something went wrong.