IAP GITLAB

Commit 18062d73 authored by Matthieu Carrere's avatar Matthieu Carrere

deleted 2 warnings and disable PAPI search in makelist

parent 433384be
Pipeline #3689 failed with stages
in 1 minute and 8 seconds
......@@ -90,17 +90,17 @@ add_compile_options (
$<$<OR:$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang>>:-Wno-nonportable-include-path>
)
#+++++++++++++++++++++++++++++
# add flags for papi module if installed
if (DEFINED ENV{PAPI_DIR})
message(STATUS "PAPI_DIR env seen: --[$ENV{PAPI_DIR}]--")
set(PAPI_PREFIX $ENV{PAPI_DIR})
find_package(PAPI REQUIRED)
include_directories(${PAPI_INCLUDE_DIRS})
add_compile_options("-lpapi")
else()
message(STATUS "No Papi module found ! ")
endif()
# #+++++++++++++++++++++++++++++
# # add flags for papi module if installed
# if (DEFINED ENV{PAPI_DIR})
# message(STATUS "PAPI_DIR env seen: --[$ENV{PAPI_DIR}]--")
# set(PAPI_PREFIX $ENV{PAPI_DIR})
# find_package(PAPI REQUIRED)
# include_directories(${PAPI_INCLUDE_DIRS})
# add_compile_options("-lpapi")
# else()
# message(STATUS "No Papi module found ! ")
# endif()
#+++++++++++++++++++++++++++++
# Build types settings
......
......@@ -27,10 +27,10 @@ namespace corsika::cherenkov {
LengthType topAtmosphere,
LengthType observationLevel,
std::string atmoDirectory)
: atmosphereProfileNumber_{atmosphereNumber}
: atmoFile_{atmoDirectory}
, atmosphereProfileNumber_{atmosphereNumber}
, atmosphereTop_{topAtmosphere}
, observationLevel_{observationLevel}
, atmoFile_{atmoDirectory} {
, observationLevel_{observationLevel} {
atmoFile_ += "atmosphere/atmprof";
loadAtmosphereProfile();
observationLevelRefid_ = getRefractionIndexByHeight(observationLevel_);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment