Skip to content

Commit

Permalink
Merge pull request #1248 from NNPDF/rmrevolve
Browse files Browse the repository at this point in the history
removing revolve and obsolete scripts
  • Loading branch information
Zaharid authored May 27, 2021
2 parents 2dac5d4 + 7e383f4 commit 0bbb8cf
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 362 deletions.
4 changes: 0 additions & 4 deletions nnpdfcpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ set(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}/binaries)
# execute project specific targets
add_subdirectory(src)

# install scripts
install(FILES ${PROJECT_SOURCE_DIR}/nnpdfcpp/scripts/fitmanager
DESTINATION bin PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)

# install data
install(DIRECTORY ${PROJECT_SOURCE_DIR}/nnpdfcpp/data/ DESTINATION ${PROFILE_PREFIX}/data/ MESSAGE_NEVER)

Expand Down
7 changes: 3 additions & 4 deletions nnpdfcpp/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# nnpdfcpp
The main programs used in the NNPDF fitting framework.
The main programs used in the NNPDF fitting framework.

## Project summary and aim

This project contains the principle fitting code of the NNPDF collaboration,
Expand All @@ -13,6 +13,5 @@ The main projects are
but filter.

and the extra optional programs:
- revolve: (re-)evolve PDF set using APFEL
- revolvenet: (re-)evolve PDF neural network using APFEL
- evolvefit: evolve PDF neural network using APFEL
- fiatlux: generate a T0 set with the photon PDF via `libfiatlux`
72 changes: 0 additions & 72 deletions nnpdfcpp/scripts/fitmanager

This file was deleted.

208 changes: 0 additions & 208 deletions nnpdfcpp/scripts/postrevolvenet

This file was deleted.

17 changes: 4 additions & 13 deletions nnpdfcpp/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ endif(COMPILE_chi2check)
# )
# # validphys
# option(COMPILE_validphys "Compile validphys program." OFF)
# if (COMPILE_validphys)
# if (COMPILE_validphys)
# add_executable(validphys validphys/src/validphys.cc
# validphys/src/plotdata.cc
# validphys/src/plotutils.cc)
Expand All @@ -72,16 +72,7 @@ endif(COMPILE_chi2check)
# message(WARNING "ROOT not found: validphys compilation is disabled, install ROOT and rerun cmake to enable the validphys compilation")
#endif(ROOT_CONFIG)

# revolve
option(COMPILE_revolve "Compile revolve program." OFF)
if (COMPILE_revolve)
add_executable(revolve revolve/src/revolve.cc)
target_link_libraries(revolve common nnpdf ${LHAPDF_LIBRARIES} ${YAML_LDFLAGS} ${ROOT_LIBRARIES} ${APFEL_LIBRARIES} ${GSL_LDFLAGS})
install(TARGETS revolve DESTINATION bin
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
endif(COMPILE_revolve)

# revolvenet
# evolvefit
option(COMPILE_evolvefit "Compile evolvefit program." OFF)
if (COMPILE_evolvefit)
add_executable(evolvefit
Expand All @@ -90,7 +81,7 @@ if (COMPILE_evolvefit)
include_directories(evolvefit/inc nnfit/inc)
target_link_libraries(evolvefit common nnpdf ${YAML_LDFLAGS} ${APFEL_LIBRARIES} ${GSL_LDFLAGS})
install(TARGETS evolvefit DESTINATION bin
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
endif(COMPILE_evolvefit)

# libfiatlux
Expand All @@ -114,5 +105,5 @@ if (FIATLUX_CONFIG)
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
endif(COMPILE_fiatlux)
else(FIATLUX_CONFIG)
message(WARNING "libfiatlux not found: fiatlux compilation is disabled, install libfiatlux and rerun cmake to enable the fiatlux compilation")
message(WARNING "libfiatlux not found: fiatlux compilation is disabled, install libfiatlux and rerun cmake to enable the fiatlux compilation")
endif(FIATLUX_CONFIG)
Loading

0 comments on commit 0bbb8cf

Please sign in to comment.