Open ohearnk opened 6 years ago
Hi,
From your output, it looks as though parts of the cbtf-krell install failed.
I'm not sure what the original build lines were (before the --skip lines were added), but just in case I will put a couple of thoughts out.
If you have some of the components installed (not via the install-tool build), then they would need to be specified in the install-tool command instead of the --skip lines. Not sure if that is the case.
For example if papi was installed in /opt/papi-5.6.0 then the
install-tool commands would need: install-tool --build-krell-root
--krell-root-prefix
That is one possible idea on what could be wrong.
This is my Fedora build and it looks close to what you have, except for the --skip commands.
BASE_DIR=/opt/OSS/rel TOOL_VERS="_v2.4.0.release" ROOT_VERS="_v2.4.0.release"
OPENMPI_IDIR=/opt/openmpi-2.0.3
KROOT_IDIR=${BASE_DIR}/krellroot${ROOT_VERS} CBTF_IDIR=${BASE_DIR}/cbtf${TOOL_VERS} OSSCBTF_IDIR=${BASE_DIR}/osscbtf${TOOL_VERS}
./install-tool --verbose --build-krell-root --krell-root-prefix ${KROOT_IDIR} --with-openmpi ${OPENMPI_IDIR} 2>&1 | tee install_tool_build_krell_root.log
cbtf-argonavis (gpu support), cbtf-lanl (sys admin tools) ./install-tool --verbose --build-cbtf-all --cbtf-prefix ${CBTF_IDIR} --krell-root-prefix ${KROOT_IDIR} --with-openmpi ${OPENMPI_IDIR} 2>&1 | tee install_tool_build_cbtf.log
./install-tool --verbose --build-oss --openss-prefix ${OSSCBTF_IDIR} --cbtf-prefix ${CBTF_IDIR} --krell-root-prefix ${KROOT_IDIR} --with-openmpi ${OPENMPI_IDIR} 2>&1 | tee install_tool_build_oss.log
If you want to capture the build output and send it to the help alias: oss_contact@krellinst.org or to the forum alias: oss-questions@krellinst.org we can take a closer look.
Sorry that you ran into build issues.
Jim G
On 11/17/2018 04:13 PM, ohearnk wrote:
Hello,
I recently ran into a build failure due to not found CMake variables on the v2.4.0 release. The same error occurred when building Krellroot, CBTF, and OSS separately or all in one. Note that the error occurs when building the OSS component specifically.
Any help on diagnosing and correcting these issues would be appreciated. Note that I am buliding on a Fedora-style distro and have several of the software dependencies already installed (hence the --skip-* flags below).
The build commands I used are below. Note that I was testing the build and installing into a non-root local directory. Also, I have redacted some directory information for privacy. Let me know if further clarification is needed.
|# Attempt 1: separate build steps ./install-tool --build-krell-root --krell-root-prefix ${HOME}/krellroot/2.4.0 --with-openmpi /usr/lib64/openmpi --skip-cmake-build --skip-binutils-build --skip-libdwarf-build --skip-libelf-build --skip-libunwind-build --skip-qt3-build --skip-sqlite-build ./install-tool --build-cbtf-all --cbtf-prefix ${HOME}/cbtf/2.4.0 --krell-root-prefix ${HOME}/krellroot/2.4.0 --with-openmpi /usr/lib64/openmpi ./install-tool --build-oss --openss-prefix ${HOME}/osscbtf/2.4.0 --cbtf-prefix ${HOME}/cbtf/2.4.0 --krell-root-prefix ${HOME}/krellroot/2.4.0 --with-openmpi /usr/lib64/openmpi # Attempt 2: build all at once ./install-tool --build-all --krell-root-prefix ${HOME}/krellroot/2.4.0 --cbtf-prefix ${HOME}/cbtf/2.4.0 --openss-prefix ${HOME}/osscbtf/2.4.0 --with-openmpi /usr/lib64/openmpi --skip-cmake-build --skip-binutils-build --skip-libdwarf-build --skip-libelf-build --skip-libunwind-build --skip-qt3-build --skip-sqlite-build |
The aforementioned CMake error:
|CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: REDACTED/openspeedshop-release-2.4/BUILD/REDACTED/openspeedshop-2.4.0/libopenss-framework/CBTF_KRELL_MESSAGES_INCLUDE_DIR used as include directory in directory REDACTED/openspeedshop-release-2.4/BUILD/REDACTED/openspeedshop-2.4.0/libopenss-framework used as include directory in directory REDACTED/openspeedshop-release-2.4/BUILD/REDACTED/openspeedshop-2.4.0/libopenss-framework used as include directory in directory REDACTED/openspeedshop-release-2.4/BUILD/REDACTED/openspeedshop-2.4.0/libopenss-framework REDACTED/openspeedshop-release-2.4/BUILD/REDACTED/openspeedshop-2.4.0/openss/CBTF_KRELL_CORE_INCLUDE_DIR used as include directory in directory REDACTED/openspeedshop-release-2.4/BUILD/REDACTED/openspeedshop-2.4.0/openss CBTF_KRELL_CORE_LIBRARY (ADVANCED) linked by target "openss-framework-cbtf" in directory REDACTED/openspeedshop-release-2.4/BUILD/REDACTED/openspeedshop-2.4.0/libopenss-framework CBTF_KRELL_CORE_MRNET_LIBRARY (ADVANCED) linked by target "openss-framework-cbtf" in directory REDACTED/openspeedshop-release-2.4/BUILD/REDACTED/openspeedshop-2.4.0/libopenss-framework linked by target "osscollect" in directory REDACTED/openspeedshop-release-2.4/BUILD/REDACTED/openspeedshop-2.4.0/openss CBTF_KRELL_CORE_SYMTABAPI_LIBRARY (ADVANCED) linked by target "osscollect" in directory REDACTED/openspeedshop-release-2.4/BUILD/REDACTED/openspeedshop-2.4.0/openss CBTF_KRELL_MESSAGES_EVENTS_SHARED_LIBRARY (ADVANCED) linked by target "openss-framework-symtabapi" in directory REDACTED/openspeedshop-release-2.4/BUILD/REDACTED/openspeedshop-2.4.0/libopenss-framework CBTF_KRELL_MESSAGES_PERFDATA_SHARED_LIBRARY (ADVANCED) linked by target "openss-framework" in directory REDACTED/openspeedshop-release-2.4/BUILD/REDACTED/openspeedshop-2.4.0/libopenss-framework -- Configuring incomplete, errors occurred! See also "REDACTED/openspeedshop-release-2.4/BUILD/REDACTED/openspeedshop-2.4.0/build/CMakeFiles/CMakeOutput.log". See also "REDACTED/openspeedshop-release-2.4/BUILD/REDACTED/openspeedshop-2.4.0/build/CMakeFiles/CMakeError.log". make: No rule to make target 'clean'. Stop. make: No targets specified and no makefile found. Stop. make: *** No rule to make target 'install'. Stop. REDACTED/openspeedshop-release-2.4/BUILD/REDACTED/openspeedshop-2.4.0 REDACTED/openspeedshop-release-2.4/BUILD/REDACTED REDACTED/openspeedshop-release-2.4 REDACTED/openspeedshop-release-2.4/BUILD/REDACTED REDACTED/openspeedshop-release-2.4 --------------------- PTGF OSS GUI BUILD --------------------------- --------------------- PTGF OSS GUI BUILD --------------------------- --------------------- PTGF OSS GUI BUILD --------------------------- force_ptgf_build= 0 only_build_ptgf= 0 build_ptgf_by_default= 0 OPENSS_BUILD_TASK= onlyosscbtf build_oss_runtime_only= 0 nanswer= 9 --------------------- PTGF OSS GUI BUILD --------------------------- --------------------- PTGF OSS GUI BUILD --------------------------- --------------------- PTGF OSS GUI BUILD --------------------------- |
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/OpenSpeedShop/openspeedshop/issues/8, or mute the thread https://github.com/notifications/unsubscribe-auth/AAmdtSGkbzwkS1nOO2ChgBzIqmjqbF09ks5uwIoagaJpZM4Ynq0o.
Replying here is also ok. I didn't realize the post came from this issue list.
Jim,
I just had a similar problem with O|SS 2.4.1. I tried e-mailing you at the oss_contact@krellinst.org address, but it bounced. Shall I go into details here and attach my build log?
Saludos, Gerardo
Hello,
I recently ran into a build failure due to not found CMake variables on the v2.4.0 release. The same error occurred when building Krellroot, CBTF, and OSS separately or all in one. Note that the error occurs when building the OSS component specifically.
Any help on diagnosing and correcting these issues would be appreciated. Note that I am buliding on a Fedora-style distro and have several of the software dependencies already installed (hence the --skip-* flags below).
The build commands I used are below. Note that I was testing the build and installing into a non-root local directory. Also, I have redacted some directory information for privacy. Let me know if further clarification is needed.
The aforementioned CMake error: