GithubHelp home page GithubHelp logo

Comments (4)

pramodk avatar pramodk commented on July 16, 2024

I am adding errors here instead of separate issue. I tried to also build master with AppleClang and got same issue.

With [email protected] I am seeing below error (works with [email protected]):

± |llnl_develop → remotes/llnl/develop {17} ?:10 ✗| → spack install -v caliper@master %gcc ^[email protected]
==> [email protected] : externally installed in /usr/local-fake
==> [email protected] : already registered in DB
==> [email protected] : externally installed in /usr/local/Cellar/open-mpi/4.0.0
==> [email protected] : already registered in DB
==> [email protected] : externally installed in /System/Library/Frameworks/Python.framework/Versions/2.7
==> [email protected] : already registered in DB
==> Installing caliper
==> Searching for binary cache of caliper
==> Warning: No Spack mirrors are currently configured
==> No binary for caliper found: installing from source
==> Cloning git repository: https://github.com/LLNL/Caliper.git
==> No checksum needed when fetching with git
==> Already staged caliper-master-sf3xofge5vqrsapg2rqgibvrz2omfxu6 in /Users/kumbhar/workarena/software/sources/spack/var/spack/stage/caliper-master-sf3xofge5vqrsapg2rqgibvrz2omfxu6
==> No patches needed for caliper
==> Building caliper [CMakePackage]
==> Executing phase: 'cmake'
==> [2019-03-19-21:32:44.231834] 'cmake' '/Users/kumbhar/workarena/software/sources/spack/var/spack/stage/caliper-master-sf3xofge5vqrsapg2rqgibvrz2omfxu6/Caliper' '-G' 'Unix Makefiles' '-DCMAKE_INSTALL_PREFIX:PATH=/Users/kumbhar/workarena/software/sources/spack/opt/spack/darwin-mojave-x86_64/gcc-8.3.0/caliper-master-sf3xofge5vqrsapg2rqgibvrz2omfxu6' '-DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo' '-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON' '-DCMAKE_FIND_FRAMEWORK:STRING=LAST' '-DCMAKE_FIND_APPBUNDLE:STRING=LAST' '-DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=FALSE' '-DCMAKE_INSTALL_RPATH:STRING=/Users/kumbhar/workarena/software/sources/spack/opt/spack/darwin-mojave-x86_64/gcc-8.3.0/caliper-master-sf3xofge5vqrsapg2rqgibvrz2omfxu6/lib;/Users/kumbhar/workarena/software/sources/spack/opt/spack/darwin-mojave-x86_64/gcc-8.3.0/caliper-master-sf3xofge5vqrsapg2rqgibvrz2omfxu6/lib64;/usr/local/Cellar/open-mpi/4.0.0/lib' '-DCMAKE_PREFIX_PATH:STRING=/System/Library/Frameworks/Python.framework/Versions/2.7;/usr/local/Cellar/open-mpi/4.0.0;/usr/local-fake' '-DBUILD_TESTING=Off' '-DBUILD_DOCS=Off' '-DBUILD_SHARED_LIBS=On' '-DWITH_DYNINST=Off' '-DWITH_CALLPATH=Off' '-DWITH_GOTCHA=Off' '-DWITH_PAPI=Off' '-DWITH_LIBPFM=Off' '-DWITH_SOSFLOW=Off' '-DWITH_SAMPLER=Off' '-DWITH_MPI=On' '-DMPI_C_COMPILER=/usr/local/Cellar/open-mpi/4.0.0/bin/mpicc' '-DMPI_CXX_COMPILER=/usr/local/Cellar/open-mpi/4.0.0/bin/mpic++'
-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /Users/kumbhar/workarena/software/sources/spack/lib/spack/env/gcc/gcc
-- Check for working C compiler: /Users/kumbhar/workarena/software/sources/spack/lib/spack/env/gcc/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Check for working CXX compiler: /Users/kumbhar/workarena/software/sources/spack/lib/spack/env/gcc/g++
-- Check for working CXX compiler: /Users/kumbhar/workarena/software/sources/spack/lib/spack/env/gcc/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - no
-- 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 - not found
CMake Error at /usr/local/Cellar/cmake/3.12.3/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find Threads (missing: Threads_FOUND)
Call Stack (most recent call first):
  /usr/local/Cellar/cmake/3.12.3/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  /usr/local/Cellar/cmake/3.12.3/share/cmake/Modules/FindThreads.cmake:205 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:220 (find_package)


-- Configuring incomplete, errors occurred!
See also "/tmp/kumbhar/spack-stage/spack-stage-SpbKZu/Caliper/spack-build/CMakeFiles/CMakeOutput.log".
See also "/tmp/kumbhar/spack-stage/spack-stage-SpbKZu/Caliper/spack-build/CMakeFiles/CMakeError.log".
==> Error: ProcessError: Command exited with status 1:
    'cmake' '/Users/kumbhar/workarena/software/sources/spack/var/spack/stage/caliper-master-sf3xofge5vqrsapg2rqgibvrz2omfxu6/Caliper' '-G' 'Unix Makefiles' '-DCMAKE_INSTALL_PREFIX:PATH=/Users/kumbhar/workarena/software/sources/spack/opt/spack/darwin-mojave-x86_64/gcc-8.3.0/caliper-master-sf3xofge5vqrsapg2rqgibvrz2omfxu6' '-DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo' '-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON' '-DCMAKE_FIND_FRAMEWORK:STRING=LAST' '-DCMAKE_FIND_APPBUNDLE:STRING=LAST' '-DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=FALSE' '-DCMAKE_INSTALL_RPATH:STRING=/Users/kumbhar/workarena/software/sources/spack/opt/spack/darwin-mojave-x86_64/gcc-8.3.0/caliper-master-sf3xofge5vqrsapg2rqgibvrz2omfxu6/lib;/Users/kumbhar/workarena/software/sources/spack/opt/spack/darwin-mojave-x86_64/gcc-8.3.0/caliper-master-sf3xofge5vqrsapg2rqgibvrz2omfxu6/lib64;/usr/local/Cellar/open-mpi/4.0.0/lib' '-DCMAKE_PREFIX_PATH:STRING=/System/Library/Frameworks/Python.framework/Versions/2.7;/usr/local/Cellar/open-mpi/4.0.0;/usr/local-fake' '-DBUILD_TESTING=Off' '-DBUILD_DOCS=Off' '-DBUILD_SHARED_LIBS=On' '-DWITH_DYNINST=Off' '-DWITH_CALLPATH=Off' '-DWITH_GOTCHA=Off' '-DWITH_PAPI=Off' '-DWITH_LIBPFM=Off' '-DWITH_SOSFLOW=Off' '-DWITH_SAMPLER=Off' '-DWITH_MPI=On' '-DMPI_C_COMPILER=/usr/local/Cellar/open-mpi/4.0.0/bin/mpicc' '-DMPI_CXX_COMPILER=/usr/local/Cellar/open-mpi/4.0.0/bin/mpic++'

1 error found in build log:
     29    -- Check if compiler accepts -pthread
     30    -- Check if compiler accepts -pthread - no
     31    -- Looking for pthread_create in pthreads
     32    -- Looking for pthread_create in pthreads - not found
     33    -- Looking for pthread_create in pthread
     34    -- Looking for pthread_create in pthread - not found
  >> 35    CMake Error at /usr/local/Cellar/cmake/3.12.3/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
     36      Could NOT find Threads (missing: Threads_FOUND)
     37    Call Stack (most recent call first):
     38      /usr/local/Cellar/cmake/3.12.3/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
     39      /usr/local/Cellar/cmake/3.12.3/share/cmake/Modules/FindThreads.cmake:205 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
     40      CMakeLists.txt:220 (find_package)
     41

See build log for details:

from caliper.

daboehme avatar daboehme commented on July 16, 2024

Building with the Apple compiler should be fixed in 433f38e. The second issue is that Apple has to be special again and doesn't install system headers and libraries in a central location anymore in later versions of OSX, so third-party build chains won't find them. Check if /usr/include/pthread.h is there. It may help to install the Xcode command-line tools package.

from caliper.

pramodk avatar pramodk commented on July 16, 2024

Ok thanks. I am getting below now :

± |caliper {2} ?:116 ✗| → spack install -v -j 1 caliper ^[email protected]
==> [email protected] : externally installed in /usr/local-fake
==> [email protected] : already registered in DB
==> [email protected] : externally installed in /usr/local/Cellar/open-mpi/4.0.0
==> [email protected] : already registered in DB
==> [email protected] : externally installed in /System/Library/Frameworks/Python.framework/Versions/2.7
==> [email protected] : already registered in DB
==> Installing caliper
==> Searching for binary cache of caliper
==> Warning: No Spack mirrors are currently configured
==> No binary for caliper found: installing from source
==> Cloning git repository: https://github.com/LLNL/Caliper.git
==> No checksum needed when fetching with git
==> Already staged caliper-master-zfjqfw5sli2js5hcs544wmicak4ccscn in /Users/kumbhar/workarena/software/sources/spack/var/spack/stage/caliper-master-zfjqfw5sli2js5hcs544wmicak4ccscn
==> No patches needed for caliper
==> Building caliper [CMakePackage]
==> Executing phase: 'cmake'
==> 'cmake' '/Users/kumbhar/workarena/software/sources/spack/var/spack/stage/caliper-master-zfjqfw5sli2js5hcs544wmicak4ccscn/Caliper' '-G' 'Unix Makefiles' '-DCMAKE_INSTALL_PREFIX:PATH=/Users/kumbhar/workarena/software/sources/spack/opt/spack/darwin-mojave-x86_64/clang-9.0.0-apple/caliper-master-zfjqfw5sli2js5hcs544wmicak4ccscn' '-DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo' '-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON' '-DCMAKE_FIND_FRAMEWORK:STRING=LAST' '-DCMAKE_FIND_APPBUNDLE:STRING=LAST' '-DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=FALSE' '-DCMAKE_INSTALL_RPATH:STRING=/Users/kumbhar/workarena/software/sources/spack/opt/spack/darwin-mojave-x86_64/clang-9.0.0-apple/caliper-master-zfjqfw5sli2js5hcs544wmicak4ccscn/lib;/Users/kumbhar/workarena/software/sources/spack/opt/spack/darwin-mojave-x86_64/clang-9.0.0-apple/caliper-master-zfjqfw5sli2js5hcs544wmicak4ccscn/lib64;/usr/local/Cellar/open-mpi/4.0.0/lib' '-DCMAKE_PREFIX_PATH:STRING=/System/Library/Frameworks/Python.framework/Versions/2.7;/usr/local/Cellar/open-mpi/4.0.0;/usr/local-fake' '-DBUILD_TESTING=Off' '-DBUILD_DOCS=Off' '-DWITH_DYNINST=Off' '-DWITH_CALLPATH=Off' '-DWITH_GOTCHA=Off' '-DWITH_PAPI=Off' '-DWITH_LIBPFM=Off' '-DWITH_SOSFLOW=Off' '-DWITH_SAMPLER=Off' '-DWITH_MPI=On' '-DWITH_MPIT=On' '-DMPI_C_COMPILER=/usr/local/Cellar/open-mpi/4.0.0/bin/mpicc' '-DMPI_CXX_COMPILER=/usr/local/Cellar/open-mpi/4.0.0/bin/mpic++'
-- The C compiler identification is AppleClang 9.0.0.9000037
-- The CXX compiler identification is AppleClang 9.0.0.9000037
-- Check for working C compiler: /Users/kumbhar/workarena/software/sources/spack/lib/spack/env/clang/clang
-- Check for working C compiler: /Users/kumbhar/workarena/software/sources/spack/lib/spack/env/clang/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Users/kumbhar/workarena/software/sources/spack/lib/spack/env/clang/clang++
-- Check for working CXX compiler: /Users/kumbhar/workarena/software/sources/spack/lib/spack/env/clang/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE
-- Found MPI_C: /usr/local/Cellar/open-mpi/4.0.0/lib/libmpi.dylib (found version "3.1")
-- Found MPI_CXX: /usr/local/Cellar/open-mpi/4.0.0/lib/libmpi.dylib (found version "3.1")
-- Found MPI: TRUE (found version "3.1")
-- Found PythonInterp: /System/Library/Frameworks/Python.framework/Versions/2.7/bin/python (found version "2.7.10")
-- Caliper configuration summary:
-- Caliper version           : 2.1.0-dev
-- Build type                : RelWithDebInfo
-- Compiler                  : AppleClang 9.0.0.9000037 (/Users/kumbhar/workarena/software/sources/spack/lib/spack/env/clang/clang++)
-- System                    : Darwin-18.0.0 (x86_64)
-- Install dir               : /Users/kumbhar/workarena/software/sources/spack/opt/spack/darwin-mojave-x86_64/clang-9.0.0-apple/caliper-master-zfjqfw5sli2js5hcs544wmicak4ccscn
-- Build shared libs         : ON
-- Build Caliper tools       : ON
-- GOTCHA support            : No
-- PAPI support              : No
-- Libpfm support            : No
-- Libunwind support         : No
-- Dyninst support           : No
-- Sampler support           : No
-- SOSFlow support           : No
-- MPI support               : Yes, using /usr/local/Cellar/open-mpi/4.0.0/lib/libmpi.dylib
-- MPIWRAP support           : Yes, using PMPI
-- MPIT support              : Yes
-- OMPT support              : No
-- NVProf support            : No
-- CUpti support             : No
-- TAU support               : No
-- VTune support             : No
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    WITH_SOSFLOW
............
[ 95%] Building CXX object mpi/mpi-rt/CMakeFiles/caliper-mpi.dir/services/mpireport/MpiReport.cpp.o
cd /tmp/kumbhar/spack-stage/spack-stage-YCdbO9/Caliper/spack-build/mpi/mpi-rt && /Users/kumbhar/workarena/software/sources/spack/lib/spack/env/clang/clang++  -Dcaliper_mpi_EXPORTS -I/tmp/kumbhar/spack-stage/spack-stage-YCdbO9/Caliper/spack-build/include -I/Users/kumbhar/workarena/software/sources/spack/var/spack/stage/caliper-master-zfjqfw5sli2js5hcs544wmicak4ccscn/Caliper/include -I/Users/kumbhar/workarena/software/sources/spack/var/spack/stage/caliper-master-zfjqfw5sli2js5hcs544wmicak4ccscn/Caliper/mpi/include -I/usr/local/Cellar/open-mpi/4.0.0/include -I/Users/kumbhar/workarena/software/sources/spack/var/spack/stage/caliper-master-zfjqfw5sli2js5hcs544wmicak4ccscn/Caliper/mpi/mpi-rt  -O2 -g -DNDEBUG -fPIC   -std=gnu++11 -o CMakeFiles/caliper-mpi.dir/services/mpireport/MpiReport.cpp.o -c /Users/kumbhar/workarena/software/sources/spack/var/spack/stage/caliper-master-zfjqfw5sli2js5hcs544wmicak4ccscn/Caliper/mpi/mpi-rt/services/mpireport/MpiReport.cpp
[ 96%] Building CXX object mpi/mpi-rt/CMakeFiles/caliper-mpi.dir/services/mpit/MpitServiceMPI.cpp.o
cd /tmp/kumbhar/spack-stage/spack-stage-YCdbO9/Caliper/spack-build/mpi/mpi-rt && /Users/kumbhar/workarena/software/sources/spack/lib/spack/env/clang/clang++  -Dcaliper_mpi_EXPORTS -I/tmp/kumbhar/spack-stage/spack-stage-YCdbO9/Caliper/spack-build/include -I/Users/kumbhar/workarena/software/sources/spack/var/spack/stage/caliper-master-zfjqfw5sli2js5hcs544wmicak4ccscn/Caliper/include -I/Users/kumbhar/workarena/software/sources/spack/var/spack/stage/caliper-master-zfjqfw5sli2js5hcs544wmicak4ccscn/Caliper/mpi/include -I/usr/local/Cellar/open-mpi/4.0.0/include -I/Users/kumbhar/workarena/software/sources/spack/var/spack/stage/caliper-master-zfjqfw5sli2js5hcs544wmicak4ccscn/Caliper/mpi/mpi-rt  -O2 -g -DNDEBUG -fPIC   -std=gnu++11 -o CMakeFiles/caliper-mpi.dir/services/mpit/MpitServiceMPI.cpp.o -c /Users/kumbhar/workarena/software/sources/spack/var/spack/stage/caliper-master-zfjqfw5sli2js5hcs544wmicak4ccscn/Caliper/mpi/mpi-rt/services/mpit/MpitServiceMPI.cpp
/Users/kumbhar/workarena/software/sources/spack/var/spack/stage/caliper-master-zfjqfw5sli2js5hcs544wmicak4ccscn/Caliper/mpi/mpi-rt/services/mpit/MpitServiceMPI.cpp:593:30: error: call to non-static member function without an object argument
        config = RuntimeConfig::init("mpit", configdata);
                 ~~~~~~~~~~~~~~~^~~~
/Users/kumbhar/workarena/software/sources/spack/var/spack/stage/caliper-master-zfjqfw5sli2js5hcs544wmicak4ccscn/Caliper/mpi/mpi-rt/services/mpit/MpitServiceMPI.cpp:614:12: error: no member named 'events' in 'cali::Caliper'
        c->events().snapshot.connect(&snapshot_cb);
        ~  ^
/Users/kumbhar/workarena/software/sources/spack/var/spack/stage/caliper-master-zfjqfw5sli2js5hcs544wmicak4ccscn/Caliper/mpi/mpi-rt/services/mpit/MpitServiceMPI.cpp:615:12: error: no member named 'events' in 'cali::Caliper'
        c->events().finish_evt.connect(&finish_cb);
        ~  ^
/Users/kumbhar/workarena/software/sources/spack/var/spack/stage/caliper-master-zfjqfw5sli2js5hcs544wmicak4ccscn/Caliper/mpi/mpi-rt/services/mpit/MpitServiceMPI.cpp:632:20: error: no member named 'events' in 'cali::MpiEvents'
        MpiEvents::events.mpi_init_evt.connect(::do_mpit_allocate_pvar_handles);
        ~~~~~~~~~~~^
/Users/kumbhar/workarena/software/sources/spack/var/spack/stage/caliper-master-zfjqfw5sli2js5hcs544wmicak4ccscn/Caliper/mpi/mpi-rt/services/mpit/MpitServiceMPI.cpp:642:41: error: cannot initialize a member subobject of type 'ServiceRegisterFn' (aka 'void (*)(cali::Caliper *, cali::Channel *)') with an lvalue of type 'void (cali::Caliper *)': different number of parameters (2 vs 1)
CaliperService mpit_service = { "mpit", ::mpit_init };
                                        ^~~~~~~~~~~
5 errors generated.
make[2]: *** [mpi/mpi-rt/CMakeFiles/caliper-mpi.dir/services/mpit/MpitServiceMPI.cpp.o] Error 1
make[1]: *** [mpi/mpi-rt/CMakeFiles/caliper-mpi.dir/all] Error 2
make: *** [all] Error 2
==> Error: ProcessError: Command exited with status 2:
    'make'

8 errors found in build log:
     358    [ 95%] Building CXX object mpi/mpi-rt/CMakeFiles/caliper-mpi.dir/setup_mpi.cpp.o
     359    cd /tmp/kumbhar/spack-stage/spack-stage-YCdbO9/Caliper/spack-build/mpi/mpi-rt && /Users/kumbhar/workarena/software/sources/spack/lib/spack/env/clang/clang++  -Dcaliper_mpi
            _EXPORTS -I/tmp/kumbhar/spack-stage/spack-stage-YCdbO9/Caliper/spack-build/include -I/Users/kumbhar/workarena/software/sources/spack/var/spack/stage/caliper-master-zfjqfw5
            sli2js5hcs544wmicak4ccscn/Caliper/include -I/Users/kumbhar/workarena/software/sources/spack/var/spack/stage/caliper-master-zfjqfw5sli2js5hcs544wmicak4ccscn/Caliper/mpi/inc
            lude -I/usr/local/Cellar/open-mpi/4.0.0/include -I/Users/kumbhar/workarena/software/sources/spack/var/spack/stage/caliper-master-zfjqfw5sli2js5hcs544wmicak4ccscn/Caliper/m
            pi/mpi-rt  -O2 -g -DNDEBUG -fPIC   -std=gnu++11 -o CMakeFiles/caliper-mpi.dir/setup_mpi.cpp.o -c /Users/kumbhar/workarena/software/sources/spack/var/spack/stage/caliper-ma
            ster-zfjqfw5sli2js5hcs544wmicak4ccscn/Caliper/mpi/mpi-rt/setup_mpi.cpp
     360    [ 95%] Building CXX object mpi/mpi-rt/CMakeFiles/caliper-mpi.dir/services/mpireport/MpiReport.cpp.o
     361    cd /tmp/kumbhar/spack-stage/spack-stage-YCdbO9/Caliper/spack-build/mpi/mpi-rt && /Users/kumbhar/workarena/software/sources/spack/lib/spack/env/clang/clang++  -Dcaliper_mpi
            _EXPORTS -I/tmp/kumbhar/spack-stage/spack-stage-YCdbO9/Caliper/spack-build/include -I/Users/kumbhar/workarena/software/sources/spack/var/spack/stage/caliper-master-zfjqfw5
            sli2js5hcs544wmicak4ccscn/Caliper/include -I/Users/kumbhar/workarena/software/sources/spack/var/spack/stage/caliper-master-zfjqfw5sli2js5hcs544wmicak4ccscn/Caliper/mpi/inc
            lude -I/usr/local/Cellar/open-mpi/4.0.0/include -I/Users/kumbhar/workarena/software/sources/spack/var/spack/stage/caliper-master-zfjqfw5sli2js5hcs544wmicak4ccscn/Caliper/m
            pi/mpi-rt  -O2 -g -DNDEBUG -fPIC   -std=gnu++11 -o CMakeFiles/caliper-mpi.dir/services/mpireport/MpiReport.cpp.o -c /Users/kumbhar/workarena/software/sources/spack/var/spa
            ck/stage/caliper-master-zfjqfw5sli2js5hcs544wmicak4ccscn/Caliper/mpi/mpi-rt/services/mpireport/MpiReport.cpp
     362    [ 96%] Building CXX object mpi/mpi-rt/CMakeFiles/caliper-mpi.dir/services/mpit/MpitServiceMPI.cpp.o
     363    cd /tmp/kumbhar/spack-stage/spack-stage-YCdbO9/Caliper/spack-build/mpi/mpi-rt && /Users/kumbhar/workarena/software/sources/spack/lib/spack/env/clang/clang++  -Dcaliper_mpi
            _EXPORTS -I/tmp/kumbhar/spack-stage/spack-stage-YCdbO9/Caliper/spack-build/include -I/Users/kumbhar/workarena/software/sources/spack/var/spack/stage/caliper-master-zfjqfw5
            sli2js5hcs544wmicak4ccscn/Caliper/include -I/Users/kumbhar/workarena/software/sources/spack/var/spack/stage/caliper-master-zfjqfw5sli2js5hcs544wmicak4ccscn/Caliper/mpi/inc
            lude -I/usr/local/Cellar/open-mpi/4.0.0/include -I/Users/kumbhar/workarena/software/sources/spack/var/spack/stage/caliper-master-zfjqfw5sli2js5hcs544wmicak4ccscn/Caliper/m
            pi/mpi-rt  -O2 -g -DNDEBUG -fPIC   -std=gnu++11 -o CMakeFiles/caliper-mpi.dir/services/mpit/MpitServiceMPI.cpp.o -c /Users/kumbhar/workarena/software/sources/spack/var/spa
            ck/stage/caliper-master-zfjqfw5sli2js5hcs544wmicak4ccscn/Caliper/mpi/mpi-rt/services/mpit/MpitServiceMPI.cpp
  >> 364    /Users/kumbhar/workarena/software/sources/spack/var/spack/stage/caliper-master-zfjqfw5sli2js5hcs544wmicak4ccscn/Caliper/mpi/mpi-rt/services/mpit/MpitServiceMPI.cpp:593:30:
             error: call to non-static member function without an object argument
     365            config = RuntimeConfig::init("mpit", configdata);
     366                     ~~~~~~~~~~~~~~~^~~~
  >> 367    /Users/kumbhar/workarena/software/sources/spack/var/spack/stage/caliper-master-zfjqfw5sli2js5hcs544wmicak4ccscn/Caliper/mpi/mpi-rt/services/mpit/MpitServiceMPI.cpp:614:12:
             error: no member named 'events' in 'cali::Caliper'
     368            c->events().snapshot.connect(&snapshot_cb);
     369            ~  ^
  >> 370    /Users/kumbhar/workarena/software/sources/spack/var/spack/stage/caliper-master-zfjqfw5sli2js5hcs544wmicak4ccscn/Caliper/mpi/mpi-rt/services/mpit/MpitServiceMPI.cpp:615:12:
             error: no member named 'events' in 'cali::Caliper'
     371            c->events().finish_evt.connect(&finish_cb);
     372            ~  ^
  >> 373    /Users/kumbhar/workarena/software/sources/spack/var/spack/stage/caliper-master-zfjqfw5sli2js5hcs544wmicak4ccscn/Caliper/mpi/mpi-rt/services/mpit/MpitServiceMPI.cpp:632:20:
             error: no member named 'events' in 'cali::MpiEvents'
     374            MpiEvents::events.mpi_init_evt.connect(::do_mpit_allocate_pvar_handles);
     375            ~~~~~~~~~~~^
  >> 376    /Users/kumbhar/workarena/software/sources/spack/var/spack/stage/caliper-master-zfjqfw5sli2js5hcs544wmicak4ccscn/Caliper/mpi/mpi-rt/services/mpit/MpitServiceMPI.cpp:642:41:
             error: cannot initialize a member subobject of type 'ServiceRegisterFn' (aka 'void (*)(cali::Caliper *, cali::Channel *)') with an lvalue of type 'void (cali::Caliper *)'
            : different number of parameters (2 vs 1)
     377    CaliperService mpit_service = { "mpit", ::mpit_init };
     378                                            ^~~~~~~~~~~
     379    5 errors generated.
  >> 380    make[2]: *** [mpi/mpi-rt/CMakeFiles/caliper-mpi.dir/services/mpit/MpitServiceMPI.cpp.o] Error 1
  >> 381    make[1]: *** [mpi/mpi-rt/CMakeFiles/caliper-mpi.dir/all] Error 2
  >> 382    make: *** [all] Error 2

See build log for details:
  /Users/kumbhar/workarena/software/sources/spack/var/spack/stage/caliper-master-zfjqfw5sli2js5hcs544wmicak4ccscn/Caliper/spack-build.out

from caliper.

daboehme avatar daboehme commented on July 16, 2024

Can you try updating spack? The latest version of the Caliper spack package shouldn't enable MPIT support.

from caliper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.