{"action":"closed","issue":{"url":"https://api.github.com/repos/score-p/scorep_binding_python/issues/11","repository_url":"https://api.github.com/repos/score-p/scorep_binding_python","labels_url":"https://api.github.com/repos/score-p/scorep_binding_python/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/score-p/scorep_binding_python/issues/11/comments","events_url":"https://api.github.com/repos/score-p/scorep_binding_python/issues/11/events","html_url":"https://github.com/score-p/scorep_binding_python/issues/11","id":329471313,"node_id":"MDU6SXNzdWUzMjk0NzEzMTM=","number":11,"title":"Fail pip install .","user":{"login":"jungla88","id":34343053,"node_id":"MDQ6VXNlcjM0MzQzMDUz","avatar_url":"https://avatars1.githubusercontent.com/u/34343053?v=4","gravatar_id":"","url":"https://api.github.com/users/jungla88","html_url":"https://github.com/jungla88","followers_url":"https://api.github.com/users/jungla88/followers","following_url":"https://api.github.com/users/jungla88/following{/other_user}","gists_url":"https://api.github.com/users/jungla88/gists{/gist_id}","starred_url":"https://api.github.com/users/jungla88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jungla88/subscriptions","organizations_url":"https://api.github.com/users/jungla88/orgs","repos_url":"https://api.github.com/users/jungla88/repos","events_url":"https://api.github.com/users/jungla88/events{/privacy}","received_events_url":"https://api.github.com/users/jungla88/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-06-05T14:02:40Z","updated_at":"2018-11-01T12:39:03Z","closed_at":"2018-11-01T12:39:03Z","author_association":"NONE","body":"I have installed without problem scorep. I provided a valid scorep-config path in my bashrc. Pip still stuck in this error:\r\n\r\n> parallella@parallella2: scorep_binding_python $ pip -v install .\r\nCreated temporary directory: /tmp/pip-ephem-wheel-cache-Mta2Ys\r\nCreated temporary directory: /tmp/pip-install-EhsDox\r\nProcessing /home/parallella/luca/scorep_binding_python\r\n  Created temporary directory: /tmp/pip-req-build-97kNCv\r\n  Running setup.py (path:/tmp/pip-req-build-97kNCv/setup.py) egg_info for package from file:///home/parallella/luca/scorep_binding_python\r\n    Running command python setup.py egg_info\r\n    /usr/bin/ld: /opt/scorep/lib/libscorep_adapter_opencl_event_linktime.a(libscorep_adapter_opencl_event_linktime_la-scorep_opencl_wrap.o): relocation R_ARM_THM_MOVW_ABS_NC against `scorep_measurement_phase' can not be used when making a shared object; recompile with -fPIC\r\n    /opt/scorep/lib/libscorep_adapter_opencl_event_linktime.a: error adding symbols: Bad value\r\n    collect2: error: ld returned 1 exit status\r\n    Cuda is not supported, building without cuda\r\n    OpenCL is supported, building with OpenCL\r\n    Cuda is not supported, building without cuda\r\n    OpenCL is supported, building with OpenCL\r\n    OpenMPI detected\r\n    Traceback (most recent call last):\r\n      File \"<string>\", line 1, in <module>\r\n      File \"/tmp/pip-req-build-97kNCv/setup.py\", line 205, in <module>\r\n        extra_postargs=linker_flags_mpi)\r\n      File \"/usr/lib/python2.7/distutils/unixccompiler.py\", line 207, in link\r\n        raise LinkError, msg\r\n    distutils.errors.LinkError: command 'cc' failed with exit status 1\r\nCleaning up...\r\n  Removing source in /tmp/pip-req-build-97kNCv\r\nCommand \"python setup.py egg_info\" failed with error code 1 in /tmp/pip-req-build-97kNCv/\r\nException information:\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python2.7/dist-packages/pip/_internal/basecommand.py\", line 228, in main\r\n    status = self.run(options, args)\r\n  File \"/usr/local/lib/python2.7/dist-packages/pip/_internal/commands/install.py\", line 291, in run\r\n    resolver.resolve(requirement_set)\r\n  File \"/usr/local/lib/python2.7/dist-packages/pip/_internal/resolve.py\", line 103, in resolve\r\n    self._resolve_one(requirement_set, req)\r\n  File \"/usr/local/lib/python2.7/dist-packages/pip/_internal/resolve.py\", line 257, in _resolve_one\r\n    abstract_dist = self._get_abstract_dist_for(req_to_install)\r\n  File \"/usr/local/lib/python2.7/dist-packages/pip/_internal/resolve.py\", line 210, in _get_abstract_dist_for\r\n    self.require_hashes\r\n  File \"/usr/local/lib/python2.7/dist-packages/pip/_internal/operations/prepare.py\", line 324, in prepare_linked_requirement\r\n    abstract_dist.prep_for_dist(finder, self.build_isolation)\r\n  File \"/usr/local/lib/python2.7/dist-packages/pip/_internal/operations/prepare.py\", line 154, in prep_for_dist\r\n    self.req.run_egg_info()\r\n  File \"/usr/local/lib/python2.7/dist-packages/pip/_internal/req/req_install.py\", line 486, in run_egg_info\r\n    command_desc='python setup.py egg_info')\r\n  File \"/usr/local/lib/python2.7/dist-packages/pip/_internal/utils/misc.py\", line 698, in call_subprocess\r\n    % (command_desc, proc.returncode, cwd))\r\nInstallationError: Command \"python setup.py egg_info\" failed with error code 1 in /tmp/pip-req-build-97kNCv/\r\n\r\nDo I miss something?\r\nI post my scorep summary file:\r\n\r\n> parallella@parallella2: scorep-4.0 $ cat scorep.summary \r\nConfigure command:\r\n  ./configure                   \r\n\r\nConfiguration summary:\r\n  Score-P 4.0:\r\n    Platform:                   arm (auto detected)\r\n    Cross compiling:            no (auto detected)\r\n    Machine name:               ARM\r\n    otf2 support:               yes, using internal\r\n    opari2 support:             yes, using internal\r\n    cubew support:              yes, using internal\r\n    cubelib support:            yes, using internal\r\n    SHMEM support:              no, platform not supported\r\n\r\n    Score-P (backend):\r\n      C99 compiler used:        gcc -std=gnu99\r\n      Pthread support:          yes, using gcc -std=gnu99 -pthread \r\n      compiler constructor:     yes, using attribute syntax\r\n      Platform:                 arm (provided)\r\n      TLS support:              yes, using __thread\r\n      PAPI support:             no\r\n      metric perf support:      yes\r\n      Unwinding support:        no, missing libunwind support\r\n        libunwind support:      no\r\n      Sampling support:         no\r\n      getrusage support:        yes\r\n      RUSAGE_THREAD support:    yes, using -D_GNU_SOURCE\r\n      dlfcn support:            yes, using -ldl\r\n      OpenCL support:           yes\r\n        libOpenCL support:      yes, using -lOpenCL\r\n      OTF2 features:\r\n        SIONlib support:        no\r\n      CUDA support:             no\r\n        libcudart support:      no\r\n        libcuda support:        no\r\n        libcupti support:       no\r\n        CUPTI async support:    no\r\n        CUDA version >= 6.0:    no\r\n      OpenACC support:          no\r\n      OpenMP support:           yes, using -fopenmp\r\n        OpenMP pomp_tpd:        yes\r\n        OpenMP ancestry:        yes\r\n      PDT support:              no\r\n      Cobi support:             no\r\n      Timer support:            yes, providing gettimeofday, clock_gettime(CLOCK_MONOTONIC_RAW)\r\n        Timer CPPFLAGS:         -D_POSIX_C_SOURCE=199309L\r\n      libbfd support:           no\r\n      compiler instrumentation: yes, using nm\r\n      Online access support:    yes\r\n      Memory tracking support:  yes\r\n      Compiler wrappers:        scorep-gcc scorep-g++ scorep-gfortran scorep-mpicc scorep-mpicxx scorep-mpif77 scorep-mpif90 \r\n      User library wrappers support:\r\n                                no\r\n\r\n    Score-P (GCC plug-in):\r\n      GCC plug-in support:      no, missing plug-in headers, please install\r\n\r\n    Score-P (libwrap):\r\n      Library wrapper support:  no, llvm-config not found\r\n\r\n    Score-P (MPI backend):\r\n      C99 compiler works:       yes, using mpicc -std=gnu99\r\n      C++ compiler works:       yes, using mpicxx\r\n      F77 compiler works:       yes, using mpif77\r\n      F90 compiler works:       yes, using mpif90\r\n      Library used for MPI:     \r\n      TLS support:              yes, using __thread\r\n      PAPI support:             no\r\n      metric perf support:      yes\r\n      Unwinding support:        no, missing libunwind support\r\n        libunwind support:      no\r\n      Sampling support:         no\r\n      getrusage support:        yes\r\n      RUSAGE_THREAD support:    yes, using -D_GNU_SOURCE\r\n      dlfcn support:            yes, using -ldl\r\n      OpenCL support:           yes\r\n        libOpenCL support:      yes, using -lOpenCL\r\n      CUDA support:             no\r\n        libcudart support:      no\r\n        libcuda support:        no\r\n        libcupti support:       no\r\n        CUPTI async support:    no\r\n        CUDA version >= 6.0:    no\r\n      OpenACC support:          no\r\n      OpenMP support:           yes, using -fopenmp\r\n        OpenMP pomp_tpd:        yes\r\n        OpenMP ancestry:        yes\r\n      PDT MPI instrumentation:  yes, if PDT available\r\n      Timer support:            yes, providing gettimeofday, clock_gettime(CLOCK_MONOTONIC_RAW)\r\n        Timer CPPFLAGS:         -D_POSIX_C_SOURCE=199309L\r\n      libbfd support:           no\r\n      compiler instrumentation: yes, using nm\r\n      Online access support:    yes\r\n      Memory tracking support:  yes\r\n      User library wrappers support:\r\n                                no\r\n\r\n    Score-P (score):\r\n      C compiler used:          gcc  -std=gnu99\r\n      C++ compiler used:        g++\r\n      cube c++ library support: yes, using internal\r\n\r\n  CubeLib 4.4:\r\n    Cube installed into:        /opt/scorep\r\n    Platform:                   arm (auto detected)\r\n    Cross compiling:            no (auto detected)\r\n    cubelib-config:             /opt/scorep/bin\r\n    For detailed information:   \"/opt/scorep/bin/cubelib-config --help\"\r\n    Examples:                   /opt/scorep/share/doc/cubelib/example\r\n\r\n    CubeLib (frontend):\r\n      POSIX socket:             yes\r\n      Networking:               yes\r\n      Cube C++ Library:         yes\r\n      Cube Tools:               yes\r\n      Frontend zlib compression :\r\n                                readonly\r\n        zlib headers :          \r\n        zlib library :            -lz\r\n        Notice:                 Front end part of cube (c++ cube library, tools and GUI) can read compressed cube files, but\r\n                                write only uncompressed cube files.\r\n        zlib compression flags :\r\n                                 -DFRONTEND_CUBE_COMPRESSED_READONLY=yes \r\n      Use R for cube_dump:      no\r\n        Notice:                 R, Rscript, RInside and Rcpp are necessary\r\n      Data loading strategy :   Keep all in memory, load on demand\r\n      C++ compiler used:        g++\r\n       Compiler flags used:      \r\n\r\n  CubeW 4.4:\r\n    Cube installed into:        /opt/scorep\r\n    Platform:                   arm (auto detected)\r\n    Cross compiling:            no (auto detected)\r\n    cubew-config:               /opt/scorep/bin\r\n    For detailed information:   \"/opt/scorep/bin/cubew-config --help\"\r\n    Examples:                   /opt/scorep/share/doc/cubew/example\r\n\r\n    CubeW (backend):\r\n      zlib compression :        yes\r\n        zlib headers :          \r\n        zlib library :            -lz\r\n        Notice:                 Cube (c-writer library) produces compressed cube report.(enabled via environment variable\r\n                                CUBEW_ZLIB_COMPRESSION=true)\r\n        zlib compression flags :\r\n                                 -DBACKEND_CUBE_COMPRESSED=yes \r\n      Advanced memory handling :\r\n                                no\r\n      Internal memory tracking :\r\n                                no\r\n      Internal memory tracing : no\r\n      C99 compiler used:        gcc -std=gnu99\r\n      C++ compiler used:        g++\r\n       Compiler flags used:     -g -O2\r\n       Compiler cxxflags used:  -g -O2\r\n\r\n  OPARI2 2.0.3:\r\n    Platform:                   arm (provided)\r\n    Cross compiling:            no (provided)\r\n\r\n  OTF2 2.1.1:\r\n    Platform:                   arm (provided)\r\n    Cross compiling:            no (provided)\r\n\r\n    OTF2 (backend):\r\n      C99 compiler used:        gcc -std=gnu99\r\n      SIONlib support:          no\r\n      Entropy sources:          clock_gettime getpid sysinfo gethostid\r\n      Python bindings support:  yes, using /usr/local/bin/python\r\n      Running tests:            no\r\n        Parallel tests:         yes\r\n\r\n"}}
{"actor":{"display_login":"AndreasGocht"}}