Build failure with icc 2019u5 on SL7.6 system
lalsuite make fails for -Werror in cs_gamma.c from master on a Xeon Gold system running SL7.6 with icc 2019u5. After patching that, make check fails for lal/swig FFT.
$ git config --get remote.origin.url git@git.ligo.org:lscsoft/lalsuite.git $ git show commit 5be8b4b25c7f9c21cf78edb13a1073937f3e7983 (HEAD -> master, origin/master, origin/HEAD) Merge: a946128ea2 92995270fd $ cat /etc/redhat-release Scientific Linux release 7.6 (Nitrogen) $ lscpu | grep name Model name: Intel(R) Xeon(R) Gold 6136 CPU @ 3.00GHz $ icc -v icc version 19.0.5.281 (gcc version 4.8.5 compatibility) # The following all succeed, $ ./00boot $ env CC=icc ./configure
However, the following fails,
$ make -j make[7]: Entering directory `/dev/shm/anderson/lalsuite/lalburst/python/lalburst' CC cs_gamma_la-cs_gamma.lo In file included from /ldcg/intel/2019u5/intelpython3/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h(12), from /ldcg/intel/2019u5/intelpython3/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h(4), from cs_gamma.c(35): /ldcg/intel/2019u5/intelpython3/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h(84): error #2650: attributes ignored here NPY_CHAR NPY_ATTR_DEPRECATE("Use NPY_STRING"), ^ compilation aborted for cs_gamma.c (code 2) make[7]: *** [cs_gamma_la-cs_gamma.lo] Error 1 make[7]: Leaving directory `/dev/shm/anderson/lalsuite/lalburst/python/lalburst' make[6]: *** [all] Error 2 make[6]: Leaving directory `/dev/shm/anderson/lalsuite/lalburst/python/lalburst' make[5]: *** [all-recursive] Error 1 make[5]: Leaving directory `/dev/shm/anderson/lalsuite/lalburst/python' make[4]: *** [all] Error 2 make[4]: Leaving directory `/dev/shm/anderson/lalsuite/lalburst/python' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/dev/shm/anderson/lalsuite/lalburst' make[2]: *** [all] Error 2 make[2]: Leaving directory `/dev/shm/anderson/lalsuite/lalburst' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/dev/shm/anderson/lalsuite' make: *** [all] Error 2
The above warning appears several times previously, but is treated as just a warning until cs_gamma.c, and that file compiles if I manually remove -Werror from lalsuite/lalburst/python/lalburst/Makefile. And then the rest of lalsuite builds.
However, "make -j check" fails early on at,
============================================================================ Testsuite summary for LAL 6.20.2.1 ============================================================================ # TOTAL: 1 # PASS: 0 # SKIP: 0 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 ============================================================================ See swig/test-suite.log Please report to lal-discuss@ligo.org ============================================================================ make[7]: *** [test-suite.log] Error 1 make[7]: Leaving directory `/dev/shm/anderson/lalsuite/lal/swig' make[6]: *** [check-TESTS] Error 2 make[6]: Leaving directory `/dev/shm/anderson/lalsuite/lal/swig' make[5]: *** [check-am] Error 2 make[5]: Leaving directory `/dev/shm/anderson/lalsuite/lal/swig' make[4]: *** [check] Error 2 make[4]: Leaving directory `/dev/shm/anderson/lalsuite/lal/swig' make[3]: *** [check-recursive] Error 1 make[3]: Leaving directory `/dev/shm/anderson/lalsuite/lal' make[2]: *** [check] Error 2 make[2]: Leaving directory `/dev/shm/anderson/lalsuite/lal' make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory `/dev/shm/anderson/lalsuite' make: *** [check] Error 2 $ tail lal/swig/test-suite.log PASSED input views of numeric array structs (type safety) check FFT functions with input views ... XLAL Error - XLALCreateREAL4FFTPlan (RealFFT_source.c:120): Generic failure XLAL Error - XLALCreateForwardREAL4FFTPlan (RealFFT_source.c:136): Internal function call failed: Generic failure Traceback (most recent call last): File "./SWIGTestLALPython.py", line 917, in plan = lal.CreateForwardREAL4FFTPlan(len(r4in), 0) RuntimeError: Internal function call failed: Generic failure FAIL SWIGTestLALPython.py (exit status: 1)