Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save boegelbot/89074b6ebe72da5d911f94ce2cd06553 to your computer and use it in GitHub Desktop.
Save boegelbot/89074b6ebe72da5d911f94ce2cd06553 to your computer and use it in GitHub Desktop.
(partial) EasyBuild log for failed build of /tmp/eb-cilb4hhf/files_pr12964/s/SciPy-bundle/SciPy-bundle-2021.05-intel-2021a.eb (PR(s) #12964)
......... [ 67%]
lib/tests/test_ufunclike.py ...... [ 67%]
lib/tests/test_utils.py ............... [ 68%]
linalg/tests/test_build.py . [ 68%]
linalg/tests/test_deprecations.py . [ 68%]
linalg/tests/test_linalg.py ............................................ [ 68%]
..............................................F......................... [ 68%]
........................................................................ [ 69%]
.........................................F.F............................ [ 70%]
................................... [ 70%]
linalg/tests/test_regression.py ......... [ 70%]
ma/tests/test_core.py .................................................. [ 70%]
........................................................................ [ 71%]
........................................................................ [ 71%]
........................................................................ [ 72%]
........................................................................ [ 73%]
........................................................................ [ 73%]
........................................................................ [ 74%]
........................................................................ [ 74%]
........................................................................ [ 75%]
........................................................................ [ 75%]
........................................................................ [ 76%]
........................................................................ [ 76%]
........................................................................ [ 77%]
........................................................................ [ 77%]
........................................................................ [ 78%]
........................................................................ [ 79%]
........................................................................ [ 79%]
........................................................................ [ 80%]
........................................................................ [ 80%]
........................................................................ [ 81%]
...............xx....................................................... [ 81%]
........................................................................ [ 82%]
........................................................................ [ 82%]
........................................................................ [ 83%]
............................... [ 83%]
ma/tests/test_deprecations.py ...... [ 83%]
ma/tests/test_extras.py ................................................ [ 84%]
....................................... [ 84%]
ma/tests/test_mrecords.py ........................ [ 84%]
ma/tests/test_old_ma.py ...................................... [ 84%]
ma/tests/test_regression.py ............. [ 85%]
ma/tests/test_subclassing.py ............ [ 85%]
matrixlib/tests/test_defmatrix.py ...................................... [ 85%]
..... [ 85%]
matrixlib/tests/test_interaction.py ....................... [ 85%]
matrixlib/tests/test_masked_matrix.py .............. [ 85%]
matrixlib/tests/test_matrix_linalg.py .................................. [ 85%]
........ [ 86%]
matrixlib/tests/test_multiarray.py .. [ 86%]
matrixlib/tests/test_numeric.py .. [ 86%]
matrixlib/tests/test_regression.py .... [ 86%]
polynomial/tests/test_chebyshev.py ..................................... [ 86%]
.... [ 86%]
polynomial/tests/test_classes.py ....................................... [ 86%]
........................................................................ [ 87%]
........................................................................ [ 87%]
...................................................... [ 88%]
polynomial/tests/test_hermite.py .................................. [ 88%]
polynomial/tests/test_hermite_e.py .................................. [ 88%]
polynomial/tests/test_laguerre.py .................................. [ 89%]
polynomial/tests/test_legendre.py .................................. [ 89%]
polynomial/tests/test_polynomial.py ............................... [ 89%]
polynomial/tests/test_polyutils.py ...... [ 89%]
polynomial/tests/test_printing.py ...................................... [ 89%]
......................... [ 90%]
random/tests/test_direct.py ............................................ [ 90%]
........................... [ 90%]
random/tests/test_extending.py s. [ 90%]
random/tests/test_generator_mt19937.py ................................. [ 90%]
........................................................................ [ 91%]
........................................................................ [ 91%]
................................................................. [ 92%]
random/tests/test_generator_mt19937_regressions.py ............ [ 92%]
random/tests/test_random.py ............................................ [ 92%]
........................................................................ [ 93%]
.............. [ 93%]
random/tests/test_randomstate.py ....................................... [ 93%]
........................................................................ [ 94%]
........................................................ [ 94%]
random/tests/test_randomstate_regression.py ................. [ 94%]
random/tests/test_regression.py ........... [ 95%]
random/tests/test_seed_sequence.py .. [ 95%]
random/tests/test_smoke.py .s........................................... [ 95%]
........................................................................ [ 95%]
........................................................................ [ 96%]
........................................................................ [ 97%]
....ss.................................................................. [ 97%]
........................................................................ [ 98%]
.................................................... [ 98%]
testing/tests/test_decorators.py ........ [ 98%]
testing/tests/test_utils.py ............................................ [ 98%]
......................................sss............................... [ 99%]
............ [ 99%]
tests/test_ctypeslib.py ....................... [ 99%]
tests/test_matlib.py ........ [ 99%]
tests/test_numpy_version.py . [ 99%]
tests/test_public_api.py .......... [ 99%]
tests/test_reloading.py ... [ 99%]
tests/test_scripts.py xxx. [ 99%]
typing/tests/test_isfile.py . [100%]
==================================== ERRORS ====================================
________________ ERROR at setup of TestF90Callback.test_gh17797 ________________
self = <numpy.f2py.tests.test_callback.TestF90Callback object at 0x14f1950f5ca0>
def setup(self):
if sys.platform == 'win32':
pytest.skip('Fails with MinGW64 Gfortran (Issue #9673)')
if self.module is not None:
return
# Check compiler availability first
if not has_c_compiler():
pytest.skip("No C compiler available")
codes = []
if self.sources:
codes.extend(self.sources)
if self.code is not None:
codes.append(self.suffix)
needs_f77 = False
needs_f90 = False
for fn in codes:
if fn.endswith('.f'):
needs_f77 = True
elif fn.endswith('.f90'):
needs_f90 = True
if needs_f77 and not has_f77_compiler():
pytest.skip("No Fortran 77 compiler available")
if needs_f90 and not has_f90_compiler():
pytest.skip("No Fortran 90 compiler available")
# Build the module
if self.code is not None:
> self.module = build_code(self.code, options=self.options,
skip=self.skip, only=self.only,
suffix=self.suffix,
module_name=self.module_name)
codes = ['.f90']
fn = '.f90'
needs_f77 = False
needs_f90 = True
self = <numpy.f2py.tests.test_callback.TestF90Callback object at 0x14f1950f5ca0>
/tmp/eb-cilb4hhf/tmp_xo1u4mh/lib/python3.9/site-packages/numpy/f2py/tests/util.py:351:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/tmp/eb-cilb4hhf/tmp_xo1u4mh/lib/python3.9/site-packages/numpy/f2py/tests/util.py:73: in wrapper
memo[key] = func(*a, **kw)
a = ('\nfunction gh17797(f, y) result(r)\n external f\n integer(8) :: r, f\n integer(8), dimension(:) :: y\n r = f(0)\n r = r + sum(y)\nend function gh17797\n',)
func = <function build_code at 0x14f19b760310>
key = "(('\\nfunction gh17797(f, y) result(r)\\n external f\\n integer(8) :: r, f\\n integer(8), dimension(:) :: y\\n r ...+ sum(y)\\nend function gh17797\\n',), {'options': [], 'skip': [], 'only': [], 'suffix': '.f90', 'module_name': None})"
kw = {'module_name': None, 'only': [], 'options': [], 'skip': [], ...}
memo = {'(("\\n subroutine t(fun,a)\\n integer a\\ncf2py intent(out) a\\n external fun\\n call fun(a.../tmp/eb-cilb4hhf/tmp681_dbqz/src.linux-x86_64-3.9/_test_ext_module_5407-f2pywrappers2.o" failed with exit status 1\n')}
/tmp/eb-cilb4hhf/tmp_xo1u4mh/lib/python3.9/site-packages/numpy/f2py/tests/util.py:158: in build_code
return build_module([path], options=options, skip=skip, only=only,
f = <_io.TextIOWrapper name='/tmp/eb-cilb4hhf/tmpts2makj7.f90' mode='w' encoding='UTF-8'>
module_name = None
only = []
options = []
path = '/tmp/eb-cilb4hhf/tmpts2makj7.f90'
skip = []
source_code = '\nfunction gh17797(f, y) result(r)\n external f\n integer(8) :: r, f\n integer(8), dimension(:) :: y\n r = f(0)\n r = r + sum(y)\nend function gh17797\n'
suffix = '.f90'
/tmp/eb-cilb4hhf/tmp_xo1u4mh/lib/python3.9/site-packages/numpy/f2py/tests/util.py:73: in wrapper
memo[key] = func(*a, **kw)
a = (['/tmp/eb-cilb4hhf/tmpts2makj7.f90'],)
func = <function build_module at 0x14f19b7601f0>
key = "((['/tmp/eb-cilb4hhf/tmpts2makj7.f90'],), {'options': [], 'skip': [], 'only': [], 'module_name': None})"
kw = {'module_name': None, 'only': [], 'options': [], 'skip': []}
memo = {"((['/tmp/eb-cilb4hhf/tmpc4yhd9p8.f'],), {'options': [], 'skip': [], 'only': [], 'module_name': None})": <module '_te.../tmp/eb-cilb4hhf/tmp681_dbqz/src.linux-x86_64-3.9/_test_ext_module_5407-f2pywrappers2.o" failed with exit status 1\n')}
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
source_files = ['/tmp/eb-cilb4hhf/tmpts2makj7.f90'], options = [], skip = []
only = [], module_name = '_test_ext_module_5407'
@_memoize
def build_module(source_files, options=[], skip=[], only=[], module_name=None):
"""
Compile and import a f2py module, built from the given files.
"""
code = ("import sys; sys.path = %s; import numpy.f2py as f2py2e; "
"f2py2e.main()" % repr(sys.path))
d = get_module_dir()
# Copy files
dst_sources = []
f2py_sources = []
for fn in source_files:
if not os.path.isfile(fn):
raise RuntimeError("%s is not a file" % fn)
dst = os.path.join(d, os.path.basename(fn))
shutil.copyfile(fn, dst)
dst_sources.append(dst)
base, ext = os.path.splitext(dst)
if ext in ('.f90', '.f', '.c', '.pyf'):
f2py_sources.append(dst)
# Prepare options
if module_name is None:
module_name = get_temp_module_name()
f2py_opts = ['-c', '-m', module_name] + options + f2py_sources
if skip:
f2py_opts += ['skip:'] + skip
if only:
f2py_opts += ['only:'] + only
# Build
cwd = os.getcwd()
try:
os.chdir(d)
cmd = [sys.executable, '-c', code] + f2py_opts
p = subprocess.Popen(cmd, stdout=subprocess.PIPE,
stderr=subprocess.STDOUT)
out, err = p.communicate()
if p.returncode != 0:
> raise RuntimeError("Running f2py failed: %s\n%s"
% (cmd[4:], asstr(out)))
E RuntimeError: Running f2py failed: ['-m', '_test_ext_module_5407', '/tmp/eb-cilb4hhf/tmpqk_ozfua/tmpts2makj7.f90']
E running build
E running config_cc
E unifing config_cc, config, build_clib, build_ext, build commands --compiler options
E running config_fc
E unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
E running build_src
E build_src
E building extension "_test_ext_module_5407" sources
E f2py options: []
E f2py:> /tmp/eb-cilb4hhf/tmp681_dbqz/src.linux-x86_64-3.9/_test_ext_module_5407module.c
E creating /tmp/eb-cilb4hhf/tmp681_dbqz/src.linux-x86_64-3.9
E append_needs: unknown need 'int'
E Reading fortran codes...
E Reading file '/tmp/eb-cilb4hhf/tmpqk_ozfua/tmpts2makj7.f90' (format:free)
E Post-processing...
E Block: _test_ext_module_5407
E Block: gh17797
E Block: f
E Post-processing (stage 2)...
E Building modules...
E Constructing call-back function "cb_f_in_gh17797__user__routines"
E def f(e_0_err): return r
E Building module "_test_ext_module_5407"...
E Creating wrapper for Fortran function "gh17797"("gh17797")...
E Constructing wrapper function "gh17797"...
E r = gh17797(f,y,[f_extra_args])
E Wrote C/API module "_test_ext_module_5407" to file "/tmp/eb-cilb4hhf/tmp681_dbqz/src.linux-x86_64-3.9/_test_ext_module_5407module.c"
E Fortran 90 wrappers are saved to "/tmp/eb-cilb4hhf/tmp681_dbqz/src.linux-x86_64-3.9/_test_ext_module_5407-f2pywrappers2.f90"
E adding '/tmp/eb-cilb4hhf/tmp681_dbqz/src.linux-x86_64-3.9/fortranobject.c' to sources.
E adding '/tmp/eb-cilb4hhf/tmp681_dbqz/src.linux-x86_64-3.9' to include_dirs.
E copying /tmp/eb-cilb4hhf/tmp_xo1u4mh/lib/python3.9/site-packages/numpy/f2py/src/fortranobject.c -> /tmp/eb-cilb4hhf/tmp681_dbqz/src.linux-x86_64-3.9
E copying /tmp/eb-cilb4hhf/tmp_xo1u4mh/lib/python3.9/site-packages/numpy/f2py/src/fortranobject.h -> /tmp/eb-cilb4hhf/tmp681_dbqz/src.linux-x86_64-3.9
E adding '/tmp/eb-cilb4hhf/tmp681_dbqz/src.linux-x86_64-3.9/_test_ext_module_5407-f2pywrappers2.f90' to sources.
E build_src: building npy-pkg config files
E running build_ext
E customize UnixCCompiler
E C compiler: icc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -O2 -ftree-vectorize -march=native -fno-math-errno -fPIC -O2 -ftree-vectorize -march=native -fno-math-errno -fPIC -O1 -xHost -fp-speculation=strict -fp-model strict -fPIC -I/project/boegelbot/Rocky8/haswell/software/imkl/2021.2.0-iimpi-2021a/mkl/2021.2.0/include -fPIC
E
E creating /tmp/eb-cilb4hhf/tmpeql6xnh8/tmp
E creating /tmp/eb-cilb4hhf/tmpeql6xnh8/tmp/eb-cilb4hhf
E creating /tmp/eb-cilb4hhf/tmpeql6xnh8/tmp/eb-cilb4hhf/tmpeql6xnh8
E compile options: '-MMD -MF /tmp/eb-cilb4hhf/tmpeql6xnh8/file.c.d -c'
E icc: /tmp/eb-cilb4hhf/tmpeql6xnh8/file.c
E icc: command line warning #10148: option '-Wno-unused-result' not supported
E icc: command line warning #10121: overriding '-march=native' with '-march=native'
E icc: command line warning #10121: overriding '-march=native' with '-xHost'
E Command-line warning #1678: cannot enable speculation unless fenv_access and exception_semantics are disabled
E
E customize UnixCCompiler using build_ext
E get_default_fcompiler: matching types: '['gnu95', 'intel', 'lahey', 'pg', 'nv', 'absoft', 'nag', 'vast', 'compaq', 'intele', 'intelem', 'gnu', 'g95', 'pathf95', 'nagfor', 'fujitsu']'
E customize Gnu95FCompiler
E Found executable /project/boegelbot/Rocky8/haswell/software/intel-compilers/2021.2.0/compiler/2021.2.0/linux/bin/intel64/ifort
E Could not locate executable icc -shared
E Found executable /project/boegelbot/Rocky8/haswell/software/GCCcore/10.3.0/bin/gfortran
E customize IntelFCompiler
E customize LaheyFCompiler
E customize PGroupFCompiler
E customize NVHPCFCompiler
E customize AbsoftFCompiler
E customize NAGFCompiler
E customize VastFCompiler
E customize CompaqFCompiler
E customize IntelItaniumFCompiler
E customize IntelEM64TFCompiler
E customize IntelEM64TFCompiler
E customize IntelEM64TFCompiler using build_ext
E building '_test_ext_module_5407' extension
E compiling C sources
E C compiler: icc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -O2 -ftree-vectorize -march=native -fno-math-errno -fPIC -O2 -ftree-vectorize -march=native -fno-math-errno -fPIC -O1 -xHost -fp-speculation=strict -fp-model strict -fPIC -I/project/boegelbot/Rocky8/haswell/software/imkl/2021.2.0-iimpi-2021a/mkl/2021.2.0/include -fPIC
E
E creating /tmp/eb-cilb4hhf/tmp681_dbqz/tmp
E creating /tmp/eb-cilb4hhf/tmp681_dbqz/tmp/eb-cilb4hhf
E creating /tmp/eb-cilb4hhf/tmp681_dbqz/tmp/eb-cilb4hhf/tmp681_dbqz
E creating /tmp/eb-cilb4hhf/tmp681_dbqz/tmp/eb-cilb4hhf/tmp681_dbqz/src.linux-x86_64-3.9
E compile options: '-DNPY_DISABLE_OPTIMIZATION=1 -I/tmp/eb-cilb4hhf/tmp681_dbqz/src.linux-x86_64-3.9 -I/tmp/eb-cilb4hhf/tmp_xo1u4mh/lib/python3.9/site-packages/numpy/core/include -I/project/boegelbot/Rocky8/haswell/software/Python/3.9.5-GCCcore-10.3.0/include/python3.9 -c'
E icc: /tmp/eb-cilb4hhf/tmp681_dbqz/src.linux-x86_64-3.9/_test_ext_module_5407module.c
E icc: /tmp/eb-cilb4hhf/tmp681_dbqz/src.linux-x86_64-3.9/fortranobject.c
E icc: command line warning #10148: option '-Wno-unused-result' not supported
E icc: command line warning #10121: overriding '-march=native' with '-march=native'
E icc: command line warning #10121: overriding '-march=native' with '-xHost'
E icc: command line warning #10148: option '-Wno-unused-result' not supported
E icc: command line warning #10121: overriding '-march=native' with '-march=native'
E icc: command line warning #10121: overriding '-march=native' with '-xHost'
E Command-line warning #1678: cannot enable speculation unless fenv_access and exception_semantics are disabled
E
E Command-line warning #1678: cannot enable speculation unless fenv_access and exception_semantics are disabled
E
E In file included from /tmp/eb-cilb4hhf/tmp_xo1u4mh/lib/python3.9/site-packages/numpy/core/include/numpy/ndarrayobject.h(12),
E from /tmp/eb-cilb4hhf/tmp_xo1u4mh/lib/python3.9/site-packages/numpy/core/include/numpy/arrayobject.h(4),
E from /tmp/eb-cilb4hhf/tmp681_dbqz/src.linux-x86_64-3.9/fortranobject.h(13),
E from /tmp/eb-cilb4hhf/tmp681_dbqz/src.linux-x86_64-3.9/fortranobject.c(2):
E /tmp/eb-cilb4hhf/tmp_xo1u4mh/lib/python3.9/site-packages/numpy/core/include/numpy/ndarraytypes.h(84): warning #2650: attributes ignored here
E NPY_CHAR NPY_ATTR_DEPRECATE("Use NPY_STRING"),
E ^
E
E In file included from /tmp/eb-cilb4hhf/tmp_xo1u4mh/lib/python3.9/site-packages/numpy/core/include/numpy/ndarrayobject.h(12),
E from /tmp/eb-cilb4hhf/tmp_xo1u4mh/lib/python3.9/site-packages/numpy/core/include/numpy/arrayobject.h(4),
E from /tmp/eb-cilb4hhf/tmp681_dbqz/src.linux-x86_64-3.9/fortranobject.h(13),
E from /tmp/eb-cilb4hhf/tmp681_dbqz/src.linux-x86_64-3.9/_test_ext_module_5407module.c(16):
E /tmp/eb-cilb4hhf/tmp_xo1u4mh/lib/python3.9/site-packages/numpy/core/include/numpy/ndarraytypes.h(84): warning #2650: attributes ignored here
E NPY_CHAR NPY_ATTR_DEPRECATE("Use NPY_STRING"),
E ^
E
E In file included from /tmp/eb-cilb4hhf/tmp_xo1u4mh/lib/python3.9/site-packages/numpy/core/include/numpy/ndarraytypes.h(1944),
E from /tmp/eb-cilb4hhf/tmp_xo1u4mh/lib/python3.9/site-packages/numpy/core/include/numpy/ndarrayobject.h(12),
E from /tmp/eb-cilb4hhf/tmp_xo1u4mh/lib/python3.9/site-packages/numpy/core/include/numpy/arrayobject.h(4),
E from /tmp/eb-cilb4hhf/tmp681_dbqz/src.linux-x86_64-3.9/fortranobject.h(13),
E from /tmp/eb-cilb4hhf/tmp681_dbqz/src.linux-x86_64-3.9/fortranobject.c(2):
E /tmp/eb-cilb4hhf/tmp_xo1u4mh/lib/python3.9/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h(17): warning #1224: #warning directive: "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION"
E #warning "Using deprecated NumPy API, disable it with " \
E ^
E
E In file included from /tmp/eb-cilb4hhf/tmp_xo1u4mh/lib/python3.9/site-packages/numpy/core/include/numpy/ndarraytypes.h(1944),
E from /tmp/eb-cilb4hhf/tmp_xo1u4mh/lib/python3.9/site-packages/numpy/core/include/numpy/ndarrayobject.h(12),
E from /tmp/eb-cilb4hhf/tmp_xo1u4mh/lib/python3.9/site-packages/numpy/core/include/numpy/arrayobject.h(4),
E from /tmp/eb-cilb4hhf/tmp681_dbqz/src.linux-x86_64-3.9/fortranobject.h(13),
E from /tmp/eb-cilb4hhf/tmp681_dbqz/src.linux-x86_64-3.9/_test_ext_module_5407module.c(16):
E /tmp/eb-cilb4hhf/tmp_xo1u4mh/lib/python3.9/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h(17): warning #1224: #warning directive: "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION"
E #warning "Using deprecated NumPy API, disable it with " \
E ^
E
E compiling Fortran sources
E Fortran f77 compiler: ifort -FI -fPIC -O1 -xHost -fp-speculation=strict -fp-model strict -fPIC -fp-model strict -O1 -qopenmp
E Fortran f90 compiler: ifort -FR -O1 -xHost -fp-speculation=strict -fp-model strict -fPIC -fPIC -O1 -xHost -fp-speculation=strict -fp-model strict -fPIC -fp-model strict -O1 -qopenmp
E Fortran fix compiler: ifort -FI -O1 -xHost -fp-speculation=strict -fp-model strict -fPIC -fPIC -O1 -xHost -fp-speculation=strict -fp-model strict -fPIC -fp-model strict -O1 -qopenmp
E creating /tmp/eb-cilb4hhf/tmp681_dbqz/tmp/eb-cilb4hhf/tmpqk_ozfua
E compile options: '-I/tmp/eb-cilb4hhf/tmp681_dbqz/src.linux-x86_64-3.9 -I/tmp/eb-cilb4hhf/tmp_xo1u4mh/lib/python3.9/site-packages/numpy/core/include -I/project/boegelbot/Rocky8/haswell/software/Python/3.9.5-GCCcore-10.3.0/include/python3.9 -c'
E ifort:f90: /tmp/eb-cilb4hhf/tmpqk_ozfua/tmpts2makj7.f90
E ifort: command line warning #10121: overriding '-xHost' with '-xHost'
E ifort:f90: /tmp/eb-cilb4hhf/tmp681_dbqz/src.linux-x86_64-3.9/_test_ext_module_5407-f2pywrappers2.f90
E ifort: command line warning #10121: overriding '-xHost' with '-xHost'
E /tmp/eb-cilb4hhf/tmp681_dbqz/src.linux-x86_64-3.9/_test_ext_module_5407-f2pywrappers2.f90(12): error #6428: This name has already been used as a dummy procedure name. [F]
E external f
E -------------------^
E /tmp/eb-cilb4hhf/tmp681_dbqz/src.linux-x86_64-3.9/_test_ext_module_5407-f2pywrappers2.f90(23): error #6633: The type of the actual argument differs from the type of the dummy argument. [F]
E gh17797f2pywrap = gh17797(f, y)
E --------------------------------^
E compilation aborted for /tmp/eb-cilb4hhf/tmp681_dbqz/src.linux-x86_64-3.9/_test_ext_module_5407-f2pywrappers2.f90 (code 1)
E error: Command "ifort -FR -O1 -xHost -fp-speculation=strict -fp-model strict -fPIC -fPIC -O1 -xHost -fp-speculation=strict -fp-model strict -fPIC -fp-model strict -O1 -qopenmp -I/tmp/eb-cilb4hhf/tmp681_dbqz/src.linux-x86_64-3.9 -I/tmp/eb-cilb4hhf/tmp_xo1u4mh/lib/python3.9/site-packages/numpy/core/include -I/project/boegelbot/Rocky8/haswell/software/Python/3.9.5-GCCcore-10.3.0/include/python3.9 -c -c /tmp/eb-cilb4hhf/tmp681_dbqz/src.linux-x86_64-3.9/_test_ext_module_5407-f2pywrappers2.f90 -o /tmp/eb-cilb4hhf/tmp681_dbqz/tmp/eb-cilb4hhf/tmp681_dbqz/src.linux-x86_64-3.9/_test_ext_module_5407-f2pywrappers2.o" failed with exit status 1
base = '/tmp/eb-cilb4hhf/tmpqk_ozfua/tmpts2makj7'
cmd = ['/project/boegelbot/Rocky8/haswell/software/Python/3.9.5-GCCcore-10.3.0/bin/python', '-c', "import sys; sys.path = ['...r/lib/python3.9/site-packages']; import numpy.f2py as f2py2e; f2py2e.main()", '-c', '-m', '_test_ext_module_5407', ...]
code = "import sys; sys.path = ['/tmp/eb-cilb4hhf/tmpqk_ozfua', '/tmp/eb-cilb4hhf/tmp_xo1u4mh/lib/python3.9/site-packages', '...t/pytest-0/test_abstract_scalars0/installdir/lib/python3.9/site-packages']; import numpy.f2py as f2py2e; f2py2e.main()"
cwd = '/tmp/boegelbot/SciPybundle/2021.05/intel-2021a/numpy'
d = '/tmp/eb-cilb4hhf/tmpqk_ozfua'
dst = '/tmp/eb-cilb4hhf/tmpqk_ozfua/tmpts2makj7.f90'
dst_sources = ['/tmp/eb-cilb4hhf/tmpqk_ozfua/tmpts2makj7.f90']
err = None
ext = '.f90'
f2py_opts = ['-c', '-m', '_test_ext_module_5407', '/tmp/eb-cilb4hhf/tmpqk_ozfua/tmpts2makj7.f90']
f2py_sources = ['/tmp/eb-cilb4hhf/tmpqk_ozfua/tmpts2makj7.f90']
fn = '/tmp/eb-cilb4hhf/tmpqk_ozfua/tmpts2makj7.f90'
module_name = '_test_ext_module_5407'
only = []
options = []
out = b'running build\nrunning config_cc\nunifing config_cc, config, build_clib, build_ext, build commands --compiler option...qz/tmp/eb-cilb4hhf/tmp681_dbqz/src.linux-x86_64-3.9/_test_ext_module_5407-f2pywrappers2.o" failed with exit status 1\n'
p = <Popen: returncode: 1 args: ['/project/boegelbot/Rocky8/haswell/software/Pyt...>
skip = []
source_files = ['/tmp/eb-cilb4hhf/tmpts2makj7.f90']
/tmp/eb-cilb4hhf/tmp_xo1u4mh/lib/python3.9/site-packages/numpy/f2py/tests/util.py:133: RuntimeError
=================================== FAILURES ===================================
____________________ TestMatrixPower.test_large_power[dt15] ____________________
self = <numpy.linalg.tests.test_linalg.TestMatrixPower object at 0x14f1661c32b0>
dt = dtype('complex256')
def test_large_power(self, dt):
rshft = self.rshft_1.astype(dt)
> assert_equal(
matrix_power(rshft, 2**100 + 2**10 + 2**5 + 0), self.rshft_0)
E AssertionError:
E Arrays are not equal
E
E x and y nan location mismatch:
E x: array([[nan+nanj, nan+nanj, nan+nanj, nan+nanj],
E [nan+nanj, nan+nanj, nan+nanj, nan+nanj],
E [nan+nanj, nan+nanj, nan+nanj, nan+nanj],
E [nan+nanj, nan+nanj, nan+nanj, nan+nanj]], dtype=complex256)
E y: array([[1., 0., 0., 0.],
E [0., 1., 0., 0.],
E [0., 0., 1., 0.],
E [0., 0., 0., 1.]])
dt = dtype('complex256')
rshft = array([[0.+0.j, 0.+0.j, 0.+0.j, 1.+0.j],
[1.+0.j, 0.+0.j, 0.+0.j, 0.+0.j],
[0.+0.j, 1.+0.j, 0.+0.j, 0.+0.j],
[0.+0.j, 0.+0.j, 1.+0.j, 0.+0.j]], dtype=complex256)
self = <numpy.linalg.tests.test_linalg.TestMatrixPower object at 0x14f1661c32b0>
/tmp/eb-cilb4hhf/tmp_xo1u4mh/lib/python3.9/site-packages/numpy/linalg/tests/test_linalg.py:999: AssertionError
_________________ TestNorm_NonSystematic.test_longdouble_norm __________________
self = <numpy.linalg.tests.test_linalg.TestNorm_NonSystematic object at 0x14f165de6d90>
def test_longdouble_norm(self):
# Non-regression test: p-norm of longdouble would previously raise
# UnboundLocalError.
x = np.arange(10, dtype=np.longdouble)
> old_assert_almost_equal(norm(x, ord=3), 12.65, decimal=2)
E AssertionError:
E Arrays are not almost equal to 2 decimals
E ACTUAL: nan
E DESIRED: 12.65
self = <numpy.linalg.tests.test_linalg.TestNorm_NonSystematic object at 0x14f165de6d90>
x = array([0., 1., 2., 3., 4., 5., 6., 7., 8., 9.], dtype=float128)
/tmp/eb-cilb4hhf/tmp_xo1u4mh/lib/python3.9/site-packages/numpy/linalg/tests/test_linalg.py:1513: AssertionError
_________________ TestNorm_NonSystematic.test_complex_high_ord _________________
self = <numpy.linalg.tests.test_linalg.TestNorm_NonSystematic object at 0x14f166172b80>
def test_complex_high_ord(self):
# gh-4156
d = np.empty((2,), dtype=np.clongdouble)
d[0] = 6 + 7j
d[1] = -6 + 7j
res = 11.615898132184
> old_assert_almost_equal(np.linalg.norm(d, ord=3), res, decimal=10)
E AssertionError:
E Arrays are not almost equal to 10 decimals
E ACTUAL: nan
E DESIRED: 11.615898132184
d = array([ 6.+7.j, -6.+7.j], dtype=complex256)
res = 11.615898132184
self = <numpy.linalg.tests.test_linalg.TestNorm_NonSystematic object at 0x14f166172b80>
/tmp/eb-cilb4hhf/tmp_xo1u4mh/lib/python3.9/site-packages/numpy/linalg/tests/test_linalg.py:1527: AssertionError
=============================== warnings summary ===============================
../../../../../../project/boegelbot/Rocky8/haswell/software/Python/3.9.5-GCCcore-10.3.0/lib/python3.9/site-packages/nose/importer.py:12
/project/boegelbot/Rocky8/haswell/software/Python/3.9.5-GCCcore-10.3.0/lib/python3.9/site-packages/nose/importer.py:12: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
from imp import find_module, load_module, acquire_lock, release_lock
lib/tests/test_twodim_base.py::test_tril_triu_ndim2
/tmp/eb-cilb4hhf/tmp_xo1u4mh/lib/python3.9/site-packages/numpy/testing/_private/utils.py:770: RuntimeWarning: invalid value encountered in equal
func=lambda xy: xy == +inf,
linalg/tests/test_linalg.py::TestMatrixPower::test_large_power[dt15]
/tmp/eb-cilb4hhf/tmp_xo1u4mh/lib/python3.9/site-packages/numpy/linalg/linalg.py:661: RuntimeWarning: invalid value encountered in matmul
z = a if z is None else fmatmul(z, z)
linalg/tests/test_linalg.py::TestNorm_NonSystematic::test_longdouble_norm
/tmp/eb-cilb4hhf/tmp_xo1u4mh/lib/python3.9/site-packages/numpy/linalg/linalg.py:2567: RuntimeWarning: invalid value encountered in power
absx **= ord
linalg/tests/test_linalg.py::TestNorm_NonSystematic::test_longdouble_norm
/tmp/eb-cilb4hhf/tmp_xo1u4mh/lib/python3.9/site-packages/numpy/linalg/linalg.py:2568: RuntimeWarning: invalid value encountered in reduce
ret = add.reduce(absx, axis=axis, keepdims=keepdims)
linalg/tests/test_linalg.py::TestNorm_NonSystematic::test_complex_high_ord
/tmp/eb-cilb4hhf/tmp_xo1u4mh/lib/python3.9/site-packages/numpy/linalg/linalg.py:2569: RuntimeWarning: invalid value encountered in longdouble_scalars
ret **= (1 / ord)
-- Docs: https://docs.pytest.org/en/stable/warnings.html
=========================== short test summary info ============================
FAILED linalg/tests/test_linalg.py::TestMatrixPower::test_large_power[dt15]
FAILED linalg/tests/test_linalg.py::TestNorm_NonSystematic::test_longdouble_norm
FAILED linalg/tests/test_linalg.py::TestNorm_NonSystematic::test_complex_high_ord
ERROR f2py/tests/test_callback.py::TestF90Callback::test_gh17797 - RuntimeErr...
= 3 failed, 12573 passed, 445 skipped, 1208 deselected, 21 xfailed, 6 warnings, 1 error in 206.98s (0:03:26) =
(at easybuild/easybuild-framework/easybuild/tools/run.py:577 in parse_cmd_output)
== 2021-10-20 14:19:06,943 build_log.py:265 INFO ... (took 8 mins 25 secs)
== 2021-10-20 14:19:06,943 build_log.py:265 INFO ... (took 8 mins 30 secs)
== 2021-10-20 14:19:06,943 config.py:635 DEBUG software install path as specified by 'installpath' and 'subdir_software': /project/boegelbot/Rocky8/haswell/software
== 2021-10-20 14:19:06,943 filetools.py:1963 INFO Removing lock /project/boegelbot/Rocky8/haswell/software/.locks/_project_boegelbot_Rocky8_haswell_software_SciPy-bundle_2021.05-intel-2021a.lock...
== 2021-10-20 14:19:06,946 filetools.py:379 INFO Path /project/boegelbot/Rocky8/haswell/software/.locks/_project_boegelbot_Rocky8_haswell_software_SciPy-bundle_2021.05-intel-2021a.lock successfully removed.
== 2021-10-20 14:19:06,946 filetools.py:1967 INFO Lock removed: /project/boegelbot/Rocky8/haswell/software/.locks/_project_boegelbot_Rocky8_haswell_software_SciPy-bundle_2021.05-intel-2021a.lock
== 2021-10-20 14:19:06,946 easyblock.py:3753 WARNING build failed (first 300 chars): cmd "export PYTHONPATH=/tmp/eb-cilb4hhf/tmp_xo1u4mh/lib/python3.9/site-packages:$PYTHONPATH && unset LDFLAGS && cd .. && /project/boegelbot/Rocky8/haswell/software/Python/3.9.5-GCCcore-10.3.0/bin/python -c 'import sys; import numpy; sys.exit(not numpy.test(verbose=2))' " exited with exit code 1 and
== 2021-10-20 14:19:06,946 easyblock.py:307 INFO Closing log for application name SciPy-bundle version 2021.05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment