-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error finding papi when using internal PaRSEC #111
Comments
@josephjohnjj this sounds like broken parsec installation, @therault do you agree? |
It looks to me as if PaRSEC found PAPI at /usr/local/lib/libpapi.so and added it to the EXTRA_LIBS. The upper level seems to fail to use that information correctly. |
This is not really a PAPI problem. The real error is here:
It seems that TTG found externally-installed (via TTG proceeds further assuming that it failed to find installed PaRSEC and tries to build PaRSEC itself, but that's a secondary issue (I think it's due to |
@josephjohnjj Is this still an issue? |
I used the internal parsec to cmake TTG. The papi library is found but it still generates error. This does not happen when TTG is pointed to an external parsec installation.
cmake .. -DCMAKE_INSTALL_PREFIX=/home/joseph/ttg/build/install -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc
-- The CXX compiler identification is GNU 9.3.0
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- EIGEN3_FOUND=1
-- Found Boost 1.70.0 at /usr/local/lib/cmake/Boost-1.70.0
-- Requested configuration: QUIET OPTIONAL_COMPONENTS serialization
-- Found boost_headers 1.70.0 at /usr/local/lib/cmake/boost_headers-1.70.0
-- Found boost_serialization 1.70.0 at /usr/local/lib/cmake/boost_serialization-1.70.0
-- libboost_serialization.a
-- Adding boost_serialization dependencies: headers
-- Found Boost at /usr/local/lib/cmake/Boost-1.70.0/BoostConfig.cmake; includes Boost::serialization
CMake Warning at cmake/modules/FindOrFetchCereal.cmake:4 (find_package):
By not providing "Findcereal.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "cereal", but
CMake did not find one.
Could not find a package configuration file provided by "cereal" with any
of the following names:
Add the installation prefix of "cereal" to CMAKE_PREFIX_PATH or set
"cereal_DIR" to a directory containing one of the above files. If "cereal"
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
CMakeLists.txt:54 (include)
-- The C compiler identification is GNU 9.3.0
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of long double
-- Check size of long double - done
-- Check size of long long
-- Check size of long long - done
-- Using CMAKE_INSTALL_PREFIX = /home/joseph/ttg/build/install
-- Looking for a CUDA compiler
-- Looking for a CUDA compiler - NOTFOUND
-- No CUDA support in BLAS++
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- blaspp_id = 9097d6b
-- Looking for BLAS libraries and options
default (no library)
libs:
-DBLAS_FORTRAN_ADD_ no (didn't link: routine not found)
-DBLAS_FORTRAN_LOWER no (didn't link: routine not found)
-DBLAS_FORTRAN_UPPER no (didn't link: routine not found)
Intel MKL lp64, GNU threads (gomp), gfortran
libs: -lmkl_gf_lp64 -lmkl_gnu_thread -lmkl_core
-DBLAS_FORTRAN_ADD_ no (library not found)
Intel MKL ilp64, GNU threads (gomp), gfortran
libs: -lmkl_gf_ilp64 -lmkl_gnu_thread -lmkl_core
-DBLAS_FORTRAN_ADD_ no (library not found)
Intel MKL lp64, sequential, gfortran
libs: -lmkl_gf_lp64 -lmkl_sequential -lmkl_core
-DBLAS_FORTRAN_ADD_ no (library not found)
Intel MKL ilp64, sequential, gfortran
libs: -lmkl_gf_ilp64 -lmkl_sequential -lmkl_core
-DBLAS_FORTRAN_ADD_ no (library not found)
Intel MKL lp64, sequential, ifort
libs: -lmkl_intel_lp64 -lmkl_sequential -lmkl_core
-DBLAS_FORTRAN_ADD_ no (library not found)
Intel MKL ilp64, sequential, ifort
libs: -lmkl_intel_ilp64 -lmkl_sequential -lmkl_core
-DBLAS_FORTRAN_ADD_ no (library not found)
IBM ESSL int (lp64), multi-threaded, with OpenMP
libs: -lesslsmp
-DBLAS_FORTRAN_ADD_ no (library not found)
IBM ESSL int64 (ilp64), multi-threaded, with OpenMP
libs: -lesslsmp6464
-DBLAS_FORTRAN_ADD_ no (library not found)
IBM ESSL int (lp64), sequential
libs: -lessl
-DBLAS_FORTRAN_ADD_ no (library not found)
IBM ESSL int64 (ilp64), sequential
libs: -lessl6464
-DBLAS_FORTRAN_ADD_ no (library not found)
OpenBLAS
libs: -lopenblas
-DBLAS_FORTRAN_ADD_ no (library not found)
Apple Accelerate
libs: -framework Accelerate
-DBLAS_FORTRAN_ADD_ no (library not found)
generic
libs: -lblas
-DBLAS_FORTRAN_ADD_ yes
Found BLAS library: -lblas
-- Checking BLAS library version
-- Checking BLAS complex return type
BLAS (zdotc) returns complex (GNU gfortran convention)
-- Checking BLAS float return type
BLAS (sdot) returns float as float (standard)
-- Checking for CBLAS library
Found CBLAS library
-- Using CMAKE_INSTALL_PREFIX = /home/joseph/ttg/build/install
-- lapackpp_id = 213d13e
-- Check for BLAS++
BLAS++ already included
-- Looking for LAPACK libraries and options
In BLAS library no (didn't link: routine not found)
-llapack yes
Found LAPACK library: -llapack
-- Checking LAPACK version
LAPACK version 3.09.00 (30900)
-- Checking for XBLAS
XBLAS not found.
-- Checking for LAPACKE library
-- Checking for LAPACKE library -llapacke
Found LAPACKE library: -llapacke
-- Looking for mkl_dimatcopy
-- Looking for mkl_dimatcopy - not found
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.17") found components: doxygen dot
-- Found Git: /usr/bin/git (found version "2.25.1")
-- === BTAS Package/Feature Info ===
-- The following features have been enabled:
-- The following OPTIONAL packages have been found:
-- The following REQUIRED packages have been found:
-- The following features have been disabled:
-- The following OPTIONAL packages have not been found:
-- Found OpenMP_CXX: -fopenmp
-- Found OpenMP: TRUE found components: CXX
-- Performing Test CXX_EXECUTION_NO_LINK_NEEDED
-- Performing Test CXX_EXECUTION_NO_LINK_NEEDED - Failed
-- Found Intel TBB: headers in /usr/local/include (interface version 10006), libs in /usr/local/lib
-- Performing Test CXX_EXECUTION_TBB_NEEDED
-- Performing Test CXX_EXECUTION_TBB_NEEDED - Success
-- Looking for C++ include pthread.h
-- Looking for C++ include pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found HWLOC: /usr/lib/x86_64-linux-gnu/libhwloc.so
-- Performing Test PARSEC_HAVE_HWLOC_PARENT_MEMBER
-- Performing Test PARSEC_HAVE_HWLOC_PARENT_MEMBER - Success
-- Performing Test PARSEC_HAVE_HWLOC_CACHE_ATTR
-- Performing Test PARSEC_HAVE_HWLOC_CACHE_ATTR - Success
-- Performing Test PARSEC_HAVE_HWLOC_OBJ_PU
-- Performing Test PARSEC_HAVE_HWLOC_OBJ_PU - Success
-- Looking for hwloc_bitmap_free in /usr/lib/x86_64-linux-gnu/libhwloc.so
-- Looking for hwloc_bitmap_free in /usr/lib/x86_64-linux-gnu/libhwloc.so - found
-- Found PAPI: /usr/local/lib/libpapi.so
-- The PAPI Library is found at /usr/local/lib/libpapi.so
-- Found MPI_CXX: /usr/local/lib/libmpi.so (found version "3.1")
-- Found MPI: TRUE (found version "3.1")
CMake Error at /usr/local/share/cmake/parsec/PaRSECConfig.cmake:76 (include):
include could not find load file:
Call Stack (most recent call first):
cmake/modules/FindOrFetchPARSEC.cmake:1 (find_package)
CMakeLists.txt:66 (include)
-- Compiler support for C11 detected and enabled
-- Found BISON: /usr/bin/bison (found version "3.5.1")
-- Found FLEX: /usr/bin/flex (found version "2.6.4")
-- Building for target x86_64
-- Found target X86_64
-- Performing Test C_M32or64
-- Performing Test C_M32or64 - Success
-- Performing Test CXX_M32or64
-- Performing Test CXX_M32or64 - Success
-- Performing Test PARSEC_HAVE_G3
-- Performing Test PARSEC_HAVE_G3 - Success
-- Performing Test PARSEC_HAVE_Og
-- Performing Test PARSEC_HAVE_Og - Success
-- Performing Test PARSEC_HAVE_WALL
-- Performing Test PARSEC_HAVE_WALL - Success
-- Performing Test PARSEC_HAVE_WEXTRA
-- Performing Test PARSEC_HAVE_WEXTRA - Success
-- Performing Test PARSEC_HAVE_PAR_EQUALITY
-- Performing Test PARSEC_HAVE_PAR_EQUALITY - Success
-- Check size of __int128_t
-- Check size of __int128_t - done
-- Performing Test PARSEC_COMPILER_C11_COMPLIANT
-- Performing Test PARSEC_COMPILER_C11_COMPLIANT - Success
-- Performing Test PARSEC_STDC_HAVE_C11_ATOMICS
-- Performing Test PARSEC_STDC_HAVE_C11_ATOMICS - Success
-- Looking for include file stdatomic.h
-- Looking for include file stdatomic.h - found
-- Performing Test PARSEC_ATOMIC_USE_C11_32
-- Performing Test PARSEC_ATOMIC_USE_C11_32 - Success
-- Performing Test PARSEC_ATOMIC_USE_C11_64
-- Performing Test PARSEC_ATOMIC_USE_C11_64 - Success
-- Performing Test PARSEC_ATOMIC_USE_C11_128
-- Performing Test PARSEC_ATOMIC_USE_C11_128 - Failed
-- Performing Test PARSEC_ATOMIC_USE_C11_128
-- Performing Test PARSEC_ATOMIC_USE_C11_128 - Failed
-- Performing Test PARSEC_ATOMIC_USE_C11_128
-- Performing Test PARSEC_ATOMIC_USE_C11_128 - Success
-- support for 32 bits atomics - found
-- support for 64 bits atomics - found
-- support for 128 bits atomics - found
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Looking for pthread_getspecific
-- Looking for pthread_getspecific - found
-- Looking for pthread_barrier_init
-- Looking for pthread_barrier_init - found
-- Looking for sched_setaffinity
-- Looking for sched_setaffinity - found
-- Performing Test PARSEC_HAVE_TIMESPEC_TV_NSEC
-- Performing Test PARSEC_HAVE_TIMESPEC_TV_NSEC - Success
-- Looking for clock_gettime in c
-- Looking for clock_gettime in c - found
-- Looking for include file stdarg.h
-- Looking for include file stdarg.h - found
-- Performing Test PARSEC_HAVE_VA_COPY
-- Performing Test PARSEC_HAVE_VA_COPY - Success
-- Performing Test PARSEC_HAVE_ATTRIBUTE_FORMAT_PRINTF
-- Performing Test PARSEC_HAVE_ATTRIBUTE_FORMAT_PRINTF - Success
-- Performing Test PARSEC_HAVE_THREAD_LOCAL
-- Performing Test PARSEC_HAVE_THREAD_LOCAL - Success
-- Looking for asprintf
-- Looking for asprintf - found
-- Looking for vasprintf
-- Looking for vasprintf - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for include file getopt.h
-- Looking for include file getopt.h - found
-- Looking for getopt_long
-- Looking for getopt_long - found
-- Looking for include file errno.h
-- Looking for include file errno.h - found
-- Looking for include file stddef.h
-- Looking for include file stddef.h - found
-- Looking for include file stdbool.h
-- Looking for include file stdbool.h - found
-- Looking for include file ctype.h
-- Looking for include file ctype.h - found
-- Performing Test PARSEC_HAVE_BUILTIN_CPU
-- Performing Test PARSEC_HAVE_BUILTIN_CPU - Success
-- Performing Test PARSEC_HAVE_BUILTIN_CPU512
-- Performing Test PARSEC_HAVE_BUILTIN_CPU512 - Success
-- Looking for getrusage
-- Looking for getrusage - found
-- Looking for RUSAGE_THREAD
-- Looking for RUSAGE_THREAD - not found
-- Looking for RUSAGE_THREAD
-- Looking for RUSAGE_THREAD - found
-- Looking for include file limits.h
-- Looking for include file limits.h - found
-- Looking for include file string.h
-- Looking for include file string.h - found
-- Looking for include file libgen.h
-- Looking for include file libgen.h - found
-- Looking for include file complex.h
-- Looking for include file complex.h - found
-- Looking for include file sys/param.h
-- Looking for include file sys/param.h - found
-- Looking for include file sys/types.h
-- Looking for include file sys/types.h - found
-- Looking for include file syslog.h
-- Looking for include file syslog.h - found
-- Looking for include file valgrind/valgrind.h
-- Looking for include file valgrind/valgrind.h - found
-- Performing Test PARSEC_HAVE_ATTRIBUTE_ALWAYS_INLINE
-- Performing Test PARSEC_HAVE_ATTRIBUTE_ALWAYS_INLINE - Success
-- Performing Test PARSEC_HAVE_ATTRIBUTE_VISIBILITY
-- Performing Test PARSEC_HAVE_ATTRIBUTE_VISIBILITY - Success
-- Performing Test PARSEC_HAVE_BUILTIN_EXPECT
-- Performing Test PARSEC_HAVE_BUILTIN_EXPECT - Success
-- Found MPI_C: /usr/local/lib/libmpi.so (found version "3.1")
-- Found MPI: TRUE (found version "3.1")
-- Looking for MPI_Type_create_resized
-- Looking for MPI_Type_create_resized - found
-- Performing Test PARSEC_HAVE_MPI_OVERTAKE
-- Performing Test PARSEC_HAVE_MPI_OVERTAKE - Success
CUDA_TOOLKIT_ROOT_DIR not found or specified
-- Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY)
-- Looking for shm_open
-- Looking for shm_open - not found
-- Looking for shm_open in rt
-- Looking for shm_open in rt - found
-- PARSEC Modular Component Architecture (MCA) discovery:
-- -- Found Component
device' -- Module cuda not selectable: does not have CUDA -- ---- Module
device/templateis ignored (due to .ignore) -- -- Found Component
pins'-- Module alperf not selectable: PARSEC_PROF_TRACE disabled.
-- ---- Module
iterators_checker' is ON -- Module papi not selectable: PARSEC_PROF_TRACE disabled. -- ---- Module
print_steals' is ON-- ---- Module
ptg_to_dtd' is ON -- Module task_profiler not selectable: PARSEC_PROF_TRACE disabled. -- -- Found Component
sched'-- ---- Module
ap' is ON -- ---- Module
gd' is ON-- ---- Module
ip' is ON -- ---- Module
lfq' is ON-- ---- Module
lhq' is ON -- ---- Module
ll' is ON-- ---- Module
ltq' is ON -- ---- Module
pbq' is ON-- ---- Module
rnd' is ON -- ---- Module
spq' is ON-- -- Found Component
termdet' -- ---- Module
fourcounter' is ON-- ---- Module `local' is ON
-- PARSEC Modular Component Architecture (MCA) discovery done.
-- Looking for PARSEC_ATOMIC_HAS_ATOMIC_CAS_INT128
-- Looking for PARSEC_ATOMIC_HAS_ATOMIC_CAS_INT128 - found
-- Check size of parsec_lifo_t
-- Check size of parsec_lifo_t - done
-- Check offset of field lifo_private in structure 'struct{parsec_object_t super;uint8_t alignment;parsec_list_item_tlifo_ghost;char lifo_private;}'
-- Check offset of field lifo_private in structure struct{parsec_object_t super;uint8_t alignment;parsec_list_item_tlifo_ghost;char lifo_private;} - done
-- Internal PaRSEC uses CAS on int128_t. Reconfiguring parsec_options.h
PkgConfig Configuration Flags:
EXTRA_CFLAGS =
EXTRA_LDFLAGS =
EXTRA_INCLUDES = /usr/include;/usr/local/include
EXTRA_LIBS = -latomic;/usr/lib/x86_64-linux-gnu/libhwloc.so;atomic;/usr/local/lib/libmpi.so;/usr/local/lib/libpapi.so
-- PARSEC_FOUND=1
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/gcc
-- Assertion type: disable
-- Performing Test HAVE_CRAYXE
-- Performing Test HAVE_CRAYXE - Failed
-- Performing Test HAVE_CRAYXT
-- Performing Test HAVE_CRAYXT - Failed
-- Performing Test HAVE_IBMBGP
-- Performing Test HAVE_IBMBGP - Failed
-- Performing Test HAVE_IBMBGQ
-- Performing Test HAVE_IBMBGQ - Failed
-- Performing Test USE_X86_64_ASM
-- Performing Test USE_X86_64_ASM - Success
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Check size of int64_t
-- Check size of int64_t - done
-- Check size of long double
-- Check size of long double - done
-- Check size of long long
-- Check size of long long - done
-- Performing Test SYS_TYPES_H_HAS_PID_T
-- Performing Test SYS_TYPES_H_HAS_PID_T - Success
-- Looking for memset
-- Looking for memset - found
-- Looking for posix_memalign
-- Looking for posix_memalign - found
-- Performing Test CHECK_STDLIB_H_HAS_POSIX_MEMALIGN_THROW
-- Performing Test CHECK_STDLIB_H_HAS_POSIX_MEMALIGN_THROW - Success
-- Looking for pow
-- Looking for pow - not found
-- Looking for random
-- Looking for random - found
-- Looking for sleep
-- Looking for sleep - found
-- Looking for strchr
-- Looking for strchr - found
-- Performing Test HAVE_STD_ABS_LONG
-- Performing Test HAVE_STD_ABS_LONG - Success
-- Performing Test THREAD_LOCAL_SUPPORT
-- Performing Test THREAD_LOCAL_SUPPORT - Success
-- Thread local keyword: thread_local
-- Performing Test RESTRICT_SUPPORT
-- Performing Test RESTRICT_SUPPORT - Failed
-- Performing Test RESTRICT_SUPPORT
-- Performing Test RESTRICT_SUPPORT - Success
-- Restrict keyword: __restrict
-- Performing Test HAVE_UNQUALIFIED_STATIC_DECL
-- Performing Test HAVE_UNQUALIFIED_STATIC_DECL - Success
-- Checking for PIE-disabling linker flags
-- Performing Test LINKER_HAS_DISABLEPIE_SUPPORT
-- Performing Test LINKER_HAS_DISABLEPIE_SUPPORT - Success
-- PIE-disabling linker flags: -no-pie
-- Found LATEX: /usr/bin/latex
-- Found xterm: /usr/bin/xterm
-- Found gdb: /usr/bin/gdb
-- Found PythonInterp: /usr/bin/python (found version "2.7.18")
-- MPI main header: /usr/local/include/mpi.h
-- Found Libunwind: /usr/lib/x86_64-linux-gnu/libunwind.so (found version "1.2.1")
-- Could NOT find Gperftools (missing: tcmalloc)
CUDA_TOOLKIT_ROOT_DIR not found or specified
-- Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY)
-- === MADNESS Package/Feature Info ===
-- The following features have been enabled:
-- The following OPTIONAL packages have been found:
-- The following REQUIRED packages have been found:
-- The following features have been disabled:
-- The following OPTIONAL packages have not been found:
-- The following REQUIRED packages have not been found:
-- MADNESS_FOUND=1
-- Found MPI: TRUE (found version "3.1")
-- Found Doxygen: /usr/bin/doxygen (found suitable version "1.8.17", minimum required is "1.8.12") found components: doxygen dot
-- Configuring incomplete, errors occurred!
See also "/home/joseph/ttg/build/CMakeFiles/CMakeOutput.log".
See also "/home/joseph/ttg/build/CMakeFiles/CMakeError.log".
The text was updated successfully, but these errors were encountered: