Installing OpenPFC does not install everything
Closed this issue · 1 comments
ahojukka5 commented
Installing OpenPFC (cmake --install build) does not install the examples and apps to the installation directory (CMAKE_INSTALL_PREFIX), but they are in the build directory (in the source tree).
ahojukka5 commented
Upon further consideration, it seems that this may be desired. We only need to install the header files and libraries without any examples or apps. While we could potentially install documentation and examples for sharing purposes, it's also acceptable not to install them. Currently, we are installing the following:
-- Install configuration: "Release"
-- Installing: /opt/openpfc/dev/bin/tungsten
-- Set runtime path of "/opt/openpfc/dev/bin/tungsten" to "/opt/heffte/2.3.0/lib:/usr/lib/x86_64-linux-gnu/openmpi/lib"
-- Installing: /opt/openpfc/dev/bin/aluminumNew
-- Set runtime path of "/opt/openpfc/dev/bin/aluminumNew" to "/opt/heffte/2.3.0/lib:/usr/lib/x86_64-linux-gnu/openmpi/lib"
-- Installing: /opt/openpfc/dev/include/openpfc
-- Installing: /opt/openpfc/dev/include/openpfc/time.hpp
-- Installing: /opt/openpfc/dev/include/openpfc/results_writer.hpp
-- Installing: /opt/openpfc/dev/include/openpfc/openpfc.hpp
-- Installing: /opt/openpfc/dev/include/openpfc/decomposition.hpp
-- Installing: /opt/openpfc/dev/include/openpfc/binary_reader.hpp
-- Installing: /opt/openpfc/dev/include/openpfc/array.hpp
-- Installing: /opt/openpfc/dev/include/openpfc/simulator.hpp
-- Installing: /opt/openpfc/dev/include/openpfc/mpi.hpp
-- Installing: /opt/openpfc/dev/include/openpfc/ui.hpp
-- Installing: /opt/openpfc/dev/include/openpfc/mpi
-- Installing: /opt/openpfc/dev/include/openpfc/mpi/environment.hpp
-- Installing: /opt/openpfc/dev/include/openpfc/mpi/worker.hpp
-- Installing: /opt/openpfc/dev/include/openpfc/mpi/timer.hpp
-- Installing: /opt/openpfc/dev/include/openpfc/mpi/communicator.hpp
-- Installing: /opt/openpfc/dev/include/openpfc/field_modifier.hpp
-- Installing: /opt/openpfc/dev/include/openpfc/discrete_field.hpp
-- Installing: /opt/openpfc/dev/include/openpfc/constants.hpp
-- Installing: /opt/openpfc/dev/include/openpfc/model.hpp
-- Installing: /opt/openpfc/dev/include/openpfc/types.hpp
-- Installing: /opt/openpfc/dev/include/openpfc/world.hpp
-- Installing: /opt/openpfc/dev/include/openpfc/initial_conditions
-- Installing: /opt/openpfc/dev/include/openpfc/initial_conditions/file_reader.hpp
-- Installing: /opt/openpfc/dev/include/openpfc/initial_conditions/constant.hpp
-- Installing: /opt/openpfc/dev/include/openpfc/initial_conditions/seed_grid.hpp
-- Installing: /opt/openpfc/dev/include/openpfc/initial_conditions/random_seeds.hpp
-- Installing: /opt/openpfc/dev/include/openpfc/initial_conditions/seed.hpp
-- Installing: /opt/openpfc/dev/include/openpfc/initial_conditions/single_seed.hpp
-- Installing: /opt/openpfc/dev/include/openpfc/fft.hpp
-- Installing: /opt/openpfc/dev/include/openpfc/utils
-- Installing: /opt/openpfc/dev/include/openpfc/utils/timeleft.hpp
-- Installing: /opt/openpfc/dev/include/openpfc/utils/show.hpp
-- Installing: /opt/openpfc/dev/include/openpfc/utils/array_to_string.hpp
-- Installing: /opt/openpfc/dev/include/openpfc/utils/typename.hpp
-- Installing: /opt/openpfc/dev/include/openpfc/utils/nancheck.hpp
-- Installing: /opt/openpfc/dev/include/openpfc/utils.hpp
-- Installing: /opt/openpfc/dev/include/openpfc/multi_index.hpp
-- Installing: /opt/openpfc/dev/include/openpfc/boundary_conditions
-- Installing: /opt/openpfc/dev/include/openpfc/boundary_conditions/fixed_bc.hpp
-- Installing: /opt/openpfc/dev/include/openpfc/boundary_conditions/moving_bc.hpp
-- Installing: /opt/openpfc/dev/lib/cmake/OpenPFC/OpenPFCTargets.cmake
-- Installing: /opt/openpfc/dev/lib/cmake/OpenPFC/OpenPFCConfig.cmake
-- Installing: /opt/openpfc/dev/lib/cmake/OpenPFC/OpenPFCConfigVersion.cmake
We also have issue #41, and if we have some more general binaries, they might go to /bin. For now, I don't make any changes to this.