Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
8c601b2
src/Evolution/LHAPDFgrid.f
vbertone Jan 18, 2022
0a9ce7b
Introducing independent scale variations for PDFs and alpha_s
vbertone Jan 18, 2022
b8959f7
First version of code with independent variations of the resummation …
vbertone Jan 19, 2022
e309fd5
Adjusting treatment of thresholds in the presence of scale variations
vbertone Jan 19, 2022
a86b658
Adjustments
vbertone Feb 5, 2022
4473840
restoring external set when configuring with autotools (may now be br…
vbertone Apr 17, 2022
27dfc0a
Fixing configuration problem on Linux
vbertone Apr 17, 2022
5f22cf8
Adding preprocessor flag for f77
vbertone Apr 17, 2022
e39f6e5
Merge pull request #6 from vbertone/master
vbertone Jul 20, 2022
370da07
Working on CMake (it works on Linux)
vbertone Aug 17, 2022
bace6b2
Making external input functions work on Mac through CMake
vbertone Aug 17, 2022
8dac68c
Cleaning up code
vbertone Aug 17, 2022
1553370
Adjusting CircleCI
vbertone Aug 17, 2022
88aa2ce
Very minor adjustment
vbertone Aug 17, 2022
e8b3028
Adjusting configuration script
vbertone Sep 1, 2022
cea88cf
Cleaning
vbertone Sep 1, 2022
c8cc0e4
Merge branch 'master' into cmake_only
vbertone Sep 21, 2022
5c12c73
Fixing python deprecation warning
vbertone Sep 22, 2022
960568d
Merge branch 'cmake_only' of github.com:vbertone/apfel into cmake_only
vbertone Sep 22, 2022
45ebce5
Cleaning up CMakeList file
vbertone Sep 22, 2022
70dc747
Fixing uninfluential bug giving problems when a debugger is enabled
vbertone Oct 5, 2022
700400c
Including missing piece in the NNLO polarised splitting functions
vbertone Feb 16, 2023
9863369
Unlocking polarised evolution in the VFNS up to NNLO
vbertone Feb 16, 2023
c479719
Updating CMakeLists.txt
vbertone Nov 22, 2024
b962604
Updating CircleCI config
vbertone Nov 22, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,10 @@ version: 2.1
jobs:
build:
machine:
image: ubuntu-2004:202201-02
image: ubuntu-2204:2023.10.1
steps:
- checkout
- run: sudo apt-get update
- run: sudo apt-get install gfortran g++ gcc
- run: autoreconf -f -i
- run: ./configure --disable-lhapdf && make
- run: ./examples/Luminosity
- run: ./examples/Tabulation < examples/input.txt
- run: ./examples/SumRules < examples/input.txt
- run: ./examples/DISObservables < examples/input.txt
- run: ./examples/CheckAPFEL
- run: cmake . && make -j8
- run: ctest -V
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ pywrap/setup.py
*.dirstamp
*.table
*.info
include/APFEL/version.h
pywrap/build
pywrap/APFEL.egg-info/
pywrap/dist/
examples/DISObservables
examples/DISObservablesCxx
examples/LHgridDerivativeProduction
Expand Down
2 changes: 0 additions & 2 deletions AUTHORS

This file was deleted.

41 changes: 19 additions & 22 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
# BASIC DEFINITIONS ========================================================================

# define minimum version of cmake
cmake_minimum_required (VERSION 3.5)
cmake_minimum_required (VERSION 3.10)

cmake_policy(SET CMP0086 OLD)
cmake_policy(SET CMP0078 OLD)
#cmake_policy(SET CMP0086 OLD)
#cmake_policy(SET CMP0078 OLD)

# define project name, version and its languages
project(apfel CXX Fortran)
set(apfel_VERSION 3.0.7)
set(apfel_VERSION 3.0.8)

# export version to file
configure_file(
"${PROJECT_SOURCE_DIR}/include/APFEL/version.h.in"
"${PROJECT_SOURCE_DIR}/include/APFEL/version.h"
)

# define c++ standard and issue all the warning demanded by this standard
set(CMAKE_BUILD_TYPE Release)
Expand All @@ -30,7 +36,6 @@ set(prefix ${CMAKE_INSTALL_PREFIX})
set(exec_prefix "${prefix}")
set(includedir "${prefix}/include")
set(libdir "${prefix}/lib")
set(PACKAGE_VERSION "${apfel_VERSION}")
configure_file("${PROJECT_SOURCE_DIR}/bin/apfel-config.in" "${PROJECT_SOURCE_DIR}/bin/apfel-config")

# Fortran wrappers =========================================================================
Expand All @@ -42,21 +47,18 @@ configure_file("${PROJECT_SOURCE_DIR}/include/APFEL/FortranWrappers.h.cmake" "${
# LHAPDF
find_program(LHAPDF_CONFIG lhapdf-config)
if (LHAPDF_CONFIG)
exec_program(${LHAPDF_CONFIG}
ARGS --cxxflags
OUTPUT_VARIABLE LHAPDF_CXX_FLAGS
)
set(LHAPDF_CXX_FLAGS ${LHAPDF_CXX_FLAGS} CACHE STRING INTERNAL)
exec_program(${LHAPDF_CONFIG}
ARGS --ldflags
OUTPUT_VARIABLE LHAPDF_LIBRARIES
)
set(LHAPDF_LIBRARIES ${LHAPDF_LIBRARIES} CACHE STRING INTERNAL)
execute_process(COMMAND ${LHAPDF_CONFIG} --cxxflags OUTPUT_VARIABLE LHAPDF_CXX_FLAGS OUTPUT_STRIP_TRAILING_WHITESPACE)
execute_process(COMMAND ${LHAPDF_CONFIG} --libs OUTPUT_VARIABLE LHAPDF_LIBRARIES OUTPUT_STRIP_TRAILING_WHITESPACE)
set(LHAPDF_CXX_FLAGS ${LHAPDF_CXX_FLAGS} CACHE STRING INTERNAL)
set(LHAPDF_LIBRARIES ${LHAPDF_LIBRARIES} CACHE STRING INTERNAL)
else(LHAPDF_CONFIG)
add_compile_definitions(NOLHAPDF)
message("LHAPDF not found!")
message("-- LHAPDF not found")
endif(LHAPDF_CONFIG)

# LHAPDF
find_program(LHAPDF_CONFIG lhapdf-config)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${LHAPDF_CXX_FLAGS} -Wall -fPIC -Wunused")

# generate list of source files
Expand All @@ -79,7 +81,7 @@ enable_testing()
add_subdirectory(examples)

# define target library
set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib)
set(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/lib)

# install
install(TARGETS apfel
Expand All @@ -90,8 +92,3 @@ install(FILES ${PROJECT_SOURCE_DIR}/bin/apfel-config
${CMAKE_CURRENT_BINARY_DIR}/examples/CheckAPFEL ${CMAKE_CURRENT_BINARY_DIR}/examples/ListFunctions DESTINATION bin
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ
GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)

find_package(Python3 REQUIRED)
execute_process(COMMAND "${Python3_EXECUTABLE}" -c "import sysconfig; print('${CMAKE_INSTALL_PREFIX}' + sysconfig.get_path('purelib').replace(sysconfig.get_path('data'), ''), end = '')" OUTPUT_VARIABLE PYTHON_INSTALLATION_PATH)
install(TARGETS _apfel DESTINATION "${PYTHON_INSTALLATION_PATH}")
install(FILES ${CMAKE_BINARY_DIR}/pywrap/apfel.py DESTINATION ${PYTHON_INSTALLATION_PATH})
Loading