taucmdr
taucmdr copied to clipboard
Python version error with Score-P/OTF2
Configuring OTF2 and/or Score-P gives an error:
=== configuring in vendor/otf2 (/dev/shm/tmp3aovcj8u/scorep-6.0/vendor/otf2)
configure: running /bin/bash ./configure --disable-option-checking '--prefix=/home/nchaimov/taucmdr/system/scorep/a19cab25' 'MPICC=mpicc' 'CXX=g++' 'MPICXX=mpicxx' 'CC=gcc' '--with-libbfd=/home/nchaimov/taucmdr/system/binutils/7caa709f' 'MPIF77=mpif77' 'MPIFC=mpif90' 'FC=gfortran' 'F77=gfortran' '--with-nocross-compiler-suite=gcc' '--with-libunwind=/home/nchaimov/taucmdr/system/libunwind/33f672a2' '--without-shmem' '--dis
able-dependency-tracking' '--disable-gcc-plugin' '--without-gui' '--without-cube' '--without-opari2' '--without-otf2' '--enable-shared' 'ac_scorep_platform=linux' 'ac_scorep_platform_data_provided=yes' 'ac_scorep_cross_compiling=no' 'ac_scorep_doxygen_distdir=/vendor/otf2' --cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to create a pax tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-pc-linux-gnu
checking for platform... linux (provided)
checking for cross compilation... no
configure: platform data provided by toplevel configure.
checking for uncrustify... no
checking for doxygen... no
checking for a Python interpreter with version >= 2.5... python
checking for python... /home/nchaimov/taucmdr-inst/conda/bin/python
checking for python version... 3.7
checking for python platform... linux
checking for python script directory... ${prefix}/lib/python3.7/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python3.7/site-packages
configure: error: OTF2 does require a Python 2 version: 3.7
configure: error: ./configure failed for vendor/otf2
[TAU] Score-P installation failed: Score-P configure failed
We probably need to pass something to disable the Python bindings in OTF2 or upgrade to a newer OTF2 that supports Python 3.