diff --git a/easybuild/easyconfigs/o/OTF2/OTF2-3.0-GCCcore-11.3.0.eb b/easybuild/easyconfigs/o/OTF2/OTF2-3.0-GCCcore-11.3.0.eb index 6e982449e9e..fe8a5244c12 100644 --- a/easybuild/easyconfigs/o/OTF2/OTF2-3.0-GCCcore-11.3.0.eb +++ b/easybuild/easyconfigs/o/OTF2/OTF2-3.0-GCCcore-11.3.0.eb @@ -3,6 +3,7 @@ # Copyright:: Copyright 2013-2019 Juelich Supercomputing Centre, Germany # Authors:: Bernd Mohr # Markus Geimer +# Jan Andre Reuter # License:: 3-clause BSD # # This work is based on experiences from the UNITE project @@ -34,17 +35,21 @@ builddependencies = [ dependencies = [ # SIONlib container support (optional): ('SIONlib', '1.7.7', '-tools'), + # OTF2 Python bindings + ('Python', '3.10.4'), ] +local_pyshortver = '3.10' configopts = '--enable-shared' +modextrapaths = {'PYTHONPATH': ['lib64/python%s/site-packages' % local_pyshortver]} sanity_check_paths = { 'files': ['bin/otf2-config', 'include/otf2/otf2.h', 'lib/libotf2.a', 'lib/libotf2.%s' % SHLIB_EXT], 'dirs': [], } - -sanity_check_commands = ['%(namelower)s-config --help'] +sanity_check_commands = ['%(namelower)s-config --help', + 'python -c "import %(namelower)s"'] moduleclass = 'perf' diff --git a/easybuild/easyconfigs/o/OTF2/OTF2-3.0.2-GCCcore-11.2.0.eb b/easybuild/easyconfigs/o/OTF2/OTF2-3.0.2-GCCcore-11.2.0.eb index 7c4d60f0514..488b8e0de0d 100644 --- a/easybuild/easyconfigs/o/OTF2/OTF2-3.0.2-GCCcore-11.2.0.eb +++ b/easybuild/easyconfigs/o/OTF2/OTF2-3.0.2-GCCcore-11.2.0.eb @@ -3,6 +3,7 @@ # Copyright:: Copyright 2013-2019 Juelich Supercomputing Centre, Germany # Authors:: Bernd Mohr # Markus Geimer +# Jan Andre Reuter # License:: 3-clause BSD # # This work is based on experiences from the UNITE project @@ -34,17 +35,22 @@ builddependencies = [ dependencies = [ # SIONlib container support (optional): ('SIONlib', '1.7.7', '-tools'), + # OTF2 Python bindings + ('Python', '3.9.6'), ] +local_pyshortver = '3.9' configopts = '--enable-shared' +modextrapaths = {'PYTHONPATH': ['lib64/python%s/site-packages' % local_pyshortver]} sanity_check_paths = { 'files': ['bin/otf2-config', 'include/otf2/otf2.h', 'lib/libotf2.a', 'lib/libotf2.%s' % SHLIB_EXT], 'dirs': [], } +sanity_check_commands = ['%(namelower)s-config --help', + 'python -c "import %(namelower)s"'] -sanity_check_commands = ['%(namelower)s-config --help'] moduleclass = 'perf' diff --git a/easybuild/easyconfigs/o/OTF2/OTF2-3.0.2-GCCcore-11.3.0.eb b/easybuild/easyconfigs/o/OTF2/OTF2-3.0.2-GCCcore-11.3.0.eb index 61eba75f5f0..6756aa72eac 100644 --- a/easybuild/easyconfigs/o/OTF2/OTF2-3.0.2-GCCcore-11.3.0.eb +++ b/easybuild/easyconfigs/o/OTF2/OTF2-3.0.2-GCCcore-11.3.0.eb @@ -3,6 +3,7 @@ # Copyright:: Copyright 2013-2019 Juelich Supercomputing Centre, Germany # Authors:: Bernd Mohr # Markus Geimer +# Jan Andre Reuter # License:: 3-clause BSD # # This work is based on experiences from the UNITE project @@ -34,17 +35,21 @@ builddependencies = [ dependencies = [ # SIONlib container support (optional): ('SIONlib', '1.7.7', '-tools'), + # OTF2 Python bindings + ('Python', '3.10.4'), ] +local_pyshortver = '3.10' configopts = '--enable-shared' +modextrapaths = {'PYTHONPATH': ['lib64/python%s/site-packages' % local_pyshortver]} sanity_check_paths = { 'files': ['bin/otf2-config', 'include/otf2/otf2.h', 'lib/libotf2.a', 'lib/libotf2.%s' % SHLIB_EXT], 'dirs': [], } - -sanity_check_commands = ['%(namelower)s-config --help'] +sanity_check_commands = ['%(namelower)s-config --help', + 'python -c "import %(namelower)s"'] moduleclass = 'perf' diff --git a/easybuild/easyconfigs/o/OTF2/OTF2-3.0.3-GCCcore-12.2.0.eb b/easybuild/easyconfigs/o/OTF2/OTF2-3.0.3-GCCcore-12.2.0.eb index 54478bf62fa..f4c842e0450 100644 --- a/easybuild/easyconfigs/o/OTF2/OTF2-3.0.3-GCCcore-12.2.0.eb +++ b/easybuild/easyconfigs/o/OTF2/OTF2-3.0.3-GCCcore-12.2.0.eb @@ -3,6 +3,7 @@ # Copyright:: Copyright 2013-2019 Juelich Supercomputing Centre, Germany # Authors:: Bernd Mohr # Markus Geimer +# Jan Andre Reuter # License:: 3-clause BSD # # This work is based on experiences from the UNITE project @@ -34,17 +35,21 @@ builddependencies = [ dependencies = [ # SIONlib container support (optional): ('SIONlib', '1.7.7', '-tools'), + # OTF2 Python bindings + ('Python', '3.10.8'), ] +local_pyshortver = '3.10' configopts = '--enable-shared' +modextrapaths = {'PYTHONPATH': ['lib64/python%s/site-packages' % local_pyshortver]} sanity_check_paths = { 'files': ['bin/otf2-config', 'include/otf2/otf2.h', 'lib/libotf2.a', 'lib/libotf2.%s' % SHLIB_EXT], 'dirs': [], } - -sanity_check_commands = ['%(namelower)s-config --help'] +sanity_check_commands = ['%(namelower)s-config --help', + 'python -c "import %(namelower)s"'] moduleclass = 'perf' diff --git a/easybuild/easyconfigs/o/OTF2/OTF2-3.0.3-GCCcore-12.3.0.eb b/easybuild/easyconfigs/o/OTF2/OTF2-3.0.3-GCCcore-12.3.0.eb index 17595d97acb..db786b12a41 100644 --- a/easybuild/easyconfigs/o/OTF2/OTF2-3.0.3-GCCcore-12.3.0.eb +++ b/easybuild/easyconfigs/o/OTF2/OTF2-3.0.3-GCCcore-12.3.0.eb @@ -3,6 +3,7 @@ # Copyright:: Copyright 2013-2019 Juelich Supercomputing Centre, Germany # Authors:: Bernd Mohr # Markus Geimer +# Jan Andre Reuter # License:: 3-clause BSD # # This work is based on experiences from the UNITE project @@ -34,17 +35,22 @@ builddependencies = [ dependencies = [ # SIONlib container support (optional): ('SIONlib', '1.7.7', '-tools'), + # OTF2 Python bindings + ('Python', '3.11.3'), + ('Python-bundle-PyPI', '2023.06'), ] +local_pyshortver = '3.11' configopts = '--enable-shared' +modextrapaths = {'PYTHONPATH': ['lib64/python%s/site-packages' % local_pyshortver]} sanity_check_paths = { 'files': ['bin/otf2-config', 'include/otf2/otf2.h', 'lib/libotf2.a', 'lib/libotf2.%s' % SHLIB_EXT], 'dirs': [], } - -sanity_check_commands = ['%(namelower)s-config --help'] +sanity_check_commands = ['%(namelower)s-config --help', + 'python -c "import %(namelower)s"'] moduleclass = 'perf' diff --git a/easybuild/easyconfigs/o/OTF2/OTF2-3.0.3-GCCcore-13.2.0.eb b/easybuild/easyconfigs/o/OTF2/OTF2-3.0.3-GCCcore-13.2.0.eb index 48cbf931ec5..c5108c8daca 100644 --- a/easybuild/easyconfigs/o/OTF2/OTF2-3.0.3-GCCcore-13.2.0.eb +++ b/easybuild/easyconfigs/o/OTF2/OTF2-3.0.3-GCCcore-13.2.0.eb @@ -3,6 +3,7 @@ # Copyright:: Copyright 2013-2019 Juelich Supercomputing Centre, Germany # Authors:: Bernd Mohr # Markus Geimer +# Jan Andre Reuter # License:: 3-clause BSD # # This work is based on experiences from the UNITE project @@ -34,17 +35,22 @@ builddependencies = [ dependencies = [ # SIONlib container support (optional): ('SIONlib', '1.7.7', '-tools'), + # OTF2 Python bindings + ('Python', '3.11.5'), + ('Python-bundle-PyPI', '2023.10'), ] +local_pyshortver = '3.11' configopts = '--enable-shared' +modextrapaths = {'PYTHONPATH': ['lib64/python%s/site-packages' % local_pyshortver]} sanity_check_paths = { 'files': ['bin/otf2-config', 'include/otf2/otf2.h', 'lib/libotf2.a', 'lib/libotf2.%s' % SHLIB_EXT], 'dirs': [], } - -sanity_check_commands = ['%(namelower)s-config --help'] +sanity_check_commands = ['%(namelower)s-config --help', + 'python -c "import %(namelower)s"'] moduleclass = 'perf'